14

Understanding STL Basics

This chapter will continue our pursuit of increasing your C++ programming repertoire beyond OOP concepts by delving into a core C++ library that has become thoroughly integrated into the common usage of the language. We will explore the Standard Template Library (STL) in C++ by examining a subset of this library, representing common utilities that can both simplify our programming and make our code more easily understood by others who are undoubtedly familiar with the STL.

In this chapter, we will cover the following main topics:

  • Surveying the contents and purpose of the STL in C++
  • Understanding how to use essential STL containers – list, iterator, vector, deque, stack, queue, priority_queue, map, and map using ...

Get Deciphering Object-Oriented Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.