From e3474ee2e64ec4bf26551640ed9928ddc070394c Mon Sep 17 00:00:00 2001 From: Lloyd Crawford Date: Sun, 2 Oct 2022 18:31:46 -0700 Subject: Here I did the Lab 0 work all the way to step 15. --- .../CST116-Lab0-Crawford-pseudo code.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt (limited to 'CST116-BlankConsole/CST116-Lab0-Crawford-pseudo code.txt') 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 +#include "CST116-BlankConsole.h" +using std::cout; +using std::endl; + +* Lines 5 through 8 are to start the coding and set parameters. Without #include +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 -- cgit v1.2.3