Learning C++ (2021)
2h 48mBeginner2021-09-21
Authors

Eduardo Corpeño
Electrical Engineer, Computer Programmer, and Teacher for 15+ years
Course details
C++ is one of the most powerful and widely used programming languages of all time. It is also one of the oldest programming languages in use today. In this course, learn the basic elements of this object-oriented programming language that moves the world. Instructor Eduardo Corpeño begins with setting up the development environment and introducing the basic elements of object-oriented programming. Eduardo covers data types such as variables, expressions, assignments, constants, and more. He explains structures, classes, pointers, vectors, and so on. After stepping through the control flow process and a variety of useful functions, Eduardo finishes up with detailed information on opening and working with files.
Skills covered
C++LearningProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Get up and running with C++
- 02 - What you should know
- 03 - About the exercise files
1. Getting Started
- 04 - Setting up the development environment
- 05 - Elements of object-oriented programming
- 06 - Creating a simple program in C++
- 07 - Challenge - Console interaction
- 08 - Solution - Console interaction
2. Data Types
- 09 - Basic data types
- 10 - Variables
- 11 - Expressions, assignments, and operations
- 12 - Type inference with auto
- 13 - Preprocessor directives
- 14 - Constants
- 15 - Arrays
- 16 - Strings
- 17 - Type casting
- 18 - Challenge - Calculate an average
- 19 - Solution - Calculate an average
3. Structures, Classes, and Pointers
- 20 - Structures
- 21 - Classes
- 22 - Header and implementation files
- 23 - Pointers
- 24 - References
- 25 - Vectors
- 26 - Challenge - Create some classes
- 27 - Solution - Create some classes
4. Control Flow
- 28 - If statements
- 29 - Switch statements
- 30 - While loops
- 31 - For loops
- 32 - Challenge - Calculate GPA from a vector
- 33 - Solution - Calculate GPA from a vector
5. Functions
- 34 - Creating functions
- 35 - Using functions
- 36 - Function parameters
- 37 - Challenge - Create a report card function
- 38 - Solution - Create a report card function
6. File I O
- 39 - Opening a text file for reading
- 40 - Open a text file for writing
- 41 - Challenge - Upgrade to work with files
- 42 - Solution - Upgrade to work with files
Conclusion
- 43 - Next steps