0_0_34557982_2253.cpp:5:11: error: '::main' must return 'int' void main() ^ 0_0_34557982_2253.cpp: In function 'int main()': 0_0_34557982_2253.cpp:30:17: error: expected '}' at end of input system("pause"); ^