Which C++ complier to use

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Mar 2007
Posts: 73
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Which C++ complier to use

 
1
  #1
Feb 4th, 2008
I have learned the basics of c++ and found out that different c++ compilers behave differently especially when it comes to errors.

I would like the community to advice as to which compiler is the most popular and if it can be used with .net so that once I develop an application I would like to to be portable to different platforms.


Thank you,
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 97
Reputation: plgriffith is an unknown quantity at this point 
Solved Threads: 6
plgriffith plgriffith is offline Offline
Junior Poster in Training

Re: Which C++ complier to use

 
0
  #2
Feb 4th, 2008
What operating system are you using? I personally like g++ the best, but if you use Windows you may want to go another route.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 55
Reputation: carnage is an unknown quantity at this point 
Solved Threads: 2
carnage carnage is offline Offline
Junior Poster in Training

Re: Which C++ complier to use

 
0
  #3
Feb 4th, 2008
Dev-C++ for me.

you might want to try MS visualC++ 2008 express

haven't tried it yet though.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 73
Reputation: vishalkhialani is on a distinguished road 
Solved Threads: 0
vishalkhialani's Avatar
vishalkhialani vishalkhialani is offline Offline
Junior Poster in Training

Re: Which C++ complier to use

 
0
  #4
Feb 4th, 2008
I am on windows.

Which is the compiler most widely used in the industry ?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 97
Reputation: plgriffith is an unknown quantity at this point 
Solved Threads: 6
plgriffith plgriffith is offline Offline
Junior Poster in Training

Re: Which C++ complier to use

 
0
  #5
Feb 5th, 2008
I haven't done much programming on windows, but when I did I used a compiler called mingw. I haven't had any problems with it, but like I said I haven't done all too much programming with it.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,661
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1500
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Which C++ complier to use

 
0
  #6
Feb 5th, 2008
Originally Posted by vishalkhialani View Post
I am on windows.

Which is the compiler most widely used in the industry ?
For MS-Windows, Microsoft compilers are naturally the most widely used by professional programmers because, for one reason, MS-Windows was written by Microsoft compilers. Here is one testimonial to that statement. Professionals rarly use the Express version, which is intended for learning. The Professional version is probably the most popular versions of Visual Studio 2008 series.
Last edited by Ancient Dragon; Feb 5th, 2008 at 12:19 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: Which C++ complier to use

 
0
  #7
Feb 5th, 2008
I use Microsoft Visual Studio Professional

if you are just starting out i would recommend the express versions.

I've dabbled around in other IDEs and with other compilers but i happen to like the MS Vis-studio IDE /Compiler the best.

The MSDN Library microsoft offers is very compiled as well.

Microsoft all around has taken very good care of it's programmers.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,089
Reputation: vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all vijayan121 is a name known to all 
Solved Threads: 164
vijayan121 vijayan121 is offline Offline
Veteran Poster

Re: Which C++ complier to use

 
0
  #8
Feb 5th, 2008
> which compiler is the most popular
the two mainstream c++ compilers are g++ (part of gcc) and vc++ (microsoft). and it is probably a good idea to stick to one of these; they are the most popular and attract the best support from third-party library and tool developers. both are also good as far as standards compliance is concerned. both (the express version of microsoft; the compiler is identical to that in the professional version) are free (well, neither is really free in terms of what you can do with them; but both are free in that you do not have to pay for them).
if you do not mind paying for a compiler, the comeau c++ compiler http://www.comeaucomputing.com/ would be a good option.

> if it can be used with .net so that once I develop an application I would like to to be portable to different platforms.
the notion of portability in standard c++ is source code portability; all these compilers would give you that.
the only c++/CLI compiler (that generates CIL which could run on many platforms) is the one from microsoft. other CLI implementations (like mono) do not provide c++ compiler support.
Last edited by vijayan121; Feb 5th, 2008 at 2:18 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 7
Reputation: Han1977 is an unknown quantity at this point 
Solved Threads: 1
Han1977 Han1977 is offline Offline
Newbie Poster

Re: Which C++ complier to use

 
0
  #9
Feb 5th, 2008
I use Bloodshed Dev c++, for its free but work well, I have bit problem when using .dll and such but probably its because I'm new with c++. Beside i can always find the solution from net.

But if .net compability is what you want then I guess visual c++ from visual studio is for you.
My blog about my hobby webcomic, games and religion:
http://strifeforbetterlife.blogspot.com
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 18
Reputation: Slate2006 is an unknown quantity at this point 
Solved Threads: 2
Slate2006 Slate2006 is offline Offline
Newbie Poster

Re: Which C++ complier to use

 
0
  #10
Feb 5th, 2008
Originally Posted by carnage View Post
Dev-C++ for me.

you might want to try MS visualC++ 2008 express

haven't tried it yet though.
I used Dev C++, and sometimes it doesn't compile functions. I would suggest Visual C++, whatever version you want. I use 2005.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 2548 | Replies: 16
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC