C++ Basic Structures: Vectors, Pointers, Strings, and Files (Coursera)

Offered by Codio,
C++ Basic Structures: Vectors, Pointers, Strings, and Files (Coursera)

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.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

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.

What You Will Learn

  • Store and manipulate vectors of data
  • Compare and manipulate strings of text
  • Read and write to text and CSV files

Course 2 of 4 in the Programming in C++: A Hands-on Introduction Specialization

Syllabus

WEEK 1
Vectors
Use vectors to store multiple pieces of data in a single variable. Iterate over vectors or use built-in methods and functions to manipulate vectors.

WEEK 2
Pointers
Learn about pointers and their usage.

WEEK 3
Strings
Store multiple characters or text in a string. Use built-in methods and functions to manipulate strings.

WEEK 4
Files
Import and export large pieces of data from text and CSV files.

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

Related Courses

Estruturas de dados Python (Coursera) Coursera
University of Michigan

Estruturas de dados Python (Coursera)

Este curso apresentará as estruturas de dados centrais da linguagem de programação Python. Vamos superar os fundamentos da programação de procedimentos e explorar como podemos usar as estruturas de dados integradas do Python, como listas, dicionários e tuplas, para realizar análises de dados cada vez mais complexas. Este curso cobrirá os capítulos 6 a 10 do livro “Python para Todos”. Este curso aborda o Python 3.

Oct 5th 2026
5-12 Weeks
In the footsteps of Zika… approaching the unknown (Coursera) Coursera
University of Geneva

In the footsteps of Zika… approaching the unknown (Coursera)

Welcome to this on-demand MOOC “In the footsteps of Zika… approaching the unknown”. This MOOC has been produced by Université de Genève Institut Pasteur, Université Paris Descartes and Centre Virchow-Villermé. With the help of the intervention of faculty members and international experts, we will explore together the recent Zika phenomenon, a previously rare benign virus that recently turned unexpectedly into the limelight when on the 1st of February 2016 it was declared by the WHO as a Public Health Emergency of International Concern.

Sep 21st 2026
5-12 Weeks
C++ Basics: Selection and Iteration (Coursera) Coursera
Codio

C++ Basics: Selection and Iteration (Coursera)

Code and run your first C++ program in minutes without installing anything! This course is designed for learners with no 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 printing, operators, iteration (i.e., loops), and selection (i.e., conditionals).

Sep 21st 2026
4 Weeks
Java Basic Structures: Arrays, Strings, and Files (Coursera) Coursera
Codio

Java Basic Structures: Arrays, Strings, and Files (Coursera)

Code and run your first Java program in minutes without installing anything! This course is designed for learners with limited coding experience, providing a solid foundation of not just Java, but core Computer Science topics that can be transferred to other languages. The modules in this course cover arrays, strings, and files. Completion of Java Basics: Selection and Iteration before taking this course is recommended.

Sep 21st 2026
3 Weeks
Python Functions, Files, and Dictionaries (Coursera) Coursera
University of Michigan

Python Functions, Files, and Dictionaries (Coursera)

This course introduces the dictionary data structure and user-defined functions. You’ll learn about local and global variables, optional and keyword parameter-passing, named functions and lambda expressions. You’ll also learn about Python’s sorted function and how to control the order in which it sorts by passing in another function as an input.

Sep 21st 2026
5-12 Weeks
The Finite Element Method for Problems in Physics (Coursera) Coursera
University of Michigan

The Finite Element Method for Problems in Physics (Coursera)

This course is an introduction to the finite element method as applicable to a range of problems in physics and engineering sciences. The treatment is mathematical, but only for the purpose of clarifying the formulation. The emphasis is on coding up the formulations in a modern, open-source environment that can be expanded to other applications, subsequently.

Oct 5th 2026
13-24 Weeks
Intermediate Object-Oriented Programming for Unreal Games (Coursera) Coursera
University of Colorado System

Intermediate Object-Oriented Programming for Unreal Games (Coursera)

This course is the fourth and final course in the Specialization about learning how to develop video games using the C++ programming language and the Unreal game engine on Windows or Mac. This course assumes you have the prerequisite knowledge from the previous three courses in the specialization. You should make sure you have that knowledge, either by taking those previous courses or from personal experience, before tackling this course.

Sep 21st 2026
4 Weeks
Excel/VBA for Creative Problem Solving, Part 2 (Coursera) Coursera
University of Colorado Boulder

Excel/VBA for Creative Problem Solving, Part 2 (Coursera)

Excel/VBA for Creative Problem Solving, Part 2" builds off of knowledge and skills obtained in "Excel/VBA for Creative Problem Solving, Part 1" and is aimed at learners who are seeking to augment, expand, optimize, and increase the efficiency of their Excel spreadsheet skills by tapping into the powerful programming, automation, and customization capabilities available with Visual Basic for Applications (VBA).

Oct 5th 2026
4 Weeks
Analysis of Algorithms (Coursera) Coursera
Princeton University

Analysis of Algorithms (Coursera)

This course teaches a calculus that enables precise quantitative predictions of large combinatorial structures. In addition, this course covers generating functions and real asymptotics and then introduces the symbolic method in the context of applications in the analysis of algorithms and basic structures such as permutations, trees, strings, words, and mappings.

Sep 28th 2026
5-12 Weeks