PDA

View Full Version : Why we use iostream.h in our program?



Xpert
04-24-2011, 02:04 AM
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.