diff options
| author | Lloyd Crawford <Lloyd Crawford@LAPTOP-7HJCDLE5> | 2022-10-02 18:31:46 -0700 |
|---|---|---|
| committer | Lloyd Crawford <Lloyd Crawford@LAPTOP-7HJCDLE5> | 2022-10-02 18:31:46 -0700 |
| commit | e3474ee2e64ec4bf26551640ed9928ddc070394c (patch) | |
| tree | 87f4c0f8d121a44e0ee9391589f7d90a3043ff05 | |
| parent | CST 116-Lab0-Crawford (diff) | |
| download | cst116-lab0-19-ruin-main.tar.xz cst116-lab0-19-ruin-main.zip | |
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.cpp | 11 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.h | 0 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.vcxproj | 4 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters | 5 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt | 37 | ||||
| -rw-r--r-- | CST116-BlankConsole/CST116-Lab0-Crawford.txt | 7 | ||||
| -rw-r--r-- | CST116-BlankConsole/Checklist.txt | 13 |
7 files changed, 75 insertions, 2 deletions
diff --git a/CST116-BlankConsole/CST116-BlankConsole.cpp b/CST116-BlankConsole/CST116-BlankConsole.cpp index f52b208..915f1be 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.cpp +++ b/CST116-BlankConsole/CST116-BlankConsole.cpp @@ -1,11 +1,18 @@ // CST116-BlankConsole.cpp : This file contains the 'main' function. Program execution begins and ends there.
-//
+// Lloyd Crawford, CST 116 02, Lab0, IDE, Simple Program, Github
+
#include <iostream>
+#include "CST116-BlankConsole.h"
+using std::cout;
+using std::endl;
int main()
{
- std::cout << "Hello World!\n";
+ cout << "Hello World!" << endl;
+ cout << "Hello I am Lloyd Crawford!" << endl;
+ cout << "My Github is 19-Ruin" << endl;
+
}
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
diff --git a/CST116-BlankConsole/CST116-BlankConsole.h b/CST116-BlankConsole/CST116-BlankConsole.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/CST116-BlankConsole/CST116-BlankConsole.h diff --git a/CST116-BlankConsole/CST116-BlankConsole.vcxproj b/CST116-BlankConsole/CST116-BlankConsole.vcxproj index a0056fb..22c5e18 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.vcxproj +++ b/CST116-BlankConsole/CST116-BlankConsole.vcxproj @@ -24,6 +24,7 @@ <ProjectGuid>{369d37de-a099-4925-8283-6b7bf55736f9}</ProjectGuid>
<RootNamespace>CST116BlankConsole</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+ <ProjectName>CST116-Lab0-Crawford</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -129,6 +130,9 @@ <ItemGroup>
<ClCompile Include="CST116-BlankConsole.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="CST116-BlankConsole.h" />
+ </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 08906aa..819c16b 100644 --- a/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters +++ b/CST116-BlankConsole/CST116-BlankConsole.vcxproj.filters @@ -19,4 +19,9 @@ <Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="CST116-BlankConsole.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
</Project>
\ No newline at end of file diff --git a/CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt b/CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt new file mode 100644 index 0000000..b716c90 --- /dev/null +++ b/CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt @@ -0,0 +1,37 @@ +// CST116-BlankConsole.cpp : This file contains the 'main' function. Program execution begins and ends there. +// Lloyd Crawford, CST 116 02, Lab0, IDE, Simple Program, Github +* 1 & 2 are to explain to the user who wrote this program and offer an indroduction. Line 2 is all the previous user's information. + +#include <iostream> +#include "CST116-BlankConsole.h" +using std::cout; +using std::endl; + +* Lines 5 through 8 are to start the coding and set parameters. Without #include <iostream> +and #include "CST116-BlankConsole.h", you get multiple error codes. They are not pretty. Same can be said for the other two lines. + +int main() +{ + cout << "Hello World!" << endl; + cout << "Hello I am Lloyd Crawford!" << endl; + cout << "My Github is 19-Ruin" << endl; + +} + +* This is the main coarse. int main() is the intro and required for the code to work. +{} you need these brackets in order to set the limits of what is being said by the program. now writing with cout is telling the program +"Pay attention, the next thing is what you say!". Then to make sure there are no extra errors you add << blah blah blah << +The left facing arrows are the beginning and end of the message, like saying stop when using morse code since the period didnt exist. + +// 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 + +*This final section is any useful tips a user might need. Sometimes more is better.
\ No newline at end of file diff --git a/CST116-BlankConsole/CST116-Lab0-Crawford.txt b/CST116-BlankConsole/CST116-Lab0-Crawford.txt new file mode 100644 index 0000000..977702f --- /dev/null +++ b/CST116-BlankConsole/CST116-Lab0-Crawford.txt @@ -0,0 +1,7 @@ +Hello World! +Hello I am Lloyd Crawford! +My Github is 19-Ruin + +C:\Users\Lloyd Crawford\Source\Repos\cst116-lab0-19-Ruin1\CST116-BlankConsole\x64\Debug\CST116-Lab0-Crawford.exe (process 9880) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . .
\ No newline at end of file diff --git a/CST116-BlankConsole/Checklist.txt b/CST116-BlankConsole/Checklist.txt new file mode 100644 index 0000000..e5ba233 --- /dev/null +++ b/CST116-BlankConsole/Checklist.txt @@ -0,0 +1,13 @@ +How to push an assignment! By Lloyd Crawford. Narrated by Bruce Cambell as Ash Williams in Army of Darkness. +Step 1. First you start by going to the tab called "git", no not an unpleasant person, git is a program. +- the git tab is between View and Project. You click on that, scroll dow until you see commit or stash. +- Your work will show up on the side where solution explorer is in a small window. In that window you can make comments on what +- you did and how you did it. This is your best friend for coding, don't forget to do this, like paying the electric bill! +Step 2. Make some comments on your work, not your life story, your work! +Step 3. Under the comment window you will see a button called commit all. You click on this. +Step 4. From here you will then click on an arrow pointing up like a tree, this means PUSH! This is how you push +- the document to Github. +Step 5. Give it time to upload and verify. +Step 6. Profit!!! +Step 8. .....seriously thats it, your done...go away.....shooo! Go bother another hero....don't look at me like that! +....you weere not the one that lost a hand and have it replaced with a chainsaw here! Thats it im leaving.
\ No newline at end of file |