0_0_29100605_4303.cpp: In function 'void init()': 0_0_29100605_4303.cpp:40:9: error: 'num' was not declared in this scope CLR(num,0); ^ 0_0_29100605_4303.cpp:16:26: note: in definition of macro 'CLR' #define CLR(A,v) memset(A,v,sizeof A) ^