Introduction to STL $99.99

This course provides an introduction to the C++ standard library. It includes lessons with narration and example code.

Syllabus:

Course Description


This course provides an introduction to the C++ standard library. It includes lessons with narration and example code. The C++ STL (also referred to as part of the C++ Standard Library) is a collection of template classes which provide containers, algorithms, and other useful facilities such as IO. This course specifically focuses on STL containers. There may be a part II of this course in the future which will go over the remaining parts.

STL containers encapsulate some of the more common structures when you are holding a variety of values. Templates are used to do this in a manner that has little runtime overhead, while providing a lot of compile-time flexibility. You will find analogues to these in other programming languages, as well. The main thing is that often you need a general purpose container and reinventing the wheel by hand-crafting containers is often a waste of developer time, and often leads to a buggy/poor performance solution. Making use of STL containers is, ultimately, more effective. This course will discuss STL containers, how and when to use them. Equally as important, it discusses when NOT to use a particular container.

Prequisites


A basic understanding of the C++ programming language. However, you can get by with an understanding of a syntactically-similar language, such as Java, C# or C.

Course Structure


This course will be delivered online via Compucator.com and can be watched by going to the appropriate course page.

Lessons and Exercises


The list of lessons and exercises is below, but to give a little more information, consider the following. This course covers the STL containers which are defined into a few categories: sequence containers, container adapters, associative containers and unordered associative containers. As such, the lessons will be in the following structure:
  • Lesson 1 - Introduction to STL containers
  • Lesson 2 - STL vector
  • Lesson 3 - STL list
  • Lesson 4 - STL deque and remaining sequence containers
  • Lesson 5 - STL stack
  • Lesson 6 - STL queue
  • Lesson 7 - STL set and multiset
  • Lesson 8 - STL map and multimap
  • Lesson 9 - Unordered Associative containers, which includes STL unordered_set, unordered_multiset, unordered_map and unordered_multimap.
In addition, starting with lesson 2, there will be corresponding exercises that use the concepts from the class and previous classes. The exercises are not too challenging, but illustrate how to use the containers. As always, the suggestion is to give it a try first and then watch the video. You can download the attachment, which includes the sample code and the exercise document by going to the exercise video and clicking the link to the exercise. Then watch the video and see if your solution was in line with the provided solution.

Lessons

  • 1-Introduction to STL Containers [Lesson 1 is FREE]
  • 2 - Sequence Containers - Vector
  • 3 - Sequence Containers - List
  • 4 - Sequence Container - Final
  • 5 - Container Adapters - Stack
  • 6 - Container Adapters - Queue
  • 7 - Associative Containers - Set
  • 8 - Associative Containers - Map
  • 9 - Unordered Associative Containers

Exercises

  • 2 - Sequence Containers - Vector
  • 3 - Sequence Containers - List
  • 4 - Sequence Containers - Final
  • 5 - Container Adapters - Stack
  • 6 - Container Adapters - Queue
  • 7 - Associative Containers - Set
  • 8 - Associative Containers - Map
  • 9 - Unordered Associative Containers