Sign up to track your progress
Create an account to save your progress, complete exercises, and earn achievements.
C++ Programming Fundamentals
Learn the fundamentals of C++ programming language through hands-on lessons, exercises, and quizzes.
This course is designed for complete beginners who want to learn C++ programming. You'll start with the basics and gradually build up to more complex concepts. By the end of this course, you'll have a solid foundation in C++ programming and be ready to tackle more advanced topics.
Support Free C++ Education
Help us keep this platform free for everyone! Your support enables us to create more high-quality lessons, exercises, and interactive content.
Course Curriculum
C++ Basics (18 lessons)
Fundamental concepts of C++ programming including syntax, variables, and basic operations.
Welcome to C++
Discover what C++ is, why it's powerful, and why it's worth learning in today's programming landscape.
20 minutes
Your First Program: Hello World!
Write your first C++ program that displays "Hello, World!" to the console.
25 minutes
Comments
Learn to document your code with comments and understand best practices for code documentation.
25 minutes
Basic C++ Errors
Develop the essential skill of reading and interpreting compiler error messages to debug your code effectively.
25 minutes
Statements
Learn the basic structure of statements and the different types of statements.
10 minutes
If Statements
Learn how to make decisions in your programs using if statements and conditions.
20 minutes
Whitespace and Formatting
Understand how whitespace works and how to format your code for maximum readability and maintainability.
25 minutes
C++ Naming Conventions
Learn C++ keywords and best practices for naming variables and identifiers.
25 minutes
Objects and Variables
Understand what objects and variables are, and learn the common data types in C++.
25 minutes
Variable Assignment and Initialization
Learn the difference between assignment and initialization, and how to work with variable values safely.
25 minutes
Undefined Behavior
Understand the dangers of uninitialized variables and learn to avoid undefined behavior.
25 minutes
Literals and Operators
Learn about fixed values (literals) and basic operators for mathematical calculations.
25 minutes
Expressions
Master combining values, variables, and operators to create expressions that produce results.
25 minutes
Iostream: std::cout, std::cin, and std::endl
Learn basic input and output operations using std::cout and std::cin.
25 minutes
Beyond Basic C++ Errors
More examples of errors you may encounter based on the new topics we have covered.
40 minutes
Developing your first program
Walk through the complete process of developing a C++ program from planning to implementation.
25 minutes
C++ Basics summary
Review and test your understanding of all fundamental C++ concepts covered in this chapter.
25 minutes
References (2 resources)
Additional reference materials for this chapter
Essential C++ Terminology
Overview of fundamental C++ concepts and terminology in this chapter.
C++ Error Reference
A comprehensive reference guide for common C++ errors. Use this as a quick lookup when you encounter unfamiliar error messages.
Functions and Files (14 lessons)
Learn to organize your code using functions and multiple files, making your programs more modular and maintainable.
Functions and Files Summary
Review and test your understanding of all function and file concepts covered in this chapter.
25 minutes
References (1 resources)
Additional reference materials for this chapter
Functions and Files Terminology
Overview of function and file concepts you'll learn in this chapter.
Debugging (12 lessons)
Introduction to debugging
Overview of debugging concepts and techniques you'll master in this chapter.
25 minutes
Data Types (14 lessons)
Constants and Strings (11 lessons)
Introduction to constants and strings
Overview of constants and string concepts you'll master in this chapter.
25 minutes
Operators (10 lessons)
Control Flow (17 lessons)
Introduction to control flow
Overview of control flow concepts you'll master in this chapter.
25 minutes
Error Handling (9 lessons)
Introduction to error handling
Overview of error handling concepts you'll master in this chapter.
25 minutes
User-Defined Types (19 lessons)
Introduction to enums and structs
Overview of user-defined type concepts you'll master in this chapter.
25 minutes
Containers (14 lessons)
Introduction to vectors
Overview of vector and container concepts you'll master in this chapter.
25 minutes
Algorithms (5 lessons)
Introduction to iterators and algorithms
Overview of iterator and algorithm concepts you'll master in this chapter.
25 minutes
I/O (10 lessons)
Introduction to input and output
Overview of input and output concepts you'll master in this chapter.
25 minutes