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.

Jul 27th 2026
3 Weeks
C++ Class Development (Coursera) Coursera
University of Colorado System

C++ Class Development (Coursera)

This course is the third 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 two 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.

Jul 27th 2026
4 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.

Jul 27th 2026
4 Weeks
Java Programming: Solving Problems with Software (Coursera) Coursera
Duke University

Java Programming: Solving Problems with Software (Coursera)

Learn to code in Java and improve your programming and problem-solving skills. You will learn to design algorithms as well as develop and debug programs. Using custom open-source classes, you will write programs that access and transform images, websites, and other types of data. At the end of the course you will build a program that determines the popularity of different baby names in the US over time by analyzing comma separated value (CSV) files.

Jul 27th 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.

Aug 3rd 2026
5-12 Weeks
Python Basics (Coursera) Coursera
University of Michigan

Python Basics (Coursera)

This course introduces the basics of Python 3, including conditional execution and iteration as control structures, and strings and lists as data structures. You'll program an on-screen Turtle to draw pretty pictures. You'll also learn to draw reference diagrams as a way to reason about program executions, which will help to build up your debugging skills.

Jul 27th 2026
4 Weeks
Linear Algebra for Machine Learning and Data Science (Coursera) Coursera
DeepLearning.AI

Linear Algebra for Machine Learning and Data Science (Coursera)

After completing this course, learners will be able to: represent data as vectors and matrices and identify their properties using concepts of singularity, rank, and linear independence, etc.; apply common vector and matrix algebra operations like dot product, inverse, and determinants; express certain types of matrix operations as linear transformations; apply concepts of eigenvalues and eigenvectors to machine learning problems.

Jul 27th 2026
4 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).

Jul 27th 2026
4 Weeks
Python Data Analysis (Coursera) Coursera
Rice University

Python Data Analysis (Coursera)

This course will continue the introduction to Python programming that started with Python Programming Essentials and Python Data Representations. We'll learn about reading, storing, and processing tabular data, which are common tasks. We will also teach you about CSV files and Python's support for reading and writing them. CSV files are a generic, plain text file format that allows you to exchange tabular data between different programs. These concepts and skills will help you to further extend your Python programming knowledge and allow you to process more complex data.

Jul 27th 2026
4 Weeks