© German Gonzalez-Morris and Ivor Horton 2020
G. Gonzalez-Morris, I. HortonBeginning Chttps://doi.org/10.1007/978-1-4842-5976-4_13

13. The Preprocessor and Debugging

German Gonzalez-Morris1  and Ivor Horton2
(1)
Santiago, Chile
(2)
STRATFORD UPON AVON, UK
 

In this chapter, you’ll delve deeper into the capabilities of the preprocessor, and I’ll explain how you can use it to help find bugs in your code. You’ll also explore some library functions that complement some of the standard capabilities of the preprocessor.

In this chapter, you’ll learn
  • More about the preprocessor and its operation

  • How to write preprocessor macros

  • What standard preprocessor macros are available

  • What logical preprocessor directives are and how you can use them

  • What conditional compilation ...

Get Beginning C: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.