简体   繁体   中英

Console cpp project in Visual Studio

What and how should I install in order to be able to create an ordinary console project in Visual Studio?

Here is what I have already installed and what options I have. The problem is that there is no option for creating an ordinary console project. Is it named somewhat different not just a console project in cpp? 在此处输入图片说明

在此处输入图片说明

Look under the "Installed" tab on the left side, not the "Online" tab you currently selected. You should find "Win32 Console Application" there.

I recommend to use 'Empty project' option for such purposes. Just type 'Empty' in the search field to find it.

In this case you have to manually add .cpp file, define a main function - and you will have simple console application with no Windows-specific overheads.

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