25.8.14
This website uses cookies to ensure you get the best experience on our website. Learn more

Defensive C++: Writing Defensive C++ Code

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Writing good, robust, and maintainable C++ code involves understanding the intricacies of the language and avoiding common pitfalls. Use this course to learn more about avoiding fatal coding errors, adopting defensive coding techniques, and following best practices and other code niceties Examine some common coding errors, the correct way to set up constructors in code, and the pitfalls of overriding non-virtual functions. You will also explore object slicing errors, how to cast objects to other types, and the use of smart pointers to manage resources in C++. Finally, you will understand the implications of the static initialization order fiasco in C++ and how you can avoid it. At the end of this course, you will have the knowledge and skills to write robust, defensive C++ code.

Issued on

August 5, 2022

Expires on

Does not expire