如何将Visual Studio 2010切换到c ++ 11 [英] how to switch Visual-Studio 2010 into c++11

查看:213
本文介绍了如何将Visual Studio 2010切换到c ++ 11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是在c ++新编程,我想尝试c ++ 11新功能。

I'm new in programming in c++ and I want to try c++11 new features.

所以我要求的是如何切换视觉-studio 2010能够编译c ++ 11源吗?

So what am I asking for is how can I switch visual-studio 2010 to be able to compile c++11 sources?

推荐答案

VC10(和VC12)将总是编译符合它们支持的C ++ 11部分的代码。当然不是全部

There is no switch; VC10 (and VC12) will always compile code that conforms to the parts of C++11 that they support. Which of course is not all of it.

这篇关于如何将Visual Studio 2010切换到c ++ 11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