Separate compilation of files in C and C++

In C and C++ a program is kept in many files rather than a single file. The most interesting feature of C and C++ is that there is a separate compilation of files rather than the compilation of the code all at once. The reason behind the separate compilation ids that if you want to change some code then the compiler doesn’t have to compile the whole code, it just complies the one which has been edited. This way for a big program a lot of compilation time is saved.

Leave a Reply