How to write C + + programs with Visual studio2010 | Steps to write a C + + program with visual studio2010

Source: Internet
Author: User
Tags win32 visual studio 2010

How to write a simple C + + program through Visual Studio 2010, with a small series not to see how to write.

  

First open Visual Studio

Click "File-New-project" in the top left corner of the software, select "Win32-win32 Console Application", enter a name such as simple program, click OK

Click "Next", Tick "Empty Project", click Finish

Right-click the source file, add-new item

Select C + + file, enter a name such as simple program, click Add

We take Hello world for example, write the following code, write the code, click "Debug-Start (Do not Debug)", found that the operation was successful.

How to write C + + programs with Visual studio2010 | Steps to write a C + + program with visual studio2010

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.