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 are ...
If you glanced at the title and thought, “I don’t care — I don’t write C code,” then hang on a minute. While it is true that C has a preprocessor and you can notoriously do strange and — depending on ...
I've run across some incorrectly written code, and I'm trying to find out if there is a way to express what the code is trying to do in C++ (cleanly, if possible).<BR><BR>The class in question is an ...