Zach Burlingame
Programming, Computers, and Other Notes on Technology

C Assert and Wrapping Macros in Do/While Loops

I was planning on writing a couple of entries on C macros, including assert macros and why you should wrap your macros in do/while loops. While doing a bit of research I came across a couple of excellent blog posts by Charles Nicholson on these very topics. Rather than try and out do him, I’ll just refer you to him!

Building a Better Assert Macro

Why You Should Be Wrapping Your Macros in Do/While Loops

Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *