View Full Version : What is a good C++ compiler
victorroemer
10-20-2005, 05:05 PM
I have Visual C++ but its well quite beefy and it really needs a a tutorial on how to get around with it. So what is another good compiler minus my incapability to use Visual c++ at least until I learn the basics.
SamuraiCrow
10-20-2005, 05:11 PM
Another good compiler for Windows is Dev C++ (http://www.bloodshed.net/devcpp.html) which uses the MinGW version of GCC. It is free of charge and generates code that is generally as good as Visual C++. The IDE needs some work and there is another IDE that I haven't used called Code::Blocks. You might want to look into both.
bladder
10-20-2005, 06:34 PM
The basics of the VC++ IDE is not that hard to learn. Here're the basics:
- You start off by creating a new project (FILE MENU -> NEW -> Project)
- Then you choose the language you want to program in and the project type. Assuming C++ and a standard dos prompt program then you choose C++ project and "Console application"
- In the following dialog boxes and tabs seach for a ticker that says "empty project" next to it and make sure that is checked. Also make sure you are not creating a "static lib" or a "dll"
- Then you add a file to the project - (in the case of C++ you either add a header file or a souce file) and start programming as in any other compiler.
- You can link in libraries by writing this line in any file:
#pragma comment( lib, "libraryname.lib" )
If you're still confused about anything regarding the VC++ IDE then do ask, the basics are not that hard to learn and if you're going to be using the Windows platform then it really is the best IDE out there hands down.
Vexorian
10-21-2005, 02:33 PM
Code::Blocks is the best Free c++ ide out there (I actually like it more than Visual studio) http://www.codeblocks.org
And for compilers use mingw.
Ed Mack
10-21-2005, 04:24 PM
DevCpp http://www.bloodshed.net is a nice and quickly improving IDE.
Mihail121
10-22-2005, 07:26 AM
EdMack: I wouldn't call DevCpp "quickly improving" since it has not been updated for quite much time now...
Vexorian: Yes, Code::Blocks is indeed one of the best choices.
I personally use DevCpp.
DevCpp http://www.bloodshed.net is a nice and quickly improving IDE.Quickly improving? The last version is from february.
bombardier
10-22-2005, 12:23 PM
There is nothing out there that can beat Visual Studio + Visual Assist X.
.oisyn
10-22-2005, 02:59 PM
Reality check: I'm a visual studio fanboy, but it's seriously getting behind on other, more recent IDE's like Eclipse and Idea. It definitely needs support for features like refactoring and code generation. But Visual Studio 2005 is going to change a lot, I wonder how it's going to turn out.
That said, nothing beats VS' debugger :)
Ed Mack
10-22-2005, 06:42 PM
Quickly improving? The last version is from february.
I see the big jumps between versions as making up for that :) Okay, so I just like it a lot..
bramz
10-24-2005, 04:47 AM
That said, nothing beats VS' debugger :)
I second that sir!
m4x0r
10-24-2005, 10:09 PM
There is nothing out there that can beat Visual Studio + Visual Assist X.
How about Visual Studio + Visual Sidekick?
Max
Jordan
10-25-2005, 10:36 AM
How about Visual Studio + Visual Sidekick?
Max
Neat plugin, I hadn't seen that before. Thanks for pointing it out.
eddie
10-25-2005, 01:41 PM
Victor, I think your best bet is to tough it out with C++. You might want to try the free trial of Visual Assist (a personal fave, and a bargain at 99$) from www.wholetomato.com.
Really, C++ itself is a daunting language while you're learning it, but Visual C++ is not really the tough end of it. :) In fact, it's debugger is quite helpful, and it's docs are quite complete and relatively well written (I have beefs with their search mechanism, however. I advise using Google on the msdn website however).
Good luck! And ask plenty of questions. :)
zavie
10-26-2005, 05:41 AM
What about Valgrind ?
eddie
10-26-2005, 11:18 AM
Valgrind isn't a compiler, last I heard. It's a debugger that's awesome for memory debugging.
That said, I haven't used all aspects of Valgrind, but I can't imagine it compiles code.
zavie
10-26-2005, 04:31 PM
Valgrind isn't a compiler, last I heard.
Indeed. I was just replying to .oisyn and bramz about debuggers. :-)
Valgrind is very nice, but you can achieve what it does (well, the memory-leak checking) with some source-code tools too. For example Paul Nettle's mmgr works very well for me.
The other features are something that I surely miss on Windows. MS should implement something similar in Visual Studio.
thekingofgaming
12-15-2005, 09:17 AM
Free c++ compilers
Bloodshed
http://www.bloodshed.net/devcpp.html
Borland C++
http://www.borland.com/news/press_releases/2000/02_16_00_bcppcompiler.html
Cygwin (Gnu C++)
http://www.cygwin.com/
MINGW
http://www.mingw.org
Dj delore's C++
http://www.delorie.com/djgpp
Gnu gcc source
http://www.gnu.org/software/gcc/gcc.html
The LLVM Compiler Infrastructure
http://llvm.cs.uiuc.edu/
Uhm the Microsoft Compiler is free as well (including an IDE).
SamuraiCrow
12-15-2005, 01:47 PM
@ thekingofgaming
DevC++ uses MinGW internally and DJGPP is a DOS compiler that I wouldn't recommend for Windows development. LLVM is cool for portability but is it set up for a beginner? I think not.
kariem2k
12-15-2005, 02:11 PM
visual c++ is one of the best(even more when microsoft anounced that the express edition is free) and it very easy to learn the basics.
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.