diff options
| author | Taylor Rogers <[email protected]> | 2022-10-02 09:28:52 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-10-02 09:28:52 -0700 |
| commit | 80c17b85bfa2bdbd7202aca4ca13822a94c8e87e (patch) | |
| tree | 842aa947a9cbe5519215ef3db7ceda37d43868f5 /CST116-BlankConsole | |
| parent | added using cout/endl and removed /n and std:: from line 11 (diff) | |
| download | cst116-lab0-taylorrog-80c17b85bfa2bdbd7202aca4ca13822a94c8e87e.tar.xz cst116-lab0-taylorrog-80c17b85bfa2bdbd7202aca4ca13822a94c8e87e.zip | |
added using cout/endl and removed /n and std:: from line 11
Diffstat (limited to 'CST116-BlankConsole')
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index f52b208..8336257 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -3,9 +3,12 @@ #include <iostream>
+using std::cout;
+using std::endl;
+
int main()
{
- std::cout << "Hello World!\n";
+ cout << "Hello World!";
}
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
|