Reading Legacy C++

Do parts of your C++ code base appear to be in some other programming language entirely? Are you trying to read a maze of typedefs, macros, function pointers, and pointer arithmetic? This course will show you how to read and understand that code.

Course info

Rating

(14)

Level

Intermediate

Updated

Feb 10, 2020

Duration

59m

Description

Because C++ has existed for decades, there is a lot of old code out there written with keywords, library functions, and practices that are just not used in modern C++. In this course, Reading Legacy C++, you will gain the ability to read and understand that old code. First, you will learn to read code that works with C-style arrays and C-style strings. Next, you will discover macros, typedefs, and some other old constructs. Finally, you will explore how to read and understand calls to printf, including format strings. When you are finished with this course, you will have the skills and knowledge of legacy C++ needed to understand and maintain this old code.

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.