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
(64)
Level
Intermediate
Updated
July 1, 2016
Duration
4h 24m
Table of contents
Sorting
35m 27s
Conventions
28m 45s
Description
Course info
Rating
(64)
Level
Intermediate
Updated
July 1, 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
More courses by Kate Gregory
Transcript
Transcript

Hi everyone, my name is Kate Gregory and welcome to my course Beautiful C++: STL AlgorithmsI 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 1980s, and these days a lot of people ask me to help them be better C++ developers. It’s one of my favourite languages, and one it’s worth learning to use well. C++ has had a Standard Library for as long as there has been a C++ Standard, but many developers have used 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 writing better code.Some of the major topics that we will cover include: 1. The functions in the algorithms header – sorting, finding, comparing, generating and much more 2. How iterators multiply the power of the library 3. The conventions used in function names and parameters that lower your mental burden 4. How to use the same algorithm with different collections so that 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. My C++ Fundamentals course covers what 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, at Pluralsight.