Beautiful C++: STL Algorithms

Very few C++ developers know the time and effort they could save with the algorithm header of the Standard Library. This course unlocks that header by connecting tasks you need to perform to the single line of code from the STL to do them.
Course info
Rating
(186)
Level
Intermediate
Updated
Jun 30, 2016
Duration
4h 24m
Table of contents
Course Overview
Standard Library Philosophy and Approach
Counting and Finding
Sorting
Comparing and Accumulating
Generating and Manipulating Collections
Using the Power of Iterators
Unexpectedly Useful Operations
Conventions
Description
Course info
Rating
(186)
Level
Intermediate
Updated
Jun 30, 2016
Duration
4h 24m
Description

If you're a C++ developer, save yourself valuable time and work by learning how to use the algorithm header. In this course, Beautiful C++: STL Algorithms, you'll learn the functions in the algorithm header. You'll find out how iterators multiply the power of the library. Next, you'll learn the conventions that lower your mental burden. Finally, you'll learn how to use the same algorithm with different collections so you don't have to learn new functions. After this course, you'll know what the algorithm header has to offer you and how to use it to your advantage while developing.

About the author
About the author

Kate Gregory is in her fourth decade of being paid to program. Her firm, Gregory Consulting Limited, is based in rural Ontario and helps clients adopt new technologies and adjust to the changing business environment. Current work makes heavy use of .NET and Visual C++ for both web and client development, especially for Windows 7 and 8. Managing, mentoring, technical writing, and technical speaking occupy much of her time, but she still writes code every week.

More from the author
Advanced Debugging with Visual Studio 2019
Intermediate
39m
Jun 26, 2019
Visual Studio 2019 Getting Started
Beginner
2h 10m
Apr 2, 2019
Beautiful C++: Updating Legacy Code
Intermediate
5h 2m
Nov 19, 2018
More courses by Kate Gregory
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Kate Gregory, and welcome to my course, Beautiful C++: STL Algorithms. I run a small consulting firm, Gregory Consulting, writing code for some of my clients and helping others to be better developers. I've been writing C++ since the late 80s, and these days a lot of people ask me to help them be better C++ developers. It's one of my favorite languages, and one that's worth learning to use well. C++ has had a standard library for as long as there's been a C++ standard, but many developers use it as little as possible for a variety of reasons. In this course, I'll show you there's nothing to fear about algorithms and iterators, and you'll be ready to start saving a lot of development time while you write better code. Some of the major topics we'll cover include the functions in the algorithms header, almost 100, sorting, finding, comparing, generating, and much more, how iterators multiply the power of the library, the conventions used in functions, names, and parameters that lower your mental burden, and how to use the same algorithm with different collections so you don't have to learn new functions. By the end of this course, you'll know what the algorithm header has to offer you and how to use it. You won't be afraid of iterators, and you'll know when a lambda brings you the complete control you need. You'll be able to write code that clearly expresses your intent, handles more edge cases, and is typically faster than what you would have written yourself. Before beginning the course, you should be familiar with C++, having written and debugged some code. It doesn't matter what IDE compiler or other tools you use, I'll demonstrate in Visual Studio, but you can use your own system. My C++ Fundamentals course covers all the background you need. I hope you'll join me on this journey to learn how to save development time while writing fast and powerful code everyone can read with the Beautiful C++: STL Algorithms course here at Pluralsight.