C++ Templates and Containers


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/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.

Target Audience
Individuals looking to learn C++ programming, or experienced C++ programmers wishing to refresh or improve their skills

Prerequisites
None

Expected Duration (hours)
1.4

Lesson Objectives

C++ Templates and Containers

  • 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++
  • 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
  • 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
  • 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
  • demonstrate how to work with sequential and associative containers in C++
  • Course Number:
    sd_cpro_a06_it_enus

    Expertise Level
    Intermediate