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

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 7th 2026
3 Weeks
Big Ideas in Programming: Expressing Yourself with Python (Coursera) Coursera
University of Michigan

Big Ideas in Programming: Expressing Yourself with Python (Coursera)

Harness the power of Python and its programming concepts to express yourself and refine all the work you do with this online course from the University of Michigan. This course is designed for anyone interested in learning Python. Whether you want to discuss programming with other professionals, teaching others to code or use the language to do your own creative coding, this is the Python course for you!

Sep 14th 2026
4 Weeks
More C# Programming and Unity (Coursera) Coursera
University of Colorado System

More C# Programming and Unity (Coursera)

This course is the second course in the specialization about learning how to develop video games using the C# programming language and the Unity game engine on Windows or Mac. Why use C# and Unity instead of some other language and game engine? Well, C# is a really good language for learning how to program and then programming professionally. Also, the Unity game engine is very popular with indie game developers; Unity games were downloaded 16,000,000,000 times in 2016! Finally, C# is one of the programming languages you can use in the Unity environment.

Sep 14th 2026
4 Weeks
Data Structures in C (Coursera) Coursera
University of Michigan

Data Structures in C (Coursera)

Covering dynamic memory allocation for optimizing memory utilization, Data Structures in C explores ways to handle multiple variables collectively. In this course, you’ll delve into the central concept of pointers for managing the storage and retrieval of memory. Explore and understand structures, a C-specific user-defined data type combining assorted data items.

Sep 14th 2026
4 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.

Sep 7th 2026
13-24 Weeks
Tropical Parasitology: Protozoans, Worms, Vectors and Human Diseases (Coursera) Coursera
Duke University,Kilimanjaro Christian Medical University College

Tropical Parasitology: Protozoans, Worms, Vectors and Human Diseases (Coursera)

This course provides students an understanding of important human parasitic diseases, including their life cycles, vectors of transmission, distribution and epidemiology, pathophysiology and clinical manifestations, treatment, and prevention and control. Tropical Parasitology is taught by faculty from an area highly impacted by tropical parasites- the Kilimanjaro Christian Medical University College in Moshi, Tanzania. The faculty include Drs. Frank Mosha and Mramba Nyindo (and two lecturers, Drs. Johnson Matowo and Jovin Kitau). Dr. John Bartlett, Professor of Medicine, Global Health and Nursing at Duke University, joins his faculty colleagues in this effort.

Sep 7th 2026
5-12 Weeks
Python Data Structures (Coursera) Coursera
University of Michigan

Python Data Structures (Coursera)

This course will introduce the core data structures of the Python programming language. We will move past the basics of procedural programming and explore how we can use the Python built-in data structures such as lists, dictionaries, and tuples to perform increasingly complex data analysis. This course will cover Chapters 6-10 of the textbook “Python for Everybody”. This course covers Python 3.

Sep 7th 2026
5-12 Weeks
C++ Object Basics: Functions, Recursion, and Objects (Coursera) Coursera
Codio

C++ Object Basics: Functions, Recursion, and Objects (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 functions, recursion, objects, and mutability. Completion of the prior 2 courses in this specialization are recommended.

Sep 7th 2026
4 Weeks
Algorithms on Strings (Coursera) Coursera
University of California, San Diego,Higher School of Economics - HSE University

Algorithms on Strings (Coursera)

World and internet is full of textual information. We search for information using textual queries, we read websites, books, e-mails. All those are strings from the point of view of computer science. To make sense of all that information and make search efficient, search engines use many string algorithms. Moreover, the emerging field of personalized medicine uses many search algorithms to find disease-causing mutations in the human genome.

Sep 7th 2026
4 Weeks
Wrangling Data in the Tidyverse (Coursera) Coursera
Johns Hopkins University

Wrangling Data in the Tidyverse (Coursera)

Data never arrive in the condition that you need them in order to do effective data analysis. Data need to be re-shaped, re-arranged, and re-formatted, so that they can be visualized or be inputted into a machine learning algorithm. This course addresses the problem of wrangling your data so that you can bring them under control and analyze them effectively. The key goal in data wrangling is transforming non-tidy data into tidy data.

Sep 7th 2026
4 Weeks
Introduction to Object-Oriented Programming with Java (Coursera) Coursera
LearnQuest

Introduction to Object-Oriented Programming with Java (Coursera)

Introduction to OO Programming with Java is course 2 of the Core Java Specialization. After completing this course, you'll be able to create simple Java classes that exhibit the principle of Encapsulation, to import other classes for use, to work with Strings, print output and use advanced math functions. We'll begin with a brief refresher on necessary concepts from Object-Oriented Programming.

Sep 14th 2026
4 Weeks