VS2010 new Empty C + + project

Source: Internet
Author: User

In the "C depth analysis", some small examples to try, VS2010 no C compiler, but C + + containment C, with C + + compiler compiler C language program is also possible, the following is a new empty C + + project steps:

1. Open Vs2010,file->new->project Click

or open VS2010 and click on the new Project option shown in the diagram:


2. Pop up the following dialog: Select Visual C + +-> Win32 Console application, and enter the name of the project, such as Pro, select the storage folder, the other default unchanged, click Next


3. Eject this dialog box and click Finish Next

4. Pop up the following dialog box, select Empty Project, click Finish


5. Pop-up The following dialog box, click Cancle can be.


6. Generate empty file works as shown in the figure:


7. This is an empty file project, No. cpp and. h files, click Source Files->add->newitem ... Add. cpp files

Select C + + file (. cpp), add a filename, and click Add


8. Generate the empty file as shown in the diagram, add code, create new. h file Duplicate



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.