Visual Studio或GCC? [英] Visual Studio or GCC?

查看:625
本文介绍了Visual Studio或GCC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您应该选择什么来学习cpp编程?

What should you choose to learn cpp programming? As I know both have support for language but does that really make any difference If I have to make a choice?

推荐答案

如果你有一个选择, 只是学习,我建议G ++,但我建议你得到最新的一个你可以。这在win32上可能比平时更加​​困难(你可能需要手动升级mingw或其他东西)。因此,你可能会在第二个分区或某些旧电脑上安装Linux。

If you're just learning, I'd recommend G++ but I'd recommend you get the newest one you can. This might be a little tougher than usual on win32 (you'll probably have to hand-upgrade mingw or something). So, you might do yourself a lot of favors installing Linux on a second partition or some old PC or something.

我推荐G ++ vs VS的主要原因是实现语言的新位。 MSVC ++有一些C ++ 0x实现,但是它的一大部分不是。此外,他们有很多东西错误和/或在某种中间状态(有时他们说的是部分实现只能在他们的C / C / CLI语言,他们的列表中包括的功能支持C ++ 0x stuff)。 G ++另一方面是实现标准的人正在实现的新标准。它被分叉测试新的功能等等,并且在实现C ++ 0x比我可以想到的任何其他更深入。

The main reason I'd recommend G++ over VS is the implementation of the NEW bits of the language. MSVC++ has some of C++0x implemented but a huge portion of it is not. Furthermore, they got a lot of stuff wrong and/or in some sort of half-way state (and sometimes what they say is "partially implemented" is only available in their C++/CLI language, features of which they include in their list of supported C++0x stuff). G++ on the other hand is pretty much THE implementation of the new standard that people making the standard are actually implementing. It's been forked to test new features, etc, and is much, much further along in implementing C++0x than any others that I can think of.

为什么学习C ++ 0x?因为这是语言现在看起来像。为什么要学习老,当你最终不得不像每个人一样重新学习我。使用C ++ 0x扩展语言和改变语言在这么多方面,它几乎感觉像是全新的。在我看来,你会通过了解未来是什么样而不是过去(在VS的情况下,这两个人的混蛋)来服务自己。

Why learn C++0x? Because this is what the language is going to look like now. Why learn the old when you'll just end up having to relearn like everyone like me has. With C++0x extending the language and changing the language in so many ways, it almost feels like it's totally new. In my opinion you'd serve yourself well by just learning what the future is going to be like rather than the past (and in VS's case, a bastardization of the two).

我使用VS,因为我几乎有。如果我今天是一个新手,我会学习G ++获得所有的新的好东西。我完全希望自己可以使用它。

I use VS because I pretty much have to. If I was a newbie today I'd learn on G++ to get all the new goodies. I totally wish I could actually use it myself.

这篇关于Visual Studio或GCC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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