Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

C++ Object Basics: Functions, Recursion, and Objects

Codio via Coursera

Overview

Code and run your first C++ program in minutes without installing anything!

This course is designed for learners with limited coding experience, providing a solid foundation of not just C++, but core Computer Science topics that can be transferred to other languages. The modules in this course cover functions, recursion, objects, and mutability. Completion of the prior 2 courses in this specialization are recommended.

To allow for a truly hands-on, self-paced learning experience, this course is video-free. Assignments contain short explanations with images and runnable code examples with suggested edits to explore code examples further, building a deeper understanding by doing. You'll benefit from instant feedback from a variety of assessment items along the way, gently progressing from quick understanding checks (multiple choice, fill in the blank, and un-scrambling code blocks) to small, approachable coding exercises that take minutes instead of hours.

Syllabus

  • User-Defined Functions
    • Re-use pieces of code by wrapping them in functions. You can create functions that take in and/or return data.
  • Recursion
    • Use recursion for special cases of iteration.
  • Introduction to Objects
    • Learn about user-defined classes and how to use them to create objects.
  • Mutability
    • Change the attributes associated with an object through functions.

Taught by

Anh Le and Elise Deitrick

Related Courses

Reviews

Start your review of C++ Object Basics: Functions, Recursion, and Objects

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free