VScode 软件在运行代码的时候出现 undefined reference to winmain怎么解决? 该bug意思是找不到winmain函数 原因: 1、可能是main函数没拼写正确 2、代码没有保存,保存代码后在运行即可解决