Detailed explanation of the process of creating a project in Visual Studio

Time: 2020-02-21Source: Huajun Software TutorialAuthor: Rocket

Will projects be created using Visual Studio? I believe many friends are not clear about it. Next, I will explain to you the detailed operation process of creating a project in Visual Studio. If you are in need, come and follow the editor to take a look!

Create a project as follows:

Detailed steps for creating a project in Visual Studio

Click "File"--"New"--"Project" in the upper left corner, and the following interface will appear. You can choose what type of project you want to create. If it is general C++, choose win32 console application. The name below must be filled in. The location is where the file is saved. You do not need to write the solution name, and then click OK.

Detailed steps for creating a project in Visual Studio

You will then go to the next page and click Next. Do not click Finish first because there are other settings later.

Detailed steps for creating a project in Visual Studio

When entering the next step, the software will have a default check mark. Just check the "Empty Project" below and click Finish.

Detailed steps for creating a project in Visual Studio

After that, you will enter the following interface. The solution name filled in earlier will appear on the right side of the interface. There are four files below it, external dependency files, header files, source files, and information files. The external dependency files will be called by themselves when the library is included. The header files and source files need to be created by yourself.

Detailed steps for creating a project in Visual Studio

The operation of creating a source file is similar to creating a project. Right-click on "Source File"--"Add"--"New Item". Many file extensions will appear. For the source file, just select C++ file (.cpp). Now, the creation method of the header file is the same as it is, just select the header file (.h)

Detailed steps for creating a project in Visual Studio

After creating it, you can write code in it. Pay attention to the debugging code in the upper part of the toolbar. They are different and may cause the code to not compile smoothly.

Detailed steps for creating a project in Visual Studio

Above, I have shared with you the graphic and textual operation of changing the wallpaper on Android phones. Friends in need should hurry up and read this article.

Related articles更多>>

Popular recommendations