+ 1
C++ Header Files
Hi So I started to learn C++ and there are so many header files to learn and my question is which of them are the most important to learn? And I can’t find a simple answer for my question online.
4 ответов
+ 2
Pawel in any case C++ Standard Library Reference: https://en.cppreference.com/w/cpp/header is your friend 🎯
+ 1
Most used and important header file is "iostream".... iostream is used for input and output stream objects . (cout and cin)
Other header files are used according to your code if you want to use string built-in function in your code then you have to use "string.h" header file or for maths function then you have to add "math.h" header file.....
+ 1
Pawel I agree with Pihu ( Not Active ), you don't need to remember all header files of C++ standard library. Mainly you use few of them a lot and other according to your needs. Whenever a new case occurs you look through standard library functions and explore new header files.
+ 1
iostream, fstream, string.h, math.h and mainly other c header files is what you must learn at a minimum for c++