Back to C++ Data Structures in the STL
Coursera

C++ Data Structures in the STL

In this project you will read weather data from a file and populate a C++ Vector with the file data. The data is then uniquified in a Set data structure and stored in a Map for accessing data by year. C++'s standard template library or STL contains data structures or containers that are built for efficiency. They are used to store and retrieve data in various formats. A list such as a Vector can be used in place of an array to contain data where the size cannot be determined ahead of time. A List is like a Vector, except elements can be more quickly added and deleted from it, since no shifting needs to occur. A Map is used to quickly look up a value based on a key rather than a numerical index, for example, to look up a phone number based on a key containing a person's name. A Set may be used to remove duplicates from a list, simply by assigning the data to it. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Status: File I/O
Status: Data Cleansing
IntermediateGuided Project2 hours

Featured reviews

JK

5.0Reviewed Oct 28, 2022

A q​uick course, yet it covers all esential containers

All reviews

Showing: 12 of 12

Colin Broderick
2.0
Reviewed Jul 1, 2021
Jacek Kalinowski
5.0
Reviewed Oct 28, 2022
Ananya Paresh Patel
5.0
Reviewed Oct 15, 2024
SANJAY C
5.0
Reviewed Apr 20, 2025
KAMALESHPANDI S
5.0
Reviewed Apr 16, 2025
Allaberganova Asal
5.0
Reviewed Dec 14, 2024
Yoldashev Surojiddin
5.0
Reviewed Dec 14, 2024
Qadamov Muzaffar
5.0
Reviewed Dec 14, 2024
Feruza Setmamatova
5.0
Reviewed Dec 14, 2024
Dan Jiang
4.0
Reviewed Apr 26, 2021
Иззатбек Зарипов
4.0
Reviewed Dec 19, 2024
Cinthia Abigail Sanchez Silva
1.0
Reviewed Apr 26, 2025