Hacker News new | comments | show | ask | jobs | submit login

CPP is "C PreProcessor", so your "C macros" are simply some subset of uses of "CPP macros". CPP can be (ab)used to preprocess other things than C source.

slaps forehead

I blame my confusion on the .cpp extensions!

and this confusion is exactly why I tend to use .cxx for C++ sources

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact