HomeCoursesLearn C++ from Scratch
Free
4.3

Beginner

10h

Updated this week

Learn C++ from Scratch

This course covers C++ programming from fundamentals to advanced topics like inheritance and templates, exploring loops, functions, and core techniques for a solid beginner-to-intermediate foundation.
Join 2.7 million developers at
Overview
Content
Reviews
Related
Learn C++ for free with this interactive course, and get a hands-on experience of one of the most popular programming languages in the world. You’ll start with a simple “Hello World” program and then move on to core concepts such as conditional statements, loops, and functions in C++. Then, you’ll explore more advanced topics like inheritance, classes, and templates, along with much more. After completing this course, you’ll be an intermediate-level C++ developer, ready to take on your own projects.
Learn C++ for free with this interactive course, and get a hands-on experience of one of the most popular programming languages ...Show More

WHAT YOU'LL LEARN

An understanding of coding structure, syntax, and the compilation process of C++ programs
Knowledge of variables, arrays, and their data types, and pointers for fine-grained memory control
The ability to apply arithmetic operations, type casting, and mathematical functions
Hands-on experience using conditional statements to implement decision-making
The ability to repeat commands using loops and recursion, and apply complex logic using nested loops
Hands-on experience making your code manageable and reusable using functions, templates, and object-oriented programming techniques
An understanding of coding structure, syntax, and the compilation process of C++ programs

Show more

TAKEAWAY SKILLS

C++

Programming Language

Learn to Code

Content

1.

Introduction

4 Lessons

Get familiar with C++ basics, coding structure, compilation, and the cout statement.

2.

Variables and User Input

5 Lessons

Explore the core of variables, data types, user input, and initialization in C++.

3.

Simple Math

5 Lessons

Master the steps for performing arithmetic operations, type casting, using math functions, and solving binomial expressions.

4.

Conditional Statements

8 Lessons

Break down complex ideas in conditional statements, including if, if-else, switch, and ternary operators.

10.

Wrap Up

2 Lessons

Master C++ fundamentals, from syntax to advanced programming concepts and compilation.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Show License and Attributions

Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

AI Prompt

Build prompt engineering skills. Practice implementing AI-informed solutions.

Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Explain with AI

Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.

AI Code Mentor

AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!

Free Resources