E-Mail:

hack

Author Avatar

the C,C++ enum hack

As using the preprocessor often leads to bigger code, and very ugly errors it’s often adviced to replace it’s functions using C/C++.
Here’s a tip on how to replace the following  preprocessor command
#define VARIABLE 5
now this could easily be replaces by using a const but a const doesn’t behave the exact same as this define, as […]