Simple play icon Course

Reading Legacy C++

by Kate Gregory

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.

What you'll learn

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 fifth 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. Mentoring, technical writing, and technical speaking are her preferred ways of sharing wisdom with large groups of people. Kate is the author of over a dozen books and speaks at conferences around the world, with keynotes on 5 continents. Kate is a C++ MVP, develops courses (primaril... more

Ready to upskill? Get started