Microsoft Visual C++ (VC++ for short) is an integrated development tool launched by Microsoft. It is not only a development platform for programmers to write C/C++ applications, but also the core environment that many Windows software relies on to run. For developers, it provides compilers, debuggers and code editors to help efficiently build various programs; for users, its "redistributable runtime library" is the basic support to ensure that many applications (such as games, office and design software) can start normally and work stably. Next, let Huajun editor explain to you how to create a project with Microsoft visual c++ and how to create a project with Microsoft visual c++!
first step
Click [New Project] on the start page.
Step 2
Select [Console Application] (or other types, such as "Empty Project") and click [Next].
Step 3
Enter C++ in the search box to filter templates.
Step 4
Enter a project name (such as MyCppProject). Select the location where the project is stored. Click [Create].
Step 5
In Solution Explorer, right-click [Source File] → [Add] → [New Item]. Select [C++ File (.cpp)], enter the file name (such as main.cpp), and click [Add].
Step 6
Enter code in the open .cpp file, for example:
cpp
#include <iostream>
int main() {
std::cout << "Hello, VS2019!" << std::endl;
Return 0;
}
Press F5 to compile and run, or click the top menu [Debug] → [Start execution (without debugging)] (Ctrl+F5).
The above is how to create a project in Microsoft visual c++ and how to create a project in Microsoft visual c++ compiled by Huajun editor for you. I hope it can help you!