vsCode 调试c代码时 undefined reference to `WinMain'

emmmm,就是编辑好的文件没有进行保存,或者是没有定义main函数,保存后执行即可。

原文地址:https://www.cnblogs.com/dg-blog/p/12993453.html