适用于 GCC 的适用于 Windows 7 的免费 C/C++ IDE

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5429381/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 18:09:06  来源:igfitidea点击:

Free C/C++ IDE for Windows 7 that works with GCC

c++cgccwindows-7ide

提问by Kushal

I've learned C and C++ in Borland's Turbo C++ IDE, the 16-Bit version with that old blue screen background, in which I started off building console programs for Windows. Now that Windows Vista and 7 doesn't support that IDE to be run in full-screen mode, I'm looking for such similar IDE (not necessarily from Borland), that comes with GCC, and doesn't need much learning to use if one has already worked with Turbo C. So is there any free GCC IDE that works with Windows 7? I'll not be using it for developing Windows applications, since I need it to practice on data structure console programs.

我在 Borland 的 Turbo C++ IDE(具有旧蓝屏背景的 16 位版本)中学习了 C 和 C++,我开始为 Windows 构建控制台程序。现在 Windows Vista 和 7 不支持该 IDE 以全屏模式运行,我正在寻找这种类似的 IDE(不一定来自 Borland),它带有 GCC,并且不需要太多学习使用如果已经使用 Turbo C。那么有没有适用于 Windows 7 的免费 G​​CC IDE?我不会使用它来开发 Windows 应用程序,因为我需要它来练习数据结构控制台程序。

回答by sbi

Turbo C++ is very old, and the concepts and philosophies of IDE design as (as well as the language C++ compilers are compiling) have developed much further since.

Turbo C++ 非常古老,IDE 设计的概念和哲学(以及 C++ 编译器正在编译的语言)从那时起有了更进一步的发展。

You might try Code::Blocksor Eclipse, but I wouldn't expect a transition as smooth as going to the next version of Turbo C++. (Which weren't as smooth either, BTW. The latest of that series, BCC 5.0 was quite different to the old DOS TC environments, and even that got abandoned later in favor of the verydifferent C++ Builder IDE.)

您可能会尝试Code::BlocksEclipse,但我不认为过渡会像到下一个 Turbo C++ 版本那样顺利。(顺便说一句,这也不是那么顺利。该系列的最新版本,BCC 5.0 与旧的 DOS TC 环境完全不同,甚至后来被完全不同的 C++ Builder IDE 所抛弃。)

BTW, does it haveto be GCC? Visual C++ Express is free also, the VC compiler isn't worse than GCC, and the IDE is quite good.

顺便说一句,它必须是海湾合作委员会吗?Visual C++ Express 也是免费的,VC 编译器不比 GCC 差,IDE 相当不错。

回答by Michael Burr

An open source IDE that runs on Windows that should get more mention than it currently does is QtCreator. While it's tailored to working with the Qt framework, it works just fine for non-Qt-based C++ work (though you won't get much help in the form of UI wizards unless you're using Qt for the UI).

QtCreator 是一个运行在 Windows 上的开源 IDE,它应该比目前得到更多的关注。虽然它是为使用 Qt 框架量身定制的,但它也适用于非基于 Qt 的 C++ 工作(尽管除非您将 Qt 用于 UI,否则您不会以 UI 向导的形式获得太多帮助)。

It's much lighter than Eclipse/CDT and I find it easier to use (though I normally use Visual Studio over either QtCreator or Eclipse/CDT).

它比 Eclipse/CDT 轻得多,而且我发现它更易于使用(尽管我通常在 QtCreator 或 Eclipse/CDT 上使用 Visual Studio)。

General information/marketing for QtCreator: http://qt.nokia.com/products/developer-tools/developer-tools

QtCreator 的一般信息/营销:http: //qt.nokia.com/products/developer-tools/developer-tools

