mechanism of compiler actions is not clear for me - if we in any vatiant won't have same parts of including in final .exe - why we need #ifndef (yes - "if not") guards ?
you help me so much - but to don't spend your time - i understand know that i need to read something about compiler and preprocessor actions - some article may be....
to have one including in one source - we simply should once write = #include something.h
so - guards is needed for the final - result file.....as I know think by my not so clever head without deep knowledge.....))
The compiler converts textual source code into machine code in objects... each object cones from one source page.
At this point there is no more source code. It's all machine language.
The linker then comes along and combines ojects to make the executable.
Absolutely none of the textual source code makes it into the executable.
You need the include guards so that a header file, included in another header file... per my example... is not read twice causing the compiler to think you're redefining stuff you've already defined.
The best way for you to "get it"... is to open a .obj and a .exe file in POIDE and have a look.