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

Coursera

C++ Basic Structures: Vectors, Pointers, Strings, and Files

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 vectors, pointers, strings, and files. Completion of C++ Basics: Selection and Iteration before taking this course is 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

  • Vectors
    • Welcome to Week 1 of the C++ Basic Structures: Vectors, Pointers, Strings, and Files course. These assignments cover using vectors to store multiple pieces of data in a single variable and iterating over vectors or using built-in methods and functions to manipulate vectors. The module ends with a lab and graded coding exercises.
  • Pointers
    • Welcome to Week 2 of the C++ Basic Structures: Vectors, Pointers, Strings, and Files course. These assignments cover creating, referencing, and dereferencing pointers. The module ends with a lab and graded coding exercises.
  • Strings
    • Welcome to Week 3 of the C++ Basic Structures: Vectors, Pointers, Strings, and Files course. These assignments cover storing multiple characters or text in a string and using built-in methods and functions to manipulate strings. The module ends with a lab and graded coding exercises.
  • Files
    • Welcome to Week 4 of the C++ Basic Structures: Vectors, Pointers, Strings, and Files course. These assignments cover importing and exporting large pieces of data from text and CSV files. The module ends with a lab and graded coding exercises.

Taught by

Anh Le and Elise Deitrick

Reviews

4.6 rating at Coursera based on 191 ratings

Start your review of C++ Basic Structures: Vectors, Pointers, Strings, and Files

Never Stop Learning.

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

Someone learning on their laptop while sitting on the floor.