diff options
| author | Hannah Wu <[email protected]> | 2022-10-04 22:51:28 -0700 |
|---|---|---|
| committer | Hannah Wu <[email protected]> | 2022-10-04 22:51:28 -0700 |
| commit | 92ddb5252298c51db38e6c053ae4797b536e6989 (patch) | |
| tree | d3ca9d5c6df18c84dda200ee71b12008a055c361 /CST116-BlankConsole | |
| parent | Added using statements. Changed cout statement. (diff) | |
| download | cst116-lab0-wu-92ddb5252298c51db38e6c053ae4797b536e6989.tar.xz cst116-lab0-wu-92ddb5252298c51db38e6c053ae4797b536e6989.zip | |
Added using statements, changed cout statement, replaced /n
Diffstat (limited to 'CST116-BlankConsole')
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index f52b208..e34efa5 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -1,13 +1,17 @@ // CST116-BlankConsole.cpp : This file contains the 'main' function. Program execution begins and ends there.
-//
+//Hannah Wu CST116 Lab0: Debugging
#include <iostream>
+using std::cout;
+using std::endl;
int main()
{
- std::cout << "Hello World!\n";
+ cout << "My name is Hannah Wu and my GitHub is HJCST" << endl;
+
}
+
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
|