summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNami-Doc <vendethiel@hotmail.fr>2014-09-13 15:11:07 +0200
committerNami-Doc <vendethiel@hotmail.fr>2014-09-13 15:11:07 +0200
commit032557dc46b4776e68d689b6a7344bf8bcfec65c (patch)
tree19e46f2cf8d633d0cd8bbf1950bd92af17c6ffd9
parent83c96939020bca64fe4f25c676c6bc479dad52f5 (diff)
parent39b7ae4d188c0cc366db17558d3fdd42941df25f (diff)
Merge pull request #763 from AJIADb9/patch-1
Added missing ";"
-rw-r--r--c++.html.markdown6
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";
}