diff options
author | Matt Kline <slavik262@gmail.com> | 2014-10-17 00:03:33 -0700 |
---|---|---|
committer | Matt Kline <slavik262@gmail.com> | 2014-10-17 00:03:33 -0700 |
commit | eadecf8b95eba4afec302c0ab49b0ca0ca921299 (patch) | |
tree | e0b7c2c63181302fbe13866691c60a52cdebeaf6 | |
parent | 8e9d5af1ea5680bbf5f232d5510f35f3c69619c2 (diff) |
Spell out favorite (instead of fav) in C++ doc
-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"; } |