+ 1
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?
1 Answer
+ 8
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