News

trying to generate two pieces of code from the same file without ifdefing the thing to death. i need a macro that will expand to variable types based on what is defined by the preprocessor. below ...
That covers cpp, the C preprocessor. It also covers things like sed. Honestly, you can easily create custom preprocessors using C, awk, Python, Perl, or any other programming language.