Question:
which is the best IDE i should use which has gcc ?
Archit
2014-07-27 05:20:51 UTC
I have been using TURBO C++ for 2 years till i learnes programming in school and now when i was trying to program on online questions i found out that gcc is now in trend for C++ instead of turbo c++ compiler ................ so which is the best IDE i should use which uses gcc ??
Four answers:
_Object
2014-07-27 08:07:01 UTC
GCC isn't "a trend".

Turbo C has been out for a quarter century since it's last update and is absolutely obsolete.

GCC (4.9.1) has been out for 11 days since it's last update :).



The difference between the GNU Compiler Collection (written in 1987) and Turbo C is that the C++ compiler, G++ is continuously updated and now fully supports C++11. Turbo C does not fully support C++89.



Other good compilers are

LLVM/Clang

Comeau C++

Netbeans



Following trends, anyways, is a waste of time.



Eclipse provides a C++ developer's toolkit which integrates with G++.

http://www.eclipse.org/cdt/

Code Blocks seems to be popular as well.

http://www.codeblocks.org/

If you are willing to do some configuration, Microsoft Visual Studio has a very nice (IMO the best) IDE, but I am unsure whether or not it is possible to configure it to completely support C++11 (i.e., replace MS's terrible extension-riddled compiler).

http://www.visualstudio.com/

Netbeans is a good choice as well.

https://netbeans.org/



Personally, I just use Emacs, and it turns out that I actually work faster with that than any of the IDE's above (I've tried them all).

If you are not familiar, Emacs is the arguably the most powerful text editor available.

The speed I gain by working with that makes up for some of the pain that comes with it not being an IDE: there is no auto-completion and the syntax highlighting for C++ is out of date. I've fixed that, however.



Basically what I'm saying is that it's the best thing I've found, but everything has shortcomings.
jplatt39
2014-07-27 11:24:02 UTC
Doesn't matter. GCC was created as part of the GNU tools in the days before IDEs and with gdb gprof and other tools was designed to be used from the command line -- which is why after 1995 I used IDEs only under protest and stopped totally around 2001. Dev C++ and Code:blocks at least use those other programs anyhow. For gdb, the GNU DeBugger, just type "info gdb" at the command line for any decent installation and in a windowing environment, all you need are a console (command line) and a text editor like notepad or (for Linux) gedit or leafpad with the program loaded.
2014-07-27 12:41:01 UTC
I like codeblocks



watch this video

/watch?v=tvC1WCdV1XU

https://www.youtube.com/watch?v=tvC1WCdV1XU



it tells how to download and compile programs with codeblocks



you can download codeblocks form here

http://www.codeblocks.org/downloads/binaries



get the one named

codeblocks-13.12mingw-setup.exe



or get

MS Visual C++ 2010 Express

http://www.visualstudio.com/downloads/download-visual-studio-vs#DownloadFamilies_4



or

Microsoft Visual Studio Express 2013 for Windows Desktop

http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop



all of those are free
2014-07-27 21:32:38 UTC
Code::Blocks works good for me. Netbeans is another good one.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...