In the world of C/C++, we use headers extensively. The basic rule is that C/CPP files contain code that becomes binaries, and H files contain the interfaces that allow us to reference them in other C files. Any program more complex than a calculator will likely contain multiple C files that are combined into
Ever wondered what the whole #include thing really means? Of course you have.
There are basically three stages that gcc goes through when it compiles your program: precompilation, translation, and linking. At this point, we're interested in that first stage.
The precompiler is the program which reads and organizes your C code for the translator to