[try Beta version]
Not logged in

 
Favourite Compiler?

Pages: 12
Jan 7, 2014 at 9:33pm
closed account (EwCjE3v7)
Hi there,
I just wanted to know what your favourite compiler.

Mine is Clang++ as it shows u a correction
Example

cbout << "Hi" << endl;

G++ would give me something like there is no cbout in the library std

And clang would say that but also say: Did u mean cout?

And it highlights and is really neat.
What about you?
Last edited on Jan 7, 2014 at 11:02pm
Jan 7, 2014 at 9:43pm
This topic should be in Lounge, rather then here.
Jan 7, 2014 at 11:02pm
closed account (EwCjE3v7)
Oops. Moved :)
Jan 7, 2014 at 11:59pm
closed account (3hM2Nwbp)
Clang, hands down for the licensing alone. It is truly free open source software (unlike g++, as much as it claims to be).
Jan 8, 2014 at 7:12am
closed account (N36fSL3A)
The best compiler is the one that's shipped with visual studio. Other than that, MinGW.
Jan 8, 2014 at 8:07am
I too like clang the most out of the compilers I've used so far, though g++ is a very nice option too and definitely a worthy second.

-Albatross
Jan 8, 2014 at 8:22am
closed account (EwCjE3v7)
Yea i just wanted to see if there was any compilers i have not used.
I have used the visual studio one but is really rubish as you need to put in system pause or an alternative to have cinsole there.
Thanks anymore
Jan 8, 2014 at 8:46am
closed account (N36fSL3A)
All you have to do is use cin.get(); to hold your program. You should never even need to do that for larger projects you create later in your time programming, as they'll have a program loop.

Wait, your compiler highlights syntax? You mean your text editor does, right?
Jan 8, 2014 at 8:58am
You don't even need that, if the subsystem is set to console ctrl+F5 will hold the window open.
Jan 8, 2014 at 9:00am
and the moral of the story is...learn to use your tools correctly.
Jan 8, 2014 at 9:16am
closed account (N36fSL3A)
@naraku Woah, I didn't even know that.

@Daemon What?
Jan 8, 2014 at 9:24am
Lumpkin wrote:
Daemon What?

CaptainBlastXD should learn to use the tools (Visual Studio) correctly before complaining that it "is really rubish as you need to put in system pause or an alternative to have cinsole there".
Jan 8, 2014 at 9:25am
closed account (N36fSL3A)
Oooohhh, okay.
Jan 8, 2014 at 9:44am
MinGW/G++ in general.
Used to be on the VS side tho, changed my idea after a while.

You don't really need your compiler to tell you which typo you did, because if you go on that line and you don't notice cout being cbout, you're either gonna learn a lot, or you shouldn't be programming at all.
Jan 8, 2014 at 3:37pm
Even in G++, it'll tell something along the lines of "no member 'cbout' in std".
Jan 8, 2014 at 3:56pm
For work, I use the hardware vendor compilers (Intel C/C++ for Intel, IBM XL C/C++ for POWER, HP aCC for Itanium, Oracle CC for sparc). Of those, Intel compiler is the undisputable favorite, with its C++11 support and extra libraries.

For hobby projects, occasional Linux programming, and extra diagnostics before using production compilers, clang is the solid favorite since about 2010, when it got ahead of g++ in the new standard adoption (narrowly in core language features, and by a huge margin in the standard library, which g++ is still struggling with).
Jan 8, 2014 at 4:20pm
closed account (EwCjE3v7)
Guys we have our opinions and VS is still okay but you need to pay, and code::blocks is free. :D
Jan 8, 2014 at 5:10pm
@ResidentBiscuit: What I meant is, a compiler is not a dictionary, I prefer it when it just says which error I did, I don't like if it corrects me, it sounds so unprofessional.
Jan 8, 2014 at 7:02pm
Code::Blocks IDE?

Aceix.
Jan 8, 2014 at 7:47pm
closed account (EwCjE3v7)
@EssGeEich

Well like I said we all have our reasons. I like it when it tells me my mistake and you don`t. We are all equal but different in our ways.
Pages: 12