FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


A Good C/C++ Compiler?





Gushe
Hello all. Smile

I've just started to deepen myself in the Art of C programming, to continue with C++.
But now the first problem is, a good Compiler.

I'm looking for a relatively Simple compiler and Preferably Portable.
It just has to be able Compile my C/C++ projects from Command line.

And it Would be Awesome if I could use it directly from my Flash Drive.


I'e already found Dev C++; a GNU C/C++ Compiler that runs Portable. The only problem is; it's a Full C/C++ Environtment; and I don't know if it can compile from Command Line.
Also I'd like to write programs simply in Wordpad/Notepad or something similar.


If anyone could help me on this; that'd be Greatly appreciated! Smile
Greetz;
~ GuShe.
[FuN]goku
MingW - Free
Microsoft Visual C++ 2008 Express Edition - Free
Borland C++ - I think you have to pay for it.

Probably a few others out there. Just google it Razz
snowboardalliance
[FuN]goku wrote:
MingW - Free
Microsoft Visual C++ 2008 Express Edition - Free
Borland C++ - I think you have to pay for it.

Probably a few others out there. Just google it Razz


I use MinGW and it's good. Also, if you like Dev-c++ without the IDE, well it uses MinGW so I think you'll like it.
Darkbrigader
Oh and about the umm, text-editor, try Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm
Indyan
I would also reccomend Mingnw.
Another excellent option is the free version of Microsoft Visual C++.
surdy
GCC (GNU Compiler Collection) by far is the best , if you use LINUX.

If your are a windows guy then there is Bloodshed Dev-C++ for you http://www.bloodshed.net/devcpp.html

It uses Mingw port of GCC as it's compiler. There is also an option of Dev-C++ with Cygwin or any other GCC based compiler.
IllusionSoftware
MinGW with MSYS (MSYS is a command prompt to use with MinGW)

Cygwin (Has GCC and Cygwin is a *nix type command prompt for Windows)

Visual Studio Express 2005/2008 - There is a command line interface for it where you can use nmake to compile your projects.

All of these are free Smile
Kelcey
As others have mentioned... gcc and mingw are great.
nilsmo
Yeah you shouldn't need to pay for a C++ compiler.
RedFalcon2631
Most c++ compilers are free
Borland is good.
But i just think dev is out of this world
Studio Madcrow
It's a bit dated, but here's a benchmark that compares compilation speed and code quality (aka how fast compiled programs run after they're compiled) for a bunch of Win32 C compilers: http://www.willus.com/ccomp_benchmark.shtml

Hope this helps.
drakkarsoft
Borland C++ Builder 5.5 command line compiler which is free and great. It is small and portable. It is < 60MB after installation. Please see the official page:
http://dn.codegear.com/article/20633

The free download includes:

Borland C++ Command Line Tools
Borland C++ Compiler v5.5 (bcc32)
Borland Turbo Incremental Linker (tlink32)
Borland Resource Compiler / Binder (brc32, brcc32)
C++ Win32 Preprocessor (cpp32)
ANSI/OEM character set file conversion utility (fconvert)
Import Definitions utility to provide information about DLLs (impdef)
Import Library utility to create import libraries from DLLs (implib)
Borland Turbo Dump to structurally analyse EXE, OBJ and LIB files (tdump)
Librarian for symbol case-conversion, creating extended libraries and modifying page size (tlib)



Included Libraries

Borland C/C++ Runtime Library
ANSI/ISO Standard Template Library (STL)
xbcd
as stated earlier for *nix systems gcc 4 and up is the best.
s4nd33p
According to me the best c/c++ compiler is GCC Wink
ThePolemistis
Gushe wrote:



I'e already found Dev C++; a GNU C/C++ Compiler that runs Portable. The only problem is; it's a Full C/C++ Environtment; and I don't know if it can compile from Command Line.
Also I'd like to write programs simply in Wordpad/Notepad or something similar.


yes u can compile programs from the command line too.
Use the compilers others have mentioned in this thread, e.g. gcc for linux, and mingw (comes with dev cpp) for Windows
mehulved
Maybe you can try the beta release of gcc 4.3 for windows along with Relo IDE.
lsjohnson
http://www.bloodshed.net/devcpp.html
csoftdev
use gnu c/c++ compile if you are using linux or if you like there are some other "visual studio" like softwaers out there too. if you are using windows, perhaps most people will prefer visual studio or something from borland.
zhaoying
I try to find out what OS you are using ,but failed.
If you use Window Xp sp2 or above ,I suggest you use Microsoft Visual Studio 2008 which including
Microsoft Visual C++ 2008.
Microsoft Visual Studio 2008 is amazing tool to build application ,and a good tool to learn.
Good luck to you!
silentdae
You will probably grow out of that whole "write programs simply in Wordpad/Notepad" thing soon.
As someone else stated, Notepad++ is a good alternative to plain old Notepad.

I use Microsoft Visual Studio 2008 w/Visual Assist X.
It may be the best for actually writing code (w/Visual Assist).
It makes things go much faster and the syntax highlighting is great on the eyes.

I previously used MinGW as well, it's very good.
You can use the CodeBlocks IDE:
http://www.codeblocks.org
It's better than Dev-C++ in my opinion but I haven't used either for years.
realtrue
Instead using DevC++, you can consider using wxDevC++ because it is not only portable, but you can compile your C++ to other operating system like Linux, Mac OS, PDA, and many more.
Single C++ code can be use for many Operating System.

It is based on wxWidgets, therefore it is portable.
silentdae
I just thought I'd update you.
I actually use CodeBlocks a lot now.
It's lightweight (unlike Visual Studio).
Its code completion isn't perfect but it does help sometimes.
And it's cross-platform.

I usually use it for my small projects.
For anything large, I still use Visual Studio.

Also, CodeBlocks has a great plug-in interface.
Get the SVN version and you can easily write your own plug-ins and view the code of other plug-ins.
realtrue
I use DialogBlocks from Anthemion and not wxDevC++ anymore because it support the most wxWidgets can support like wxAUI that can make your software has nice looking and sizer as well. But it is not free, the free version only max 30 components. I highly recommended using this. This software also generate *.sln file for Visual Studio. This is also real cross platform because DialogBlocks it self has some version in Windows, Linux and MacOS. Unlike using wxDevC++, that needs to adjust the compiler for Linux and MacOS, DialogsBlock project can simply open with DialogBlocks in different operating system and compile it.
Studio Madcrow
Dev-C++ is based on GCC, which is a command line compiler, so you can use it without fear knowing that the command line program is there to use if you need to.
harismushtaq
This post remembers me my early university time when we started with Turbo C++ 3.0 compiler for both C and C++. At that time, the Blue dos text mode screen seemed to the most complex ground of real hardworking, brainstorming development that was supposed to rock the world.
Chinmoy
I use gcc! who uses a proprietory compiler?go for open source
everfine99
DevC++
TurboC++
Microsoft Visual C++ 2008 Express Edition
BorlandC++
Related topics
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.