Good day.
The background is as follows: I study C ++ from the book Lafore, and there are a lot of examples using the conio.h library. As I understand it, this library is not standard. I read somewhere that the best analog is the library ncurses.h. I managed to “weld” the executable file with long poking, poking and incomprehensible spells, but I really didn’t understand what was going on, and I don’t like to type incomprehensible spells into the console. Please explain in human language what happens when I enter something like this into the console:
g++ someSource.cpp What works first: preprocessor or linker? How to point the linker to its own folder with libraries (somewhere in the home folder, for example)? Where, for example, is prescribed for gcc, where to drop compiled files? In general, what happens when I ask the system to compile the source?