aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Cyrus <[email protected]>2022-10-01 12:18:00 -0700
committerMorgan Cyrus <[email protected]>2022-10-01 12:18:00 -0700
commit1cc1df9b5498ae1c7e075a69f66c6cbfc7b3261b (patch)
tree584bb892eef9e217efa6ca5b04080f44fdeeb809
parentChand std::cout to cout (diff)
downloadcst116-lab0-cyrus-1cc1df9b5498ae1c7e075a69f66c6cbfc7b3261b.tar.xz
cst116-lab0-cyrus-1cc1df9b5498ae1c7e075a69f66c6cbfc7b3261b.zip
replace \n with endl
-rw-r--r--CST116-BlankConsole/CST116-BlankConsole.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp
index 23b6c87..75218a4 100644
--- a/CST116-BlankConsole/CST116-BlankConsole.cpp
+++ b/CST116-BlankConsole/CST116-BlankConsole.cpp
@@ -7,10 +7,12 @@
using std::cout;
using std::cin;
+using std::endl;
+
int main()
{
- cout << "Hello World!\n";
+ cout << "Hello World!" << endl;
}
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu