Main.cc: In function ‘int main(int, char**)’: Main.cc:39:13: error: expected ‘}’ at end of input return 0; ^ Main.cc:38:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system("pause"); ~~~~~~^~~~~~~~~