Programming tools applicable to 4G hard drive Eee PC: VC ++ and msdn Green Edition

Source: Internet
Author: User

Question:
1. An Eee PC with a small 4G hard drive capacity and M memory
8 gb sd card
2. You need to re-learn C ++ Program Design
3. A development platform with C ++ programming is required.
Solution:
1. VC ++ and msdn Green Edition
2. Address:
VC ++ and msdn Green Edition volume 01: http://download.csdn.net/source/1797071
VC ++ and msdn Green Edition volume 02: http://download.csdn.net/source/1797113
VC ++ and msdn Green Edition package 03: http://download.csdn.net/source/1797127
VC ++ and msdn Green Edition volume 04: http://download.csdn.net/source/1797136
VC ++ and msdn Green Edition sub-Volume 05: http://download.csdn.net/source/1797161
VC ++ and msdn Green Edition package 06: http://download.csdn.net/source/1797169
VC ++ and msdn Green Edition of the volume 07: http://download.csdn.net/source/1798090
VC ++ and msdn Green Edition of the exam 08: http://download.csdn.net/source/1798098
VC ++ and msdn Green Edition exam 09: http://download.csdn.net/source/1798107
VC ++ with msdn Green Edition package 10: http://download.csdn.net/source/1798116
VC ++ with msdn Green Edition 11: http://download.csdn.net/source/1798232
VC ++ with msdn Green Edition package 12: http://download.csdn.net/source/1798238
VC ++ with msdn Green Edition package 13: http://download.csdn.net/source/1798242
VC ++ with msdn Green Edition package 14: http://download.csdn.net/source/1799577
VC ++ with msdn Green Edition package 15: http://download.csdn.net/source/1799580
VC ++ with msdn Green Edition 16: http://download.csdn.net/source/1799584
VC ++ with msdn Green Edition of the 17: http://download.csdn.net/source/1799596
VC ++ with msdn Green Edition package 18: http://download.csdn.net/source/1799602
VC ++ with msdn Green Edition package 19: http://download.csdn.net/source/1799611
VC ++ and msdn Green Edition package 20: http://download.csdn.net/source/1799612

3. Examples and practical operations

Write the running results of the following programs
// File1.cpp
Int g (int v );
Static int I = 20;
Int X;
Void F (int v)
{
X = g (v );
}
Static int g (int p)
{
Return I + P;
}
// File2.cpp
# Include <iostream. h>
Extern int X;
Void F (INT );
Void main ()
{
Int I = 5;
F (I); // F (I) = f (5) → x = g (5) = 20 + 5 = 25
Cout <X; // output result: 25
}
How to debug the program?
Step 1: In the compiling environment of VC ++ 6.0,
File → new → left-click the Win32 console application on the project Tab
Project name: ch6_2, and then create a new Workspace
Step 2: the pop-up form asks "What type of console program do you want to create?
The default item is an empty project. This is the case. Click Finish and click OK in the displayed form.
Step 3: When the classvview of ch6_2 classes is displayed on the left of the interface, you can create a CPP file.
File → new → click "C ++ source file" with the left mouse button"
File Name: file1
Copy the code.
Similarly, create another "C ++ source file" and name it file2.
Copy the code

Step 3: click this icon! That is, the compilation is implemented. The dos form pops up and the answer is calculated directly to 25.

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.