From 1cc1df9b5498ae1c7e075a69f66c6cbfc7b3261b Mon Sep 17 00:00:00 2001 From: Morgan Cyrus Date: Sat, 1 Oct 2022 12:18:00 -0700 Subject: replace \n with endl --- CST116-BlankConsole/CST116-BlankConsole.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3