Firstly, this is a macro, yeah?
Secondly, why doesn't this work if all these "macros" are just numbers?Code:#define MIN 7;
Code:#include <iostream> #include <string> using namespace std; #define MIN 7; #define MAX 8; int main() { cout << MIN * MAX; //this doesn't work cout << 7 * 8; }




Reply With Quote