How to Use Microsoft Visual C++

Level of difficulty: Difficult

Microsoft Visual C++ is an application that provides tools and an environment to programmers. This is for the development of their ideaware, or ideas, to be turned into software. It is designed to assist by debugging code. This application is used to create code to be used with the Windows API, Direct X API, and Microsoft.NET framework. The following steps are may be followed in a Win32 environment.

Materials Needed:
- Computer
- Internet connection
- Microsoft Visual C++ program
Step 1
Download and install the Microsoft Visual C++ software. This can be done through Microsoft’s Visual Studio website. Select the Visual C++ icon to begin the download. There are also options for the download of installation disks, if the user needs one. When the download is complete, install, or if an installer disk is used, burn and install the application.
Step 2
Open the Microsoft Visual C++ application then click on 'File' in the menu bar. Left click New>>Project in the submenu and a new project dialog box will open. Place the mouse pointer at the Project type side window, inside the New Project section. Left click the Win32 Project type and highlight the Win32 Console application selection. Left click inside the name box and type the project name you will use.
Step 3
Click the location box and paste the desired path or click the browse button to choose the location of the project graphically. Click the 'OK' button to exit to this dialog box.
Step 4
After exiting the new project dialog box, the Win32 application wizard will pop up on the screen. Left click the 'Application settings' option and click the 'Finish' button to accept the current settings. Now the project has been set up.
Step 5
Add items. Left click 'Project' on the 'File' menu bar. Click the 'Add New Item' option in the submenu that opens and the 'Add New Item' dialog box will appear. Place the mouse pointer in the template side window of the 'Add New Item' dialog box. Left click on the C++ file template and name the selected template in the name box. Enter a desired name for the .cpp file. Click the 'Add' button.
Step 6
Add code. Now you need to add a header and resources for the project. This will vary depending on the project being made. Encode the commands needed.
Step 7
After making the .cpp file, it is time to try the application. On the menu, a triangular icon titled Debug is available. Left clicking on this icon will run the application. If the code is not performing as expected, check the code and correct as necessary, until all the bugs are removed.