diff options
Diffstat (limited to 'c++.html.markdown')
-rw-r--r-- | c++.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++.html.markdown b/c++.html.markdown index 8cf72e47..7609dd46 100644 --- a/c++.html.markdown +++ b/c++.html.markdown @@ -183,15 +183,15 @@ int main() int myInt; //Prints to stdout (or terminal/screen) - cout << "Enter your fav number:\n" + cout << "Enter your fav number:\n"; //Takes in input cin >> myInt; //cout can also be formatted - cout << "Your fav number is " << myInt << "\n" + cout << "Your fav number is " << myInt << "\n"; //Your fav number is ## - cerr << "Used for error messages" + cerr << "Used for error messages"; } |