Original URL: http://blog.csdn.net/chengyafei0104/article/details/9826025
Now everyone computer is probably out of XP, so, before quite a lot of compilers can be used, may be placed in our current WIN7,WIN8 below will appear some such as incompatible with the problem. In fact, with Microsoft's powerful ide-visual Studio series, it is also possible to develop the C language.
Because my laptop is currently a WIN8 version of the system, but also installed a relatively new edition of Visual Studio 2012 (hereinafter referred to as VS2012), so from the vs2012 to do with the C language Development case [other versions similar].
1: Open Visual Studio, select New Project, menu file, new Project dialog box
2: In the New Project dialog box that pops up, select and fill in the corresponding properties.
3: After clicking OK, the Application Wizard will be followed up, as
Click Next to reach our important section:
Click Finish, then you will be entered into the project interface. In this interface, we click on "Resource File" under "Solution Explorer", then right-click "Add", "New Item"
4: In the fill out the Add New Item Properties dialog box, fill in the appropriate settings
Click Add!
5: Add our classic conversation statement to your editor
[CPP] view plaincopy
- #include <stdio.h>
- int main ()
- {
- printf ("Hello mike\n");
- return 0;
- }
6:ok, let's next build the solution, click on the menu "build", "Build Solution" (or F6)
Next, let us click on the Menu "Debug", select the debugging method you need, output we are familiar with the beautiful "Hello xxx" it!
I hope you have a lot of communication ...
"Go" Visual Studio 2012 for C language development [text]