I am getting started in C++. How can I setup Visual Studio 2008 to create native (not managed) code?
A:
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)
Dani
2009-11-05 15:29:05
I think that the latest versions of MFC contain both native and managed code, better to check first if it is possible to stick to native code.
RedGlyph
2009-11-05 16:37:55
checked - it can be native.I was a real mfc fan.. but after 5 years in c# I can't even think of going back...
Dani
2009-11-05 18:43:29
A:
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++.
Phillip Ngan
2009-11-05 15:30:35
+1
A:
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.
Jesse O'Brien
2009-11-05 15:58:41