Log in

View Full Version : Good C++ compiler?



Trinithis
08-17-2007, 05:59 AM
Any suggestions for good and free C++ compilers/IDMs? It might be useful to know I've never written anything in C or C++ before, but I have some experience with Java and have used JBuilder.

Twey
08-17-2007, 06:47 AM
The gcc suite will include anything you might need. It comes as standard with any GNU distribution, and is available for Windows most easily as part of the Dev-C++ IDE (http://www.bloodshed.net/devcpp.html).

shachi
08-17-2007, 06:57 AM
I'd ask for a portable c compiler(which you can carry in a usb stick)

Twey
08-17-2007, 07:00 AM
Er? Why?

Trinithis
08-17-2007, 04:53 PM
What's a gcc suite or a GNU distribution? In any case am I correct in saying that whatever they are, they come with Dev-C++ IDE?

Twey
08-17-2007, 05:02 PM
What's a gcc suiteThe GNU Compiler Collection, one of the best compiler suites available.
or a GNU distribution?GNU is Not Unix: a UNIX-like distribution of Free utilities distributed with most Free kernels -- Linux, BSD, Hurd, and the like.
In any case am I correct in saying that whatever they are, they come with Dev-C++ IDE?Yes.

Trinithis
08-17-2007, 05:53 PM
Thanks for the help. Just two questions. Is there a way to change the color of the bracket highlighting (I don't like black)? And is there a way for the program to automatically indent the closing brace of a block, as with the following?



function () {
//stuff
}

vs.


function () {
//stuff
}

Twey
08-17-2007, 06:27 PM
The answer to both of your questions is "probably." I don't use Dev-C++ any more: it's Windows-only and IMO, KDevelop is better anyway. Play around in the options and documentation and see what you can do?