Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning C++

via LinkedIn Learning


Explore introductory C++ language programming with simple language and up-to-date code examples.


  • Get up and running with C++
  • What you should know
  • About the exercise files
1. Getting Started
  • Setting up the development environment
  • Elements of object-oriented programming
  • Creating a simple program in C++
  • Challenge: Console interaction
  • Solution: Console interaction
2. Data Types
  • Basic data types
  • Variables
  • Expressions, assignments, and operations
  • Type inference with auto
  • Preprocessor directives
  • Constants
  • Arrays
  • Strings
  • Type casting
  • Challenge: Calculate an average
  • Solution: Calculate an average
3. Structures, Classes, and Pointers
  • Structures
  • Classes
  • Header and implementation files
  • Pointers
  • References
  • Vectors
  • Challenge: Create some classes
  • Solution: Create some classes
4. Control Flow
  • If statements
  • Switch statements
  • While loops
  • For loops
  • Challenge: Calculate GPA from a vector
  • Solution: Calculate GPA from a vector
5. Functions
  • Creating functions
  • Using functions
  • Function parameters
  • Challenge: Create a report card function
  • Solution: Create a report card function
6. File I/O
  • Opening a text file for reading
  • Open a text file for writing
  • Challenge: Upgrade to work with files
  • Solution: Upgrade to work with files
  • Next steps

Taught by

Eduardo Corpeño


Start your review of Learning C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.