Codédex | Learn C++
C++
Learn C++ and master object-oriented programming and data structures!
Time to complete: 22h
+91.2K learners
Hello World
Learn how to write your first line of C++ by outputting messages to the terminal.
Exercise 1
The Program
Start
Exercise 2
Howdy
Exercise 3
See Ya Later Alligator
Exercise 4
Ouija Board
Exercise 5
Sign Bunny
Bonus Article
Complete chapter to unlock
Variables
Create variables and learn about data types, arithmetic operators, and user input.
Exercise 6
Data Types
Start
Exercise 7
Declaration of Independence
Exercise 8
IPO
Exercise 9
Temperature
Exercise 10
Knighthood
Exercise 11
MoM
Exercise 12
Cat Years
Conditionals
Use logical operators to control the order of program execution.
Exercise 13
Coin Flip
Start
Exercise 14
Fever
Exercise 15
Levels and Ranks
Exercise 16
Fortune Cookie
Exercise 17
Voting
Exercise 18
Trivia Quiz
Loops
Repeat a block of code with while loops and for loops over, and over, and over again.
Exercise 19
Enter PIN
Start
Exercise 20
Guess the Number
Exercise 21
Counting Sheep
Exercise 22
99 Bottles
Exercise 23
Fizz Buzz
Checkpoint Project
Practice your C++ chops with a checkpoint project! Choose from one of three projects and submit your code when you're done. Your project is reviewed by a mentor when you request a course certificate.
Choose a Project
Vectors
Store and manage dynamic lists of data with C++ vectors.
Exercise 24
Survival Gear
Start
Exercise 25
Lemonade Stand
Exercise 26
Order Cart
Exercise 27
Roadtrip Playlist
Exercise 28
Sum of Even / Product of Odd
Bonus Article
Complete chapter to unlock
Functions
Break down code into reusable blocks with C++ functions.
Exercise 29
D.R.Y.
Start
Exercise 30
Food Menu
Exercise 31
OOO
Exercise 32
Conversions
Exercise 33
Tips Calculator
Bonus Article
Complete chapter to unlock
Classes & Objects
Create your own types and use them to model everyday objects with unique characteristics and behaviors.
Exercise 34
Restaurants
Start
Exercise 35
Peter Luger Steak House
Exercise 36
Old Money / New Money
Exercise 37
Bank Accounts
Exercise 38
Classic Cars
Exercise 39
Animal Rescue
Pointers & References
Learn about memory addresses, pointers, and references in C++.
Exercise 40
Memories
Start
Exercise 41
A Few Pointers
Exercise 42
Dereference
Exercise 43
Nullptr
Exercise 44
Celebrity Names
Exercise 45
Healing Potion
Exercise 46
The End
Final Project
Complete all exercises to unlock the Final Project
Ready to start building? Use the skills you've gained throughout the course to build out a fully-fledged C++ project! Final Project
Course Certificate
Finished with this course? Request a certificate to celebrate your hard work! To be eligible to request a certificate, make sure you submit the following project(s) and have them reviewed by a code mentor.
Requirements
- Checkpoint Project submitted
- Final Project submitted
Request Certificate