Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 C++ 编程新手,我想尝试 C++11 的新功能。
那么我要问的是如何切换visual-studio 2010才能编译c ++ 11源代码?
没有开关;VC10(和 VC12)将始终编译符合它们支持的 C++11 部分的代码。这当然不是全部。
可以参考这张表:VC10中的C++0x核心语言特性:表。只需在您的代码中使用它们。