The standard input and output:
stream | description |
---|---|
cin |
standard input stream |
cout |
standard output stream |
cerr |
standard error (output) stream |
clog |
standard logging (output) stream |
Here is a little example:
#include <iostream>
using namespace std;
int main()
{
chart a;
cout << “Please write a letter:”;
cin >> x;
cout << “This is your letter:” << x << endl;
return 0;
}
#TC1017 #Mastery10 by Carlos Adrian is licensed under a Creative Commons Attribution 4.0 International License.