What are the standard C++ libraries and is there a chart of them with descriptions of what they let us do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What are the standard C++ libraries and is there a chart of them with descriptions of what they let us do?

In the C++ lessons we learn about some "standard libraries" C++ has. We include them in our source code. Where do these library files exist? What is the structure where these files are placed called? Is there a resource that lets us know what the standard libraries let us do? Ever since I learnt about C++ this part of it seems to never be explained, lessons are always focused on the coding aspect but there is always little said about what's "under the hood" of C++.

22nd Jan 2019, 7:09 AM
Nathan Stanley
Nathan Stanley - avatar
2 Answers
+ 8
The official documentation is your best friend. https://en.cppreference.com/w/cpp/header As for where these files exist, they are specific to the platform. Linux/Unix-based systems, for example: /usr/local/include. For Windows, the headers do not come preinstalled, but rather with a compiler, so the exact location depends on where the compiler is installed on the filesystem.
22nd Jan 2019, 7:42 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
105 STL algorithms in 1 hour, must watch! https://youtu.be/bXkWuUe9V2I
22nd Jan 2019, 7:51 AM
bedawang
bedawang - avatar