I'm trying to do something like this
#define GETCART1 0;
#define GETCART2 1;
void helper(int *Array,int length,int counter, int option){
if (length > counter){
switch(option){
case (GETCART1) :
break;
}//switch
}
}
and I get compile error when I replace GETCART1 with 0 its works fine. Why is that?