Description
Course info
Rating
(519)
Level
Intermediate
Updated
Dec 14, 2011
Duration
2h 54m
Description

Good C++ developers know more than just the syntax of the language: they know the libraries that come with it, and they know when to use a particular feature. In this sequel to C++ Fundamentals, you'll learn those things. A quick overview of the Standard Library will provide you with collections, algorithms to work with collections, and string manipulation capabilities, as well as signposts to more Standard Library capabilities. Then perhaps the most important C++11 language change, lambdas, are explained and put in context. Finally exceptions, a powerful error-handling technique, are introduced and you will see their significance for resource and memory management. With the modern C++ foundations complete, the last module of this course goes back in time to the sorts of syntax and idioms you're likely to find in older code, including typedefs, function pointers, void pointers, and C-style strings and arrays. Modern C++ developers must cope with legacy code and this module will show you how.

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
C++ Fundamentals Including C++ 17
Beginner
5h 48m
6 Mar 2018
Beautiful C++: STL Algorithms
Intermediate
4h 24m
30 Jun 2016
More courses by Kate Gregory
Section Introduction Transcripts
Section Introduction Transcripts

The Standard Library
Welcome to C++ Fundamentals, Part Two. My name is Kate Gregory, and I'd like to introduce myself by saying I've been using C++ since before Microsoft had a C++ compiler. That's well over 20 years, and in that time, I've seen a lot of changes to the language and to how people use it. So if you did a C++ course 10 or 20 years ago, or you know somebody who took one and told you all about it, you might not even recognize the C++ I'm going to show you. In this course, I'm going to continue teaching the basics you need to write good C++. It's the most popular general purpose programming language ever, and it's still relevant and useful today. I'm going to build on the material from part one, which was templates, smart pointers and memory management, and cover the rest of the material I think you need to be a modern C++ programmer.

Lambdas
Welcome back to C++ Fundamentals, Part 2. My name is Kate Gregory, and I'm showing you around C++, the most popular general purpose programming language. In this module, you'll meet my favorite C++ 11 feature, Lambdas. In theory, Lambdas don't add any new capability to your programs. Everything you can do with Lambdas could be done a longer or more complicated way using building blocks from versions of C++ before C++ 11. But that's theory. In practice, they really change everything. Let me show you why.

Exceptions
Welcome back to the C Plus Plus Fundamentals Part Two. My name is Kate Gregory and I'm continuing my introduction to C Plus Plus, the most popular general purpose programming language in the world. In this module, I want to cover something that every C Plus Plus developer simply must understand, exceptions. They're a great way to handle errors and problems, but because they disrupt the flow of control, they can mess with your manual memory management. I guess it's a good thing you aren't doing any; right. I'll show you how to catch them and throw them, and why letting locally scoped objects, managed lifetime, is even more important when exceptions are in play.

Understanding Legacy Code
Welcome back to C Plus Plus Fundamentals part two. My name is Kate Gregory, and I'm continuing my introduction to C Plus Plus the most popular general purpose programming language in the world. In this module I need to show you some C Plus Plus code that's really not much fun. It's old school. I've said repeatedly modern C Plus Plus is readable. It's safe. It's understandable. It's maintainable. The standard library does so much for you. It's not like that old C Plus Plus you heard stories about. Well in this module, I'm going to show you that old C Plus Plus you heard stories about. Not just as a badge of honor that I happened to know it, but because as C Plus Plus developer, people are going to give you some of this code. It might be a sample or it might be the old code that you're asking you to maintain. So you need to learn how to read it. I hope you never have to write it. Let me show you what I'm talking about.