diff options
| author | Trenton Stark <[email protected]> | 2022-10-01 11:39:24 -0700 |
|---|---|---|
| committer | Trenton Stark <[email protected]> | 2022-10-01 11:39:24 -0700 |
| commit | 78fa6df3c4cde3b54a1ccf30c51355a8fe93c935 (patch) | |
| tree | 3d560ae97852e2bcce418aaccd6aaa39e1cd70a8 | |
| parent | Added a test file (diff) | |
| download | cst116-lab0-starktre-78fa6df3c4cde3b54a1ccf30c51355a8fe93c935.tar.xz cst116-lab0-starktre-78fa6df3c4cde3b54a1ccf30c51355a8fe93c935.zip | |
Added preprocessors and removed the test text file
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.cpp | 20 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.vcxproj | 3 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters | 5 | ||||
| -rw-r--r-- | CST116-BlankConsole/Text.txt | 1 |
4 files changed, 4 insertions, 25 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index f52b208..ccce709 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -1,20 +1,8 @@ -// CST116-BlankConsole.cpp : This file contains the 'main' function. Program execution begins and ends there.
-//
-
#include <iostream>
+using std::cout;
+using std::endl;
int main()
{
- std::cout << "Hello World!\n";
-}
-
-// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
-// Debug program: F5 or Debug > Start Debugging menu
-
-// Tips for Getting Started:
-// 1. Use the Solution Explorer window to add/manage files
-// 2. Use the Team Explorer window to connect to source control
-// 3. Use the Output window to see build output and other messages
-// 4. Use the Error List window to view errors
-// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
-// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
+ cout << "Hello World!" << endl;
+}
\ No newline at end of file diff --git a/CST116-BlankConsole/CST116-BlankConsole.vcxproj b/CST116-BlankConsole/CST116-BlankConsole.vcxproj index d3358bc..a0056fb 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.vcxproj +++ b/CST116-BlankConsole/CST116-BlankConsole.vcxproj @@ -129,9 +129,6 @@ <ItemGroup>
<ClCompile Include="CST116-BlankConsole.cpp" />
</ItemGroup>
- <ItemGroup>
- <Text Include="Text.txt" />
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters b/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters index 874722f..08906aa 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters +++ b/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters @@ -19,9 +19,4 @@ <Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
- <ItemGroup>
- <Text Include="Text.txt">
- <Filter>Source Files</Filter>
- </Text>
- </ItemGroup>
</Project>
\ No newline at end of file diff --git a/CST116-BlankConsole/Text.txt b/CST116-BlankConsole/Text.txt deleted file mode 100644 index 30d74d2..0000000 --- a/CST116-BlankConsole/Text.txt +++ /dev/null @@ -1 +0,0 @@ -test
\ No newline at end of file |