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