Conditional,Miscellaneous
#ifndef MC
#define ROWS 1000
#define COLS 1000
#endif
defines ROWS and COLS only if MC is not defined.
#if defined(MC)
#define ROWS 10
#elif defined(MM)
#define ROWS 20
#else
#define ROWS 0
#endif
Previous slide
Next slide
Back to first slide
View graphic version