C++ Compilier Help
Does anyone know any good free C++ compiliers?
<(''''<) <('''')> (>'''')>
Ang88 Signing OFF...
<(''<) <('')> (>'')>Ang88 Signing OFF...
For Windows..
Borland now offers it's basic command line compiler for free..
http://www.borland.com/bcppbuilder/freecompiler/
DJGPP, a DOS/Windows port of GNU's gcc..
http://www.delorie.com/djgpp/
LCC-Win32, another GNU-ish style compiler..
http://www.cs.virginia.edu/~lcc-win32/
MinGW, "Minimalist GNU for Windows"..
http://www.mingw.org/
For Unix & Linux, you usually get the GNU tools with the OS install.
For Mac and others, try searching the web..
http://www.google.com/search?q=free+c%2B%2B+%7C+c+compiler
[edited by - Casteele on February 12, 2003 9:28:15 PM]
Borland now offers it's basic command line compiler for free..
http://www.borland.com/bcppbuilder/freecompiler/
DJGPP, a DOS/Windows port of GNU's gcc..
http://www.delorie.com/djgpp/
LCC-Win32, another GNU-ish style compiler..
http://www.cs.virginia.edu/~lcc-win32/
MinGW, "Minimalist GNU for Windows"..
http://www.mingw.org/
For Unix & Linux, you usually get the GNU tools with the OS install.
For Mac and others, try searching the web..
http://www.google.com/search?q=free+c%2B%2B+%7C+c+compiler
[edited by - Casteele on February 12, 2003 9:28:15 PM]
Decent C++ IDE for Windows:
Dev-C++
Download page for various versions.
[ Google || Start Here || ACCU || MSDN || STL || GameCoding || BarrysWorld || E-Mail Me ]
[edited by - Lektrix on February 13, 2003 10:43:52 AM]
Dev-C++
Download page for various versions.
[ Google || Start Here || ACCU || MSDN || STL || GameCoding || BarrysWorld || E-Mail Me ]
[edited by - Lektrix on February 13, 2003 10:43:52 AM]
[ Google || Start Here || ACCU || STL || Boost || MSDN || GotW || CUJ || MSVC++ Library Fixes || BarrysWorld || [email=lektrix@barrysworld.com]E-Mail Me[/email] ]
yeah devc++ is great for usability but its .h files are somewhat lacking for example the stdlib.h file has the system() function mangeled and not working but for a learning tool its good. on kinda the same lines does anyone know a good free IDE to go with borland 5.5 ...
'set a man a fire and he'll be warm for a night, set a man on fire and he'll be warm for the rest of his life.'
There is also the Microsoft Visual C++ Introductory version which you can find on the accompanying CD of quite a few books (A few of the SAM's titles have it on CD, for instance).
This version of VC++ is fully functional and differs from the full version only in that
(a) you are not allowed to use it for commercial purposes
(b) a messagebox pops up before the execution of the .exe saying (a)
[edited by - Kronos on February 14, 2003 7:31:32 PM]
This version of VC++ is fully functional and differs from the full version only in that
(a) you are not allowed to use it for commercial purposes
(b) a messagebox pops up before the execution of the .exe saying (a)
[edited by - Kronos on February 14, 2003 7:31:32 PM]
Kronos
quote: Original post by Vermillion
yeah devc++ is great for usability but its .h files are somewhat lacking for example the stdlib.h file has the system() function mangeled and not working but for a learning tool its good. on kinda the same lines does anyone know a good free IDE to go with borland 5.5 ...
Yeah, although I think Dev-C++ is the best free compiler out, I found that the header files were slightly strange; I don't think the C++ header files were put in namespaces if I remember correctly. But still, as I mentioned earlier, I think it is the best free C++ compiler, yet I would certainly recommend paying for Microsoft Visual C++.
[ Google || Start Here || ACCU || MSDN || STL || GameCoding || BarrysWorld || E-Mail Me ]
[edited by - Lektrix on February 15, 2003 6:47:04 AM]
[ Google || Start Here || ACCU || STL || Boost || MSDN || GotW || CUJ || MSVC++ Library Fixes || BarrysWorld || [email=lektrix@barrysworld.com]E-Mail Me[/email] ]
February 15, 2003 04:59 PM
If I''m not mistaken, Dev-C++ is ONLY the IDE (Integrated Development Environment), NOT the compiler. Instead, it ties together an interface and a third party compiler- so the .h files are a problem of the compiler it uses, not Dev-C++ itself. I believe there are also two compatible compilers that it uses- so try looking for the other one if you''re having problems.
Dev-C++ 4 uses mingw32-gcc 2.95 which have C++ librarie issues.
Tough, I can''t see any reason why system() wouldn''t work.
Either get Dev-C++ 5 uses mingw32-gcc 3.x, or upgrade gcc yourself.
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
Tough, I can''t see any reason why system() wouldn''t work.
Either get Dev-C++ 5 uses mingw32-gcc 3.x, or upgrade gcc yourself.
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
...
Which is why I only listed mingw in my first reply.. Dev-C++ is just an IDE, and in my experience, several of the pre-packaged mingw + Dev-C++ distros have been buggy. But getting the IDE and and compiler separately has given me fewer headaches.
As a side note on IDE''s and other development tools.. There are many out there, from freeware/public domain to full blown commercial. I recommend you try different compilers from the command line first, learn how to work it, etc. Find one that you like, then find an IDE and other tools that mesh well with it.
Choosing an IDE and then a compiler based on the IDE may work for some, but to me, it''s backwards. What if the IDE you REALLY like is designed to work with a 68K (Mac) cross-compiler? Granted, thats unlikely, but you get the point..
The compiler does all the work. And IDE is just as the acronym suggests, and integrated development environment. It simply ties the compiler to an editor, possibly a debugger, etc. Most of them will work with any compiler you choose. Even some simple text editors have options to allow you to call build tools (read "make" or "compiler") directly from the editor.
Cheers
Which is why I only listed mingw in my first reply.. Dev-C++ is just an IDE, and in my experience, several of the pre-packaged mingw + Dev-C++ distros have been buggy. But getting the IDE and and compiler separately has given me fewer headaches.
As a side note on IDE''s and other development tools.. There are many out there, from freeware/public domain to full blown commercial. I recommend you try different compilers from the command line first, learn how to work it, etc. Find one that you like, then find an IDE and other tools that mesh well with it.
Choosing an IDE and then a compiler based on the IDE may work for some, but to me, it''s backwards. What if the IDE you REALLY like is designed to work with a 68K (Mac) cross-compiler? Granted, thats unlikely, but you get the point..
The compiler does all the work. And IDE is just as the acronym suggests, and integrated development environment. It simply ties the compiler to an editor, possibly a debugger, etc. Most of them will work with any compiler you choose. Even some simple text editors have options to allow you to call build tools (read "make" or "compiler") directly from the editor.
Cheers
quote: Original post by Vermillion
yeah devc++ is great for usability but its .h files are somewhat lacking for example the stdlib.h file has the system() function mangeled and not working but for a learning tool its good. on kinda the same lines does anyone know a good free IDE to go with borland 5.5 ...
http://www.bloodshed.net/compilers/
That list many resources for the aspiring programmer. Note that the LCC-Win32 compiler includes a matching IDE+Debugger, even though the page above doesn''t say so..
I''ve only tried Dev-C++, myself, since I have Borland C++ 5.02 and Visual Studio 6, and use both IDE''s for just about everything BUT the compilers that came with them ;-)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement