Main.cc: In function ‘bool aa(int)’: Main.cc:5:46: error: expected ‘)’ before numeric constant for(int i=0;i<=c;i++) if(!((x/(pow(10,i))44)%100)) return 1; ^~ Main.cc:5:64: error: expected ‘)’ before ‘;’ token for(int i=0;i<=c;i++) if(!((x/(pow(10,i))44)%100)) return 1; ^ Main.cc:5:64: error: expected ‘)’ before ‘;’ token Main.cc: In function ‘bool bb(int)’: Main.cc:9:46: error: expected ‘)’ before numeric constant for(int i=0;i<=c;i++) if(!((x/(pow(10,i))77)%100)) return 1; ^~ Main.cc:9:64: error: expected ‘)’ before ‘;’ token for(int i=0;i<=c;i++) if(!((x/(pow(10,i))77)%100)) return 1; ^ Main.cc:9:64: error: expected ‘)’ before ‘;’ token Main.cc: In function ‘int main()’: Main.cc:16:11: error: ‘num’ was not declared in this scope while(num){ ^~~ Main.cc:16:11: note: suggested alternative: ‘enum’ while(num){ ^~~ enum Main.cc:22:12: error: expected primary-expression before ‘)’ token if() ^ Main.cc:23:5: error: expected primary-expression before ‘}’ token } ^