How do I create a native application using Visual

2020-04-24 11:07发布

I am getting started in C++. How can I setup Visual Studio 2008 to create native (not managed) code?

4条回答
Lonely孤独者°
2楼-- · 2020-04-24 11:20

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楼-- · 2020-04-24 11:23

Choose a Win32 Project.

查看更多
祖国的老花朵
4楼-- · 2020-04-24 11:24

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++.

查看更多
走好不送
5楼-- · 2020-04-24 11:31

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)

查看更多
登录 后发表回答