什么C / C ++编译器应该怎么用? [英] What C/C++ compiler should I use?

查看:78
本文介绍了什么C / C ++编译器应该怎么用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经决定学习C,可能C ++也。我就从哪里开始困惑,但我知道我需要一个编译器来运行我的程序。你可以点我有一个良好的编译器,可以编译C和C ++?

I have decided to learn C and possibly C++ also. I am confused on where to start, but I know that I need a compiler to run my programs. Could you point me to a good compiler that can compile both C and C++?

另外,我应该从哪里开始学习C / C ++?

Also, where should I start learning C/C++?

推荐答案

两个最广泛使用的编译器可能Microsoft的Visual C ++编译器和GCC / G ++。

The two most widely used compilers are probably Microsoft's Visual C++ compiler, and GCC/G++.

两者同时支持C和C ++(虽然VC ++的支持C大多仅限于C89标准,而GCC pretty多支持C99)。

Both support both C and C++ (although VC++'s C support is mostly limited to the C89 standard, whereas GCC pretty much supports C99).

两者都还免费提供(在VC ++的情况下,通过下载的Visual C ++防爆preSS或Windows SDK)。

Both are also available for free (in VC++'s case, either by downloading Visual C++ Express, or the Windows SDK).

GCC只是一个编译器,所以你可能会想抓住一个IDE为好; VC ++配备了一个优秀的IDE开箱即用。

GCC is just a compiler, and so you'll probably want to grab an IDE as well; VC++ comes with an excellent IDE out of the box.

VC ++是仅适用于Windows,GCC在pretty多平台,任何你能想象的运行。

VC++ is Windows only, GCC runs on pretty much any platform you can imagine.

在Windows上,VC ++绝对是容易选项。如果你想使用GCC在Windows上,你应该得到一些MingW平台分布(大概或的this ,但绝对不是默认MingW平台)

On Windows, VC++ is definitely the "easy" option. If you want to use GCC on Windows, you should get some MingW distribution (probably this or this, but definitely not the "default" MingW)

如果您想了解C或C ++,找到一个编译器是比较容易的部分。学习语言是它得到有趣。 ;)

If you want to learn C or C++, finding a compiler is the easy part. Learning the languages is where it gets interesting. ;)

这篇关于什么C / C ++编译器应该怎么用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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