I am getting started in C++. How can I setup Visual Studio 2008 to create native (not managed) code?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Choose a Win32 Project
.
回答2:
If you're just getting started you probably want a Win32 Console Application, and not a Win32 App. File -> New -> Project -> Visual C++ -> Win32 -> Win32 Console Application
When you create the project itself you'll probably want to click Next before you click Finish, and select Empty Project so that VS won't add a bunch of junk to your project for you.
回答3:
File -> New -> project (maybe go to other lang if you see c#) -> visuall c++ -> win32
You can choose other types there it still be native.
(like mfc, but I doubt if you really need something other then the basic win32)
回答4:
In the new projects dialog, choose any project type under the Visual C++ group. You'll need Visual Studio Pro, or Visual Studio Express for C++.