Skip to content

Codecademy/learn-cpp

Repository files navigation

Learn C++

Curriculum Developer: Sonny Li (sonny@codecademy.com) alt text alt text

Curriculum Developer: Mariel Frank (mariel@codecademy.com) alt text alt text

Artwork: Jared Langel

Course Link

https://www.codecademy.com/learn/learn-c-plus-plus

Textbook

Programming Principles and Practice Using C++ (Bjarne Stroustrup)

1. Hello World

$ g++ hello.cpp -o hello
$ ./hello

Block Letters:

2. Variables

Dog Years:

Quadratic Formula:

Piggy Bank:

3. Conditionals & Logic

Magic 8-Ball:

Harry Potter Sorting Hat:

Rock Paper Scissors Lizard Spock:

4. Loops

Fizz Buzz:

5. Vectors

Whale Talk:

6. Functions

UFO:

7. Classes & Objects

The Object of Your Affection:

8. References & Pointers

  • pointers.cpp

Bleep:


Cheatsheets

  1. Hello World
  2. Variables
  3. Conditionals & Logic
  4. Loops
  5. Vectors
  6. Functions
  7. Classes & Objects
  8. References & Pointers

Talking C++

  1. Talking C++: Interview with Simon Brand
  2. Talking C++: Interview with Bjarne Stroustroup

Community Challenge

Style Guides

Hall of Fame

  • TBA

Black Jack

Contribution Guidelines

We'd love to have you contribute!

Please note that this project is released with a Contributor Covenant. By participating in this project you agree to abide by its terms.