diff options
| -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 b55a764c..4a070d95 100644 --- a/c++.html.markdown +++ b/c++.html.markdown @@ -157,13 +157,13 @@ int main()     int myInt;     // Prints to stdout (or terminal/screen) -   cout << "Enter your fav number:\n"; +   cout << "Enter your favorite number:\n";     // Takes in input     cin >> myInt;     // cout can also be formatted -   cout << "Your fav number is " << myInt << "\n"; -   // Your fav number is ## +   cout << "Your favorite number is " << myInt << "\n"; +   // prints "Your favorite number is <myInt>"      cerr << "Used for error messages";  } | 
