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

+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?

c++

2/24/2018 1:48:02 AM

Alejo95

1 Answer

New 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