简体   繁体   中英

I was trying to run a simple code of c in VS ,but this shows,what to do?

我试图在 VS 中运行一个简单的 c 代码,但这表明,该怎么办??? 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. But your source is for a Console program.

Try re-installing mingw62,gcc-g++

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM