Problem Solving with C++

Problem Solving With C++

Authors: Walter Savitch ,julia Lobur
ISBN: 9780321531346
Edition: 7
Chapter: Introduction To Computers And C++ Programming
Exercise: Self-test Exercises
Question: 20


Question by Anonymous on 07 Mar, 2016 at 02:31 PM

What is the meaning of this directive?

#include <iostream>

Answer by Anonymous on 07 Mar, 2016 at 01:07 PM

The #include <iostream> directive tells the compiler to fetch the file


  • This file contains declarations of cin, cout, the insertion (<<)

and extraction (>>) operators for I/O (input and output).

  • This enables correct linking of the object code from the iostream library with the I/O statements in the program.


0 0


Post the discussion improve the above solution.