In C++, a header file holds forward declarations of identifiers. Here are some of the most common C++ header files that you’ll be using, along with their correct spellings. These aren’t by any means all of them, but they are the most common:
Include
if you’re going to be using the string class. Include
when you want to use cout and cin. Include
when you want to read or write files. Include
if you want advanced manipulator usage in your streams. Include
for general operations, including system(“PAUSE”).