C++ #include libraries | Sololearn: Learn to code for FREE!


C++ #include libraries

Could someone explain to me how to know when to use certain #include statements. I understand that they contain certain commands but when is it better to use one over another?


2/24/2018 1:48:02 AM


1 Answer

New Answer


One is not necessarily better than the other. It is a matter of including a header when you need to use its contents. http://en.cppreference.com/w/cpp/header