Main.cc: In function ‘void print()’: Main.cc:10:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] for(int k=1;k<=b;k++) ^ Main.cc:15:2: error: ‘Count’ was not declared in this scope Count++; ^~~~~ Main.cc:15:2: note: suggested alternative: ‘round’ Count++; ^~~~~ round Main.cc:18:1: error: a function-definition is not allowed here before ‘{’ token { ^ Main.cc:33:1: error: a function-definition is not allowed here before ‘{’ token { ^ Main.cc:37:1: error: expected ‘}’ at end of input } ^