diff options
| author | Morgan Cyrus <[email protected]> | 2022-10-01 11:59:38 -0700 |
|---|---|---|
| committer | Morgan Cyrus <[email protected]> | 2022-10-01 11:59:38 -0700 |
| commit | 59311e2d229661d06cd7d7b484c8606e80c375f7 (patch) | |
| tree | fd0e7a01456e3c3992c01cd6dfc217dc41de633b | |
| parent | test (diff) | |
| download | cst116-lab0-cyrus-59311e2d229661d06cd7d7b484c8606e80c375f7.tar.xz cst116-lab0-cyrus-59311e2d229661d06cd7d7b484c8606e80c375f7.zip | |
Add “using” statements before the main() function for std::cout and std::endl.
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index bf7aee4..4299da2 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -1,7 +1,11 @@ // CST116-Lab0 repository : This file contains the 'main' function. Program execution begins and ends there.
//
+// Morgan Cyrus, CST116-01P, Lab 0, Using an IDE and GitHub
+
#include <iostream>
+using std::cout;
+using std::cin;
int main()
{
|