• Online, Self-Paced
Course Description

Containers are implemented as class templates and are used to replicate structures such as arrays, queues, stacks, and lists. In this course, you'll learn how to use templates and containers in your C++ programs.

Learning Objectives

C++ Templates

  • start the course
  • describe the key features of C++ templates, including when they should or shouldn't be used
  • declare and use a function template in C++
  • declare and use a class template in C++

Sequential Containers

  • describe the key features of Standard Template Library sequential containers including when they should or shouldn't be used
  • write a C++ program using a list from the Standard Template Library
  • write a C++ program using a vector from the Standard Template Library
  • write a C++ program using deque from the Standard Template Library
  • write a C++ program using array from the Standard Template Library

Sequential Container Adapters

  • write a C++ program using a queue from the Standard Template Library
  • write a C++ program using priority_queue from the Standard Template Library
  • write a C++ program using a stack from the Standard Template Library

Associative Containers

  • describe the key types and features of Standard Template Library associative containers including when they should or shouldn't be used
  • write a C++ program using a set from the Standard Template Library
  • write a C++ program using a map from the Standard Template Library
  • demonstrate how to incorporate objects into set and map

Practice: Working with Containers

  • demonstrate how to work with sequential and associative containers in C++

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.