13 Replies - 10817 Views - Last Post: 05 February 2011 - 03:28 AM Rate Topic: -----

#1 kr0nuz.pl46u3  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 06-June 10

What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 09:50 AM

To all who is reading this topic. What is the BEST C/C++ Compiler for you?

-- Mine is "DEV C++", What's yours?
Is This A Good Question/Topic? 0
  • +

Replies To: What is the BEST C/C++ Compiler for you?

#2 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 762
  • View blog
  • Posts: 2,218
  • Joined: 20-March 10

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 09:53 AM

Code::Blocks with MinGW as the compiler its cross platform open source and FREE
which is best of all.

MSVC Express Edition with the windows platform sdk download is also very good.
Was This Post Helpful? 0
  • +
  • -

#3 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 09:54 AM

Dev-C++ is not a compiler. It's an IDE. The compiler it uses is MinGW.

There isn't a best C++ compiler. It depends on what "best" means. Generally I work with the MSVC and GCC compilers. This is the case for the majority of people.
Was This Post Helpful? 1
  • +
  • -

#4 oscode  Icon User is offline

  • D.I.C Regular

Reputation: 109
  • View blog
  • Posts: 257
  • Joined: 24-October 10

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 09:55 AM

Dev-C++ isn't a compiler it's an IDE. I think it uses the compiler provided by MinGW.
The best C/C++ compiler for me on linux are gcc/g++. On Windows MinGW and Microsoft's C++ compiler.

This post has been edited by oscode: 26 October 2010 - 09:56 AM

Was This Post Helpful? 0
  • +
  • -

#5 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 10:02 AM

I think the OP meant best ide.

For me Visual studio 2010 express edition is good enough to do my usual stuff.
Was This Post Helpful? 0
  • +
  • -

#6 Alex6788  Icon User is offline

  • kitties == adorable


Reputation: 144
  • View blog
  • Posts: 1,667
  • Joined: 15-July 10

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 11:04 AM

For me Microsoft visual C++ 2010 and 2008 express edition i love it.

@snoopy11 nice signature :wink:

This post has been edited by Alex6788: 26 October 2010 - 11:29 AM

Was This Post Helpful? 0
  • +
  • -

#7 SarumanTheWhite  Icon User is offline

  • D.I.C Regular

Reputation: 72
  • View blog
  • Posts: 352
  • Joined: 04-November 08

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 11:08 AM

I like to use Geany. It supports multiple languages and is pretty easy to use.
Was This Post Helpful? 0
  • +
  • -

#8 optix212  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 18
  • View blog
  • Posts: 453
  • Joined: 10-October 09

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 11:21 AM

I just started using Microsoft Visual C++ Express, but can't seem to figure out how to actually start the program.. I get it to build perfectly. I just think if they spent all this time and effort making this beautiful IDE for people, they could at least throw a simple "Run Program" button in it.. So until I figure out how to actually get my program to run, my favorite has to be DevC++
Was This Post Helpful? 0
  • +
  • -

#9 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5780
  • View blog
  • Posts: 12,594
  • Joined: 16-October 07

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 11:49 AM

Best compiler: gcc ( Really, it's all you need )

Best IDE: Visual Studio ( Windows ), Qt Creator ( Everywhere else )
Was This Post Helpful? 0
  • +
  • -

#10 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 11:56 AM

Quote

I just think if they spent all this time and effort making this beautiful IDE for people, they could at least throw a simple "Run Program" button in it.. So until I figure out how to actually get my program to run, my favorite has to be DevC++
Look under the debug menu. There are options to debug and run without debugging.

If I were in your position, I would have discovered this by:

1) checking the menus: There's only about 8 menus. Of which 5 of them are file/edit/view/windows/help. So this would have been trivial to investigate.

2) Googling: Any sane search query gets me answers at the top of the search results.

3) Checking documentation: Which I would do anyway because like other developers, I RTFM.

I believe there's also a button on the toolbar to run the program, and it's got a green play button. Since it's next to the portion of the toolbar where you configure what variant of the project gets built. So if I could get the program to build, I probably could hit the button right next to the building part...
Was This Post Helpful? 3
  • +
  • -

#11 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 12:01 PM

Well the most general are Microsoft's and GCC. However there are two compilers (Intel's compiler and the AMD supported Open64) which probably produce "better object code" (whatever that may mean) as these are fostered my the chip manufacturers.

For the most part compilers are compilers so long as they don't diverge too far from the standard. For example if you spend too much time around Microsoft's compiler you tend to get wedged into very platform specific/compiler specific practices -- which is not a big deal so long as you continue to use Microsoft's compiler.

The same argument can probably be made for any other compiler but I think more so with the Microsoft one because they really try to engage you in the windows platform.

I think that the GCC compiler I think has a little more C++0x implemented then Microsoft...

What would one propose we use as a Metric?

Which produces faster code?
Which compilers faster?
Which produces smaller code?


Really I think it just boils down to what fits with your favorite development environment and best fits your problem space.

for me... all of them (at least as many as I can get to work well when installed on the same machine) as most of my C/C++ is done aiding on the forum. So I often compile on multiple compilers.
Was This Post Helpful? 0
  • +
  • -

#12 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: What is the BEST C/C++ Compiler for you?

Posted 26 October 2010 - 12:10 PM

In terms of optimization, I think GCC and Intel sit at the top now. GCC's optimization strength surprised me. I heard numbers like near 2x speedup from switching from MSVC to GCC (kind of ridiculous), but I recall checking performance for code under MinGW and seeing almost a 2x speedup or something ridiculous. Basic C++ code too. EDIT: Obviously this was a particular case. But gcc is optimizing and vectoring code much better than MSVC.

There was a survey of compiler optimizations done in a presentation, where the generated instructions were analyzed, and I think gcc and icc sat at the top of the heap.

This post has been edited by Oler1s: 26 October 2010 - 12:12 PM

Was This Post Helpful? 0
  • +
  • -

#13 Guest_Sanjib*


Reputation:

Re: What is the BEST C/C++ Compiler for you?

Posted 05 February 2011 - 12:47 AM

I think Pelles C for Windows....is the best. Large library with beautiful interface...You can write both console and window based programs and even smartphone applications, pocket PC applications also. I am using 6.00.4 version. Try it mates, I am sure you will love this.
Was This Post Helpful? 0

#14 Aphex19  Icon User is offline

  • Born again Pastafarian.
  • member icon

Reputation: 614
  • View blog
  • Posts: 1,873
  • Joined: 02-August 09

Re: What is the BEST C/C++ Compiler for you?

Posted 05 February 2011 - 03:28 AM

Visual C++ 2010 has done me well, although G++ is a great compiler.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1