1、undefined reference to `WinMain`
将主函数的main写错或没写主函数。
2、ld returned 1 exit status
2.1 需要关闭黑窗口后编译
2.2 若黑框口已关闭可能是main函数出了问题
3、'***' was not declared in this scope
3.1 变量没有定义
3.2 函数没有定义
3.3缺少头文件
3.4变量或函数打错了
4.expected ';' befort 'return'
某行结束忘记写分号
5.'x' undeclared (first use in this function)
变量未定义
6.variable-sized object may not be initialized
变量未定义
7.expected declaration or statement at end of input
某个地方少了括号