Before has been accustomed to use VC 6.0 to write C program, but change to Win8 or WIN10, VC of all kinds of incompatible, all kinds of flash back really let people without words. So go to Visual Studio for C programming and use it to find that it works very well. This article is designed for those who have just contacted vs to write their own ideas, while the first contact vs possible problems to brief analysis.
1, how to use VS Configuration C project for the installation of VS, many online installation packages, can be installed as required. I installed the VS2010, it is recommended to install VS2013 and post-release version. Here is not the introduction of the installation process, mainly in the form of pictures to explain how to build C project:
2, about automatic completionYou can use the shortcut key CTRL +j or install
Visual Assist X, the installation of a lot of online, installation is relatively simple. After installation, VS appears as follows:
3. Problems that may arise q1:cannot find or open the PDB file
- such as:'C:\Windows\System32\kernel32. DLL', cannot find or open the PDB file
The procedure specific error is as follows:
Workaround: Download and cache it from the Microsoft symbol server.
after the cache, the Microsoft Symbol Server check box is removed, or every time you want to download, reduce the speed. Then the problem is resolved successfully.
4, the program output can not be the result of Flash back Q: Program "[14528] BiTree.exe: Native" has exited, the return value is 0 (0x0) may you like VC 6.0 above the print Hello World, you can not see the data displayed above the window. Here we can add a sentence: System ("pause"); Solve the problem.
Step by step teach you to go from VC 6.0 to Visual Studio to write C programs