Information Technology
Hands on Training icon
Hands On Training
Hands on Training icon

C++ Data Structures in the STL by Coursera

Course Cover
compare button icon

Course Features

icon

Duration

2 hours

icon

Delivery Method

Online

icon

Available on

Limited Access

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Teaching Type

Self Paced

icon

Video Content

2 hours

Course Description

This project will allow you to read weather data from a file, and then populate a C++ vector with that data. For year-by-year access, the data is uniquified in an STL data structure. C++'s STL (standard template library) contains data structures and containers that are optimized for efficiency. These containers are used to store and retrieve data from various formats. An array can be replaced by a list, such as a vector. This allows data to be stored in a format that is not predictable. A List can be used in place of an array to store data where the size cannot be determined beforehand. However, elements can be added or removed from it more quickly since there is no need for shifting. Maps are used to quickly search for a value that is based on key information rather than a numerical index. For example, a Map can be used to find a number with a key that contains a person's first name. You can remove duplicates from a list by simply assigning the data to a Set.

Course Overview

projects-img

Virtual Labs

projects-img

International Faculty

projects-img

Case Based Learning

projects-img

Post Course Interactions

projects-img

Case Studies,Instructor-Moderated Discussions

projects-img

Case Studies, Captstone Projects

Skills You Will Gain

Prerequisites/Requirements

learners should be familiar with essential classes or objects in java

What You Will Learn

Analyze the existing application and create a C++ Vector to populate with data from a file

Create a C++ Map of the data and look up a record based on a unique key

Use a C++ Set data structure to uniquify the data from the Vector

Course Cover