Main.cc:7:15: error: expected ']' before 'int' #define N 100 int main() { ^ Main.cc:9:9: note: in expansion of macro 'N' char s[N]; ^