I’m trying to make a macro :
#ifndef sc(x) #define sc(x)(x*((unsigned long)(1000)) #endif
it compile at first but when I try to use it it It gave me this error:
unsigned long x = sc(45); error: expected ')' before ';' token unsigned long x = sc(45);
don’t know what I’ve done wrong.