Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C++ Standard Template Library in Practice
Rating: 4.3 out of 5(275 ratings)
1,750 students

C++ Standard Template Library in Practice

Gain insights into the C++ STL using real-world examples
Last updated 12/2019
English

What you'll learn

  • Efficient and effective ways to store data using STL containers
  • Manage application performance using STL memory allocation classes, and enhance these classes by developing your allocation routines
  • How data is structured and how the structure can be traversed using iterators
  • How algorithms are used to transform data into useful and meaningful information
  • Multitasking and managing shared data using concurrency and parallelism
  • Managing input and output (I/O) using streams and the role of stream buffers
  • How the STL has standardized common tasks

Course content

9 sections96 lectures10h 23m total length
  • The Course Overview4:48

    This video will give you an overview about the course.

  • Introduction to the STL11:45

    The goal of this video is to bring the user up to speed with what the STL has to offer at a high level, so, we can begin to learn about it in the coming sections. It also serves as a reminder of how C++ templates work.

       •  Learn about the different high-level features of the STL

       •  Cover C++ Templates

       •  Perform the examples

  • General Concepts12:00

    This video aims to ease the user into the power of STL, by introducing some general concepts and utilities. We cover the headers that we will include, and the std:: namespace. We also refresh the user on C++ exception handling, and introduce the new C++11 unique_ptr class for handling memory.

       •  Learn about the different headers and the standard namespace

       •  Go through the C++ exception handling example

       •  Go through the unique_ptr example

  • Utilities - Common Utilities7:07

    This video aims to introduce the user to some common STL utilities, which includes strings and IO.

       •  Learn which utilities are available

       •  Go through the C++ strings example

       •  This video aims to introduce the user to some common STL ‘utilities’, which includes strings and IO

  • Utilities - Regex9:53

    This video aims to include regular expressions.

       •  Go through the C++ regex example

  • Project - Bitcoin Exchange Program2:31

    The aim of this video is to tie all of what we have learned together, using a project. Our project is a Bitcoin exchange rate program, that will fetch the latest exchange rates for multiple currencies.

       •  We need to gather the necessary libraries, and begin our project

       •  Get our project to a working state by going through the example

       •  Wrap up the example with proper exception handling

  • Project - Coding5:15

    This is the second part of the project where you will be doing coding.

       •  Open bitcoin.cpp file

       •  Create a class called CurlHandler

       •  Compile the project

  • Project - Custom Writer Function4:41

    This is the third part of the project.

       •  Create custom writer function as data handler

       •  Make changes in the bitcoin class

       •  Compile the project

  • Review0:38

    The aim of this video is to remind the user of all of the topics covered, and note down what we will be talking about in the next section.

       •  Give a quick reminder of what we have learned until now

       •  Cover the material discussed during the section

       •  Learn what is coming in the next section

  • Test Your Knowledge

Requirements

  • This video course is designed for both experienced C++ programmers and people with some knowledge of OOP concepts.

Description

C++ is one of the most widely used programming languages. Fast, efficient, and flexible, it is used to solve many problems. In particular, it is the Standard Template Library (STL) that gives C++ its power. In this course, we show you how.

Using real-world examples, we focus on how STL handles and manipulates data. We examine containers and iterators, and how data can be transformed into meaningful information using algorithms. There is coverage of I/O streams, strings and numerical methods, and how performance can be optimized through careful consideration of memory allocation and manipulation. We also demonstrate how multitasking and shared data is handled through concurrency and parallelism classes and utilities.

By the end of the course, you will understand the newer aspects of C++ STL and will be able to overcome tasks that are time-consuming or would break your stride while developing.

About the Author

James Slocum has been a professional developer for over 10 years. He graduated from NJIT with a Bachelor's degree in Computer Engineering in 2008, and again with a Master's in Computer Science in 2011. He currently works for Audible as a software engineer and tech lead for the library group. The languages he uses the most are Java, JavaScript, C++, and Dart. In his free time, he enjoys learning about new languages and technology.

Who this course is for:

  • If you want to overcome difficult phases of development with C++ and leverage its features using modern programming practices, then this course is for you.