C++ Basic Structures: Vectors, Pointers, Strings, and Files
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
C++ Basic Structures: Vectors, Pointers, Strings, and Files
This course is part of Programming in C++: A Hands-on Introduction Specialization
Instructors: Anh Le
26,532 already enrolled
Included with
Learn more
Ask Coursera
243 reviews
Recommended experience
243 reviews
Recommended experience
What you'll learn
Store and manipulate vectors of data
Compare and manipulate strings of text
Read and write to text and CSV files
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
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.
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.
What's included
6 readings5 app items
6 readingsβ’Total 14 minutes
- Navigating Codio Assignmentsβ’5 minutes
- Array Basics Lesson Notes (Optional Download)β’1 minute
- Vector Basics Lesson Notes (Optional Download)β’1 minute
- 2D Arrays Lesson Notes (Optional Download)β’1 minute
- Vectors Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
- How to Reset an Assignment in Codioβ’5 minutes
5 app itemsβ’Total 150 minutes
- Codio: Array Basicsβ’30 minutes
- Codio: Vector Basicsβ’30 minutes
- Codio: 2D Arraysβ’30 minutes
- Codio: Vectors Labβ’30 minutes
- Codio: Vector Coding Exercisesβ’30 minutes
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.
What's included
2 readings3 app items
2 readingsβ’Total 2 minutes
- Pointer Basics Lesson Notes (Optional Download)β’1 minute
- Pointers Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
3 app itemsβ’Total 130 minutes
- Codio: Pointer Basicsβ’40 minutes
- Codio: Pointers Labβ’45 minutes
- Codio: Pointers Coding Exercisesβ’45 minutes
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.
What's included
5 readings6 app items
5 readingsβ’Total 5 minutes
- String Basics Lesson Notes (Optional Download)β’1 minute
- String Functions Lesson Notes (Optional Download)β’1 minute
- String Iteration Lesson Notes (Optional Download)β’1 minute
- String Comparison Lesson Notes (Optional Download)β’1 minute
- Strings Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
6 app itemsβ’Total 140 minutes
- Codio: String Basicsβ’20 minutes
- Codio: String Functionsβ’20 minutes
- Codio: String Iterationβ’20 minutes
- Codio: String Comparisonβ’20 minutes
- Codio: Strings Labβ’30 minutes
- Codio: Strings Coding Exercisesβ’30 minutes
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.
What's included
4 readings5 app items
4 readingsβ’Total 4 minutes
- Reading a File Lesson Notes (Optional Download)β’1 minute
- Writing to a File Lesson Notes (Optional Download)β’1 minute
- CSV Files Lesson Notes (Optional Download)β’1 minute
- Files Lab (Review and Practice) Lesson Notes (Optional Download)β’1 minute
5 app itemsβ’Total 120 minutes
- Codio: Reading a Fileβ’20 minutes
- Codio: Writing to a Fileβ’20 minutes
- Codio: CSV Filesβ’20 minutes
- Codio: Files Labβ’30 minutes
- Codio: Files Coding Exercisesβ’30 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
Course
- Status: Free Trial
Why people choose Coursera for their career
Learner reviews
- 5 stars
72.42%
- 4 stars
22.63%
- 3 stars
3.29%
- 2 stars
0.82%
- 1 star
0.82%
Showing 3 of 243
Reviewed on Jan 23, 2023
Extremely good course. I really love this course. It was great fun indeed.
Reviewed on Sep 4, 2021
It's a good course for who are looking to learn C++ vectors , strings, pointers and files in depth and detail. I felt very happy after completing this course.
Reviewed on Nov 12, 2022
This codio platform is very useful for one who has blind knowledge of c++ and other languages...After finishing this course you'll be very good in c++...The method of learning in c++ is very good..
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
