From ea97e938682dd52f82c5d7677ee42272187df88b Mon Sep 17 00:00:00 2001 From: DoolyBoi Date: Thu, 29 Sep 2022 15:00:41 -0700 Subject: added using statement and reaplaced the unessicary std statement in the print function --- CST116-BlankConsole/CST116-BlankConsole.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index 55d3417..a10244f 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -9,9 +9,12 @@ Debugging #include +using std::cout; +using std::endl; + int main() { - std::cout << "Hello World!\n"; + cout << "Hello World!" << endl; } // Run program: Ctrl + F5 or Debug > Start Without Debugging menu -- cgit v1.2.3