DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Which C++ complier to use (http://www.daniweb.com/forums/thread107576.html)

vishalkhialani Feb 4th, 2008 10:23 am
Which C++ complier to use
 
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,

plgriffith Feb 4th, 2008 10:26 am
Re: Which C++ complier to use
 
What operating system are you using? I personally like g++ the best, but if you use Windows you may want to go another route.

carnage Feb 4th, 2008 10:50 am
Re: Which C++ complier to use
 
Dev-C++ for me.

you might want to try MS visualC++ 2008 express

haven't tried it yet though.

vishalkhialani Feb 4th, 2008 11:49 pm
Re: Which C++ complier to use
 
I am on windows.

Which is the compiler most widely used in the industry ?

plgriffith Feb 5th, 2008 12:13 am
Re: Which C++ complier to use
 
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.

Ancient Dragon Feb 5th, 2008 12:17 am
Re: Which C++ complier to use
 
Quote:

Originally Posted by vishalkhialani (Post 525914)
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.

Killer_Typo Feb 5th, 2008 12:25 am
Re: Which C++ complier to use
 
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.

vijayan121 Feb 5th, 2008 2:17 am
Re: Which C++ complier to use
 
> 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.

Han1977 Feb 5th, 2008 4:44 am
Re: Which C++ complier to use
 
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.

Slate2006 Feb 5th, 2008 11:34 am
Re: Which C++ complier to use
 
Quote:

Originally Posted by carnage (Post 525449)
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.


All times are GMT -4. The time now is 5:28 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC