In C++ if stream of bytes flow from a keyboard or hard drive to main memory, then this is known as input operation. If bytes flow from main memory to hard drive or display monitor, then this is called output operation.
in is an object of istream class.
Cout is an object of ostream class.
Cerr is an object of ostream class.
Clog is an object of ostream class.
// Simple example:
# include <iostream.h>
# include <conio.h>
void main ()
{
int a,b,c;
Cout << "Enter two numbers a and b" ;
Cin >> a >> b ;
C = a + b ;
Cout << "Total sum is:" << c ;
}
Others
Languages
Frameworks
Web / Design
Mobile Technology
Sql & Technology
R4R