Hello,
Is it a bug or I don't understand anything?
#define MYCONST 4108ULword G100; // Global varvoid myFunc(void){dword tempVar; G100 = (word)((tempVar * MYCONST) / 1023); // <= C2801}
Editor complain about syntax error, and the compiler says "C2801 ')' missing" .
What's the problem?
Emmanuel
已解决! 转到解答。