[英]I was trying to run a simple code of c in VS ,but this shows,what to do?
You selected the wrong project type.您选择了错误的项目类型。 If the linker expects
WinMain()
, you are building a Windows GUI program.如果 linker 需要
WinMain()
,则您正在构建 Windows GUI 程序。 But your source is for a Console program.但是您的来源是控制台程序。
Try re-installing mingw62,gcc-g++尝试重新安装mingw62,gcc-g++
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.