Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why we use iostream.h in our program?
#1
iostream stands for input/output stream. It is a header file which we include in our programs to perform basic input output operations. For example, we use cin in program to get input from the keyboard and cout to print the information on the output screen. To use cin and cout, we must add iosream.h header file. If we use cin and cout without including iostream.h header file in our program then compiler wil generate syntax errors.


Hopefully, It is clear to you now.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  c++ program on unix varup 0 7,585 10-10-2012, 06:16 PM
Last Post: varup
  i take input from getchar(); function in program in C++ 2012 Vuhelper 0 2,998 05-31-2012, 01:40 AM
Last Post: Vuhelper
  program Output in C++ 2012 Vuhelper 0 2,961 01-06-2012, 12:28 AM
Last Post: Vuhelper
  For running C++ program from command prompt “gcc” and “g++” compilers are used. Vuhelper 0 6,391 01-04-2012, 10:41 PM
Last Post: Vuhelper
  Function (Retrun push)for what purpose use in the program. ? Vuhelper 0 1,861 11-05-2011, 05:03 PM
Last Post: Vuhelper
  In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31, from C:\Do sana.pari 2 3,553 11-02-2011, 03:02 AM
Last Post: baig66
  C++ Help with Template class program 2011 Vuhelper 0 823 07-23-2011, 05:40 PM
Last Post: Vuhelper
  A simple pthread program runtime error in c++ 2011 Vuhelper 0 899 07-23-2011, 05:39 PM
Last Post: Vuhelper
  Problem with the complexity of the program 2011 Vuhelper 0 734 07-06-2011, 06:19 PM
Last Post: Vuhelper
  Write a calculator program using a do-while loop in c++ 2011 Vuhelper 0 2,773 06-27-2011, 06:41 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)