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

11th Nov 2021, 5:29 AM
Pawel
4 Réponses
+ 2
Pawel in any case C++ Standard Library Reference: https://en.cppreference.com/w/cpp/header is your friend 🎯
12th Nov 2021, 11:45 AM
Ilyas Bakirov
Ilyas Bakirov - avatar
+ 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.....
11th Nov 2021, 5:38 AM
Pihu ( Not Active )
+ 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.
11th Nov 2021, 5:55 PM
Ilyas Bakirov
Ilyas Bakirov - avatar
+ 1
iostream, fstream, string.h, math.h and mainly other c header files is what you must learn at a minimum for c++
12th Nov 2021, 4:18 AM
Maanvi Bhagat
Maanvi Bhagat - avatar