+ 7

What is main of iostream, cin,cout, and in C++?

Define elaborate

5th Sep 2017, 9:58 PM
Mohammad Selim
Mohammad Selim - avatar
3 Answers
+ 6
iostream = input-output stream cin = console input cout = console output
5th Sep 2017, 10:32 PM
Daniel de Lizaur
+ 1
cin,cout represent a concept called streams c++ view files as a stream of bytes rather then solid containers cin is istream(stdin) cout is ostream(stdout)
17th Sep 2017, 7:10 PM
Prince Gupta
Prince Gupta - avatar
0
iostream is a header file which can be found in the standard c++ input/output library file. It comes packeged with the compiler and contain mechanisms to get the information from user and print to a screen, a file or any other media. cout represent the standard output stream in c++. It prints the data after "<<" (insertion operator) into the screen. cin is c++ stream object by which program take input from user after ">>" (extraction operator).
21st Sep 2017, 1:36 PM
Abu Raihan
Abu Raihan - avatar