learn-cpp icon indicating copy to clipboard operation
learn-cpp copied to clipboard

Codecademy | Learn C++

Learn C++

Curriculum Developer: Sonny Li ([email protected]) alt text alt text

Curriculum Developer: Mariel Frank ([email protected]) 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
  • [x] hello.cpp
  • [x] pattern.cpp
  • [x] letter.cpp
  • [x] spell.cpp

Block Letters:

  • [x] initials.cpp
  • [x] snowman.cpp
  • [x] codecademy.cpp
  • [x] daftpunk.cpp

2. Variables

  • [x] temperature1.cpp
  • [x] temperature2.cpp
  • [x] bmi.cpp

Dog Years:

  • [x] dog_years1.cpp
  • [x] dog_years2.cpp
  • [x] snoop_dog.cpp

Quadratic Formula:

  • [x] quadratic.cpp

Piggy Bank:

  • [x] currency.cpp

3. Conditionals & Logic

  • [x] coinflip.cpp
  • [x] grade.cpp
  • [x] pH.cpp
  • [x] pokedex.cpp
  • [x] space.cpp
  • [x] leap_year.cpp

Magic 8-Ball:

  • [x] magic8.cpp

Harry Potter Sorting Hat:

  • [x] sortinghat.cpp

Rock Paper Scissors Lizard Spock:

  • [x] RPS.cpp
  • [x] RPSLS.cpp
  • [x] RPSLS_if.cpp
  • [x] RPSLS_switch.cpp

4. Loops

  • [x] enter_pin.cpp
  • [x] guess.cpp
  • [x] square.cpp
  • [x] troublemaker.cpp
  • [x] 99bottles.cpp

Fizz Buzz:

  • [x] fizzbuzz.cpp

5. Vectors

  • [ ] tokyo.cpp
  • [x] oddeven.cpp

Whale Talk:

  • [x] whale.cpp

6. Functions

UFO:

  • [x] UFO

7. Classes & Objects

The Object of Your Affection:

  • [x] The Object of Your Affection

8. References & Pointers

  • [ ] pointers.cpp

Bleep:

  • [x] bleep.cpp functions.cpp functions.hpp

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

  • https://dev.to/codecademy/c-community-challenge-3l8m

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.