编译“标准” C ++在visual studio(非.net) [英] compiling "standard" C++ in visual studio (non .net)
问题描述
(这可能是一个非常初学者的问题,我可能会缺少一些明显的东西)
我刚刚从我的Mac移回到Windows, m试图与C ++建立。我有visual studio 2008 C ++:如何编译正常非.net / clr C ++?我想要一个命令行应用程序,唯一的项目似乎合适的是CLR控制台应用程序。我的东西工作和编译良好的Xcode或dev C + +,但VS给我57个错误,似乎只想要我做.net的东西。我必须包括stdafx.h之前,它甚至会做任何事情。我可以使用纯旧的C ++,std :: string和向量,没有.net的东西?
<选择常规 - >清空项目项目类型。
(This is a probably a very beginner question and I may be missing something obvious)
I've just moved from my mac back to windows, and I'm trying to get set up with C++. I have visual studio 2008 C++: how do I compile "normal" non .net/clr C++? I want a command line application, and the only project that seemed fit was "CLR console application." My stuff works and compiles fine with Xcode or dev C++, but VS gives me 57 errors, and seems to only want me to do .net stuff. I have to include "stdafx.h" before it will even do anything. Can I just use plain old C++, with std::string and vectors, without the .net stuff? Or do I need dev c++?
thanks guys!
Select General->Empty project project type.
这篇关于编译“标准” C ++在visual studio(非.net)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!