How to use Visual Studio 2010
1 Open the interface and click File---→New---→Project to pop up the new project interface. Select Visual C++ on the left, select the empty project on the right, then enter the name and storage location below, and finally Click OK. After that, an interface (Solution Explorer) will pop up, then select the header file, or source file, right-click---→Add---→New Project. The add new item interface will pop up. Select code on the left, select C++ file on the right, and enter at the bottom. Name, click OK, and then a new interface will pop up, and you can write the program. Adding a header file is similar, just select the C++ header file on the right side of the add new item interface. To compile and execute, just press F5, or click the green triangle on the second line. If there is an error in compilation but no error list appears, then just click View---→Error List
The specific process is as follows:
File---→New---→Project
Pop-up In the new project interface, select Visual C++ on the left, select an empty project on the right, then enter the name and storage location below, and finally click OK.
Pop up the interface (Solution Explorer) and select the header file, or source file, right-click---→Add---→New item
Select code on the left side of the add new item interface, and select code on the right side C++ file, enter the name at the bottom and click OK
A new interface will pop up, and you can write the program
Just press F5 to compile and execute, or click the green triangle on the second line.
If there is a compilation error, but no error list appears
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn