Install VC2008 Express and use it to write Win32 console application (for beginners)

Source: Internet
Author: User

installing VC2008


1.Double-click the downloaded installation package, select setup.exe and double-click

2

2. come out and install the interface, click Next


3. Accept the installation agreement, click Next


4. Click Install

5. wait for installation to complete and point to exit to complete the installation




The process of developing a simple C + + program using VC2008

1.Click "Start" menu, select "All Programs" in"Microsoft Visual C + + Express Edition"


2. Document -to- new project; Select Win32 project type, choose Win32 Console application, fill in name, select location, click OK


3.in the Application Wizard, click Next



4. do not tick "precompiled header", and tick the Empty project , click Finish


5. Select "Source file" under Solution, right click on "Add" and select "New Item" .


6. Select the "Code" category and select " C + + file (. cpp) "template, enter a name


7, enter the code, in the Debug menu, select "Start Execution (without debugging)" or use the shortcut key ( Ctrl+f5 ) Execution


8. in the Pop-up dialog box, tick "yes" .


9. execution results are as follows



Recommendation: Tools menu, select "Customize" submenu, category Select "Debug", command "Start Without Debugging", press and hold mouse down to toolbar



To do the following program, you can first save the previous program with "Save As", and then double-click test.cpp to open and overwrite.


Install VC2008 Express and use it to write Win32 console application (for beginners)

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.