Home

The Usual C++ Header Files

|
|  Updated:  
2016-03-26 22:09:24
C++ For Dummies
Explore Book
Buy On Amazon

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”).

About This Article

This article is from the book: 

About the book author:

John Paul Mueller is a freelance author and technical editor. He has writing in his blood, having produced 100 books and more than 600 articles to date. The topics range from networking to home security and from database management to heads-down programming. John has provided technical services to both Data Based Advisor and Coast Compute magazines.

Jeff Cogswell has been an application developer and trainer for 18 years, working with clients from startups to Fortune 500 companies. He has developed courses on C++ and other technologies.