Coursework for the CS-102: Introduction to Computer Programming Using C++ Class.
Before you go any further, please read the repository's license. If there is anything I want you to take away from reading the license, it should be this.
please DO NOT copy my work — it will do nothing more than harm you in the long run. Simply put, it is not the right way to learn how to code.
This repository has my complete coursework for the CS-102: Introduction to Computer Programming Using C++, including all of my notes, code, homework, and classwork. It is divided into 9 folders; 8 are for the different chapters that we covered in this class, and 1 is for material pertaining to the course final. Only my written code and responses in this repository belong to me; all the other materials are created by and belong to my instructor and the textbook. If you want to take a look at the semester project I worked on for this class with my group, Ultimate Tic Tac Toe, you may do so here.
Here is a quick guide to the folders of this repository. If you are looking for a specific file, this should help.
- 01. Introduction: What is Programming, The Anatomy of a Computer, Machine Code and Programming Languages, Becoming Familiar with Your Programming Environment, Analyzing Your First Program, and Errors.
- 02. Fundamental Data Types: Variables, Arithmetic, Input and Output, and Strings.
- 03. Decisions: The
if
Statement, Comparing Numbers and Strings, Multiple Alternatives, Nested Branches, Boolean Variables and Operators, and Input Validation. - 04. Loops: The
while
Loop, Thefor
Loop, Thedo
Loop, Processing Input, Common Loop Algorithms, Nested Loops, and Random Numbers and Simulations. - 05. Functions: Functions as Black Boxes, Implementing Functions, Parameter Passing, Return Values, Functions without Return Values, Variable Scope and Global Variables, Reference Parameters, and Recursive Functions.
- 06. Arrays and Vectors: Arrays, Common Array Algorithms, Arrays and Functions, Two-Dimensional Arrays, and Vectors.
- 07. Pointers: Defining and Using Pointers, Arrays and Pointers, C and C++ Strings, Dynamic Memory Allocation, Arrays and Vectors of Pointers, and Structures and Pointers.
- 08. Streams: Reading and Writing Text Files, Reading Text Input, Writing Text Output, String Streams, Command Line Arguments, and Random Access Binary Files.
- Final: Material pertaining to the course final.
I used different emojis to label my commits in order to classify my files and make them easier to find. Here is a guide to them and what they signify.
- 📄 - Class Files: Presentations, Review Notes, and Study Guides.
- 📓 - Notes: Class Notes, Review Notes, and Study Guide Notes.
- 📝 - Written Assignments: Written Homework and In-Class Assignments.
- 💻 - Programming Assignments: Programming Homework.
- 🖥 - Other Programming Assignments: In-Class Programming Assignments, Code from the Textbook, and Other Code.
- ⚖ - Pertains to LICENSE.md.
- ✍ - Pertains to README.md.
- 💣 - Deleting Files.