1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02:00

Merge pull request #763 from AJIADb9/patch-1

Added missing ";"
This commit is contained in:
Nami-Doc
2014-09-13 15:11:07 +02:00

View File

@@ -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";
}