Lesson 12: Working With Strings

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include #include using namespace std; int main(){ //"Hello World" //Get strings with spaces //Compare Strings //Show in debugger //"Chars" and strings string str = "", str2 = ""; cout > str; //Breaks on... » read more

Lesson 13: File Input / Output

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include #include #include using namespace std; int main(){ // cout > variable; string fileName = "Text.txt"; string fileName2 = "Text2.txt"; string str = ""; ofstream fout; ifstream fin; int wordCount = 0, lineCount=0;... » read more

Lesson 14: Introduction to Arrays

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include #include using namespace std; int main(){ //What is an array? //An array is a container of like-type variables //An array groups variables together //type name[size]; //Values | 1 | 2 | 3... » read more

Lesson 15: Arrays in Action

[spoiler title=”Lesson Video”] Direct Download of Video (For mobile / offline viewing)(right click > save target as) [/spoiler] [spoiler title=”Lesson Source Code”] #include #include using namespace std; int main(){ //1. Showing how to iterate through a loop again //2. Show how to determine the size of an array //3. Pointer -- "Is the same as... » read more