Nokia provides a Windows package that includes the MinGW GCC compiler. Go to the download page and select the "Qt Creator 2.1 Binary for Windows" link (I have no idea why Nokia doesn't link to the download from the info page): http://qt.nokia.com/downloads

诺基亚提供了一个包含 MinGW GCC 编译器的 Windows 程序包。转到下载页面并选择“Qt Creator 2.1 Binary for Windows”链接(我不知道为什么诺基亚没有从信息页面链接到下载):http: //qt.nokia.com/downloads

Of course if you just want a free C++ IDE for Windows, and don't really care if it's GCC or MSVC based, I'd suggest getting VC++ Express: http://www.microsoft.com/express/Windows/

当然,如果您只想要一个免费的 Windows C++ IDE,并且并不真正关心它是基于 GCC 还是 MSVC,我建议您使用 VC++ Express:http: //www.microsoft.com/express/Windows/

回答by paxdiablo

If you're looking for a beer-freeIDE, just download Visual Studio Express from Microsoft- it's not gcc behind the covers but it is tuned very well for Windows.

如果您正在寻找不含啤酒的IDE,只需从 Microsoft下载Visual Studio Express- 它不是幕后的 gcc,但它已针对 Windows 进行了很好的调整。

If you're after a speech-freeone, Code::Blocksis the best I've ever seen. The larger setup packagefor Windows includes the backing gcccompiler and gdbdebugger.

如果你想要一个无言的人,Code::Blocks是我见过的最好的。更大的 Windows安装包包括后备gcc编译器和gdb调试器。

回答by dheerosaur

There are a few C++ IDEs with many features.

有一些具有许多功能的 C++ IDE。

  1. Bloodshed Dev C++
  2. NetBeans C C++ IDE
  3. Eclipse CDT
  4. CodeBlocks
  1. 流血开发 C++
  2. NetBeans C C++ IDE
  3. 日蚀CDT
  4. 代码块

Also take a look at Cygwinwhich provides a linux like environment for Windows. If you are making console applications, using a good shell won't hurt.

还可以看看Cygwin,它为 Windows 提供了类似 linux 的环境。如果您正在制作控制台应用程序,使用一个好的外壳不会有什么坏处。

回答by Javi R

You can use codeblocks: http://www.codeblocks.org/It is not a console IDE but you can build console programs and watch the output in a window.

您可以使用代码块:http: //www.codeblocks.org/它不是控制台 IDE,但您可以构建控制台程序并在窗口中观看输出。

回答by user2537774

The best solution if you are using windows is CODEBLOCKS-EP(Education Portal). You can find it at http://codeblocks.codecutter.org/Once you find it, I would personally recommend the "Zip (CodeBlocks-EP.zip)" file download. Hope this helps.

如果您使用 Windows,最好的解决方案是 CODEBLOCKS-EP(教育门户)。你可以在http://codeblocks.codecutter.org/找到它。 一旦你找到它,我个人推荐“Zip (CodeBlocks-EP.zip)”文件下载。希望这可以帮助。

Happy Coding

快乐编码

回答by Eugene Burtsev

I can suggest you Eclipse ID with CDT (you can download bundle from http://eclipse.org) + MinGW compiler tool. Or You can use the Code::Blocks IDE.

我可以建议您使用 CDT 的 Eclipse ID(您可以从http://eclipse.org下载包)+ MinGW 编译器工具。或者您可以使用 Code::Blocks IDE。

回答by Nodebody

I like Bloodshed Dev-C++, but I don't know if it runs on W7.

我喜欢 Bloodshed Dev-C++,但我不知道它是否在 W7 上运行。

回答by Priyatham51

I suggest using CodeLite opensource cross platform IDE for the C/C++ programming languages: It works great on almost all Operating Systems

我建议将 CodeLite 开源跨平台 IDE 用于 C/C++ 编程语言:它几乎适用于所有操作系统

Windows XP/7 and 8

Windows XP/7 和 8

Debian / Ubuntu

Debian / Ubuntu

Fedora / OpenSUSE

Fedora / OpenSUSE

Mac OSX 10.5.8

Mac OSX 10.5.8

http://codelite.org/

http://codelite.org/