Edit on Replit

Intro to C++ Curriculum

This course is designed for students with some programming experience but not with C++. It covers the proper use of core programming concepts, like ifs, loops, and functions, in C++ and introduces some more advanced concepts like pointers and data structures.

Feel free to use the curriculum as is, or modify it to fit your needs. If you share these materials (as is or with modifications), please provide attribution to Replit and Alfonso Torres, who created the curriculum.

You can find more information and a lesson plan here. You can copy all the assignments into your Replit team here.

The Full Curriculum

We’ve split this course into six sessions plus a bonus seventh lesson and a project, each designed to take a few hours with practice repls and homework assignments.

Click here for the lesson plan and link to problems and homework.

Click here to copy all the assignments into your Replit team.

Lesson slides:

  1. Basics
    • Variables
    • Input/output
    • Comments
    • Data types
    • Debugging
  2. If statements
    • Arithmetic expressions
    • Boolean expressions and relational operators
    • If statements
    • Logical operators (&& ||)
  3. Loops
    • Loops (while, for, do)
    • Arrays
    • Looping through arrays
  4. Functions
    • Functions
    • Best practices
    • Function overloading
  5. Pointers
    • Pointers
    • Memory allocation
  6. Data structures
    • Vectors
    • Stacks
    • Queues
  7. Bonus: Advanced data structures
    • Sets
    • Nodes
    • Linked lists
  8. Project: Caesar Cipher

Our Awesome Creator

This course was created by Alfonso Torres.

Hello, my name is Alfonso Torres and I am the creator of the C++ lessons. Before getting a chance to work with Replit, I attended CSU Monterey Bay. After five years, I was able to complete my degree in Computer Science. During my time in college, I had the opportunity to work with my local community college as a Programming Teacher. I worked with students all over Monterey County to teach them C++, Python, Java, and HTML/CSS. After finishing school, I got another great opportunity to work with Replit to create these C++ Lessons. I had loads of fun making the lessons, so I hope you feel the same way when learning C++.

If you'd like to get in touch you can reach me at: alftaurus [at] gmail [dot] com