Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) iostream.h

 

iostream.h is the header file containg the definitions from input and output streams like std::cout and std::cin.

 

 

 

 

 

#include <iostream>

int main()
{
  std::cout << "Hello world" << std::endl;
}

 

 

 

 

 

Advice

 

 

 

 

 

 

References

 

  1. Paul Deitel, Harvey Deitel. C++11 for progrgrammers (2nd edition). 2014. ISBN: 978-0-13-343985-4. Chapter 2.2, Common Programming Error 2.1. page 21: 'Forgetting to include the <iostream> header in a program that inputs data from the keyboard or outputs data to the screen causes the compiler to issue an error message'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict