Change case of argument provided to C preprocessor macro

Posted by andyvn22 on Stack Overflow See other posts from Stack Overflow or by andyvn22
Published on 2010-05-06T00:49:20Z Indexed on 2010/05/06 0:58 UTC
Read the original article Hit count: 328

Filed under:
|
|
|

I'm fairly new to the C preprocessor. Is it possible to change the case of an argument provided to a function-like #define? For example, I want to write test(size) and then involve "Size" in the resulting replacement.

© Stack Overflow or respective owner

Related posts about c

    Related posts about preprocessor