First Look: C++ Core Guidelines and the Guideline Support Library

The C++ Core Guidelines is a set of rules designed to help you write modern, safe C++ - saving you time and effort as well as making your code more reliable. In this course, you'll learn the philosophy behind the guidelines and see some examples of how following them can improve your code.
Course info
Rating
(48)
Level
Intermediate
Updated
Mar 10, 2016
Duration
1h 38m
Table of contents
Description
Course info
Rating
(48)
Level
Intermediate
Updated
Mar 10, 2016
Duration
1h 38m
Description

C++ has a reputation for being a difficult and sometimes dangerous language. The C++ Core Guidelines is a set of rules designed to help you write modern, safe C++ - saving you time and effort as well as making your code more reliable. Announced Sept 21st 2015, the Guidelines are under active development. You can start to use them – and more importantly, to use tools that check your code against them – today. In this course, you'll learn the philosophy behind the guidelines and see some examples of how following them can improve your code. You'll learn how to use Visual Studio to check your code against the guidelines and start writing safer C++.

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

Course Overview
Hi everyone. My name is Kate Gregory, and welcome to my course, First Look at the C++ Core Guidelines and the Guideline Support Library. 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 1980s, and these days a lot of people ask me to help them be better C++ developers. C++ is not a new language, but it's one that's undergone tremendous changes this century, and is now being used for more kinds of development than any other language. This course will show you how to know that you're writing good C++, creating code that's simple, readable, maintainable, and safe. It's a first look. The guidelines are really new, but we will cover these topics, what the guidelines are, and where to find them, how following them can prevent bugs, and make your code better, and how to test your code against selected guidelines. By the end of this course you'll know how to find the advice you need for writing safe, readable, high-performing C++, and how to discuss your code with others in the context of the guidelines. You'll know how to confine yourself to the safe parts of C++ without losing flexibility or performance. Before beginning the course you should be familiar with C++, having say 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, but you could have learned it another way too. I hope you'll join me on this journey to learn how to write good C++ with The First Look C++ Core Guidelines and the Guidelines Support Library course here at Pluralsight.

What Are the C++ Core Guidelines?
Hi. I'm Kate Gregory. Welcome to this First Look at the C++ Core Guidelines and the Guideline Support Library. In this module I'll start with the first question that everyone asks me when I mention the C++ core guidelines, what are those, they ask. Let me tell you.

How Can the C++ Core Guidelines Help You?
Hi. Welcome back to this First Look at the C++ Core Guidelines and the Guidelines Support Library. My name is Kate Gregory, and in this module I'm going to show you why using this particular set of guidelines will be sure to help you write better code.

Are There Tools to Help You?
Welcome back to a First Look at the C++ Core Guidelines and the Guidelines Support Library. My name is Kate Gregory, and in this module I'm going to show you how Visual Studio's static analysis can be used to check your code against subsets of the guidelines called profiles. I'll also briefly show you the support for profiles from Clang-tidy.