Free C++ compiler

P

Praetorian

Hi,
I'm trying to learn C++ at home and need a free compiler for this.
Sourceforge has a few but I wasn't sure which one is good. Could
someone please suggest one to me?

Thanks,
Ashish
 
G

GB

Praetorian said:
Hi,
I'm trying to learn C++ at home and need a free compiler for this.
Sourceforge has a few but I wasn't sure which one is good. Could
someone please suggest one to me?

Thanks,
Ashish

If it's for Windows, and you have a broadband connection, you might
consider downloading the free Visual C++ Express from Microsoft:

http://msdn.microsoft.com/vstudio/express/visualc/

It includes a complete IDE and a decent C++ compiler. You don't have to
use the IDE if you don't want.

If you would rather use GCC-based tools, you can choose either MINGW or
cygwin. If your focus is on being able to build software that originates
on Linux, I recommend cygwin (www.cygwin.com). Be sure to select the g++
compiler during setup (cygwin includes almost an entire set of Linux
user tools ported to Windows).

If you choose MINGW, good luck figuring out what do download from the
mingw site. It is a mess.

Gregg
 
S

Scott McPhillips [MVP]

Praetorian said:
Hi,
I'm trying to learn C++ at home and need a free compiler for this.
Sourceforge has a few but I wasn't sure which one is good. Could
someone please suggest one to me?

Thanks,
Ashish

Microsoft's Visual C++ 2005 Express Edition is a free download:

http://msdn.microsoft.com/vstudio/express/

It will build "console" programs as is. Do that for learning C++. With
another free download (the Windows SDK) it can also build programs with
windows, buttons, mouse, etc.
 
P

Phlip

Scott said:
Microsoft's Visual C++ 2005 Express Edition is a free download:

http://msdn.microsoft.com/vstudio/express/

It will build "console" programs as is. Do that for learning C++. With
another free download (the Windows SDK) it can also build programs with
windows, buttons, mouse, etc.

http://www.cygwin.com/setup.exe

That will install g++, along with zillions of free software goodies, from
ash to an X server (a kind of windows).

The bad news is (big surprise) it has no cute GUI. You must learn BASH
command lines to run it.
 
B

BobR

GB wrote in message ...
If you choose MINGW, good luck figuring out what do download from the
mingw site. It is a mess.
Gregg

Dev-C++ IDE: http://www.bloodshed.net/
Easy way!

Add 'Msys' and you are close to Cygwin.
www.gnu.org

--
Bob R
POVrookie
--
MinGW (GNU compiler): http://www.mingw.org/
MinGWStudio http://www.parinyasoft.com/
wxWidgets URL: http://www.wxwidgets.org
V IDE & V GUI: http://www.objectcentral.com/
Quincy IDE 2005 URL: http://pipou.net/down/Quincy2005Project.zip
POVray: http://www.povray.org/
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Get "Thinking in C++", 2nd ed. Volume 1 by Bruce Eckel
(available for free here. You can buy it in hardcopy too.):
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
 
P

pcnate

I would recommend dev c++ from bloodshed.net. Its free, come with great
IDE and is very easy to use making it easier to concenrate on the code.
Try it out. Based on gcc
 
N

Neil Cerutti

GB wrote in message ...

Dev-C++ IDE: http://www.bloodshed.net/
Easy way!

Add 'Msys' and you are close to Cygwin.
www.gnu.org

Msys stinks out of the box, IMO, due to the lack of info.exe and
man.exe, and any of the documents those programs might usefully be
used on.

You can correct these problems yourself, but it's a pain. If you're
already very familiar with all the GNU tools, then perhaps it is OK
out of the box.
 
N

Noah Roberts

Praetorian said:
I can't find any .exe install files on the MinGW website, everything is
in tarballs and gunzips. Doesn't that mean it is for Linux?

It just means you can't find it. I used the exe install for mingw only
a couple weeks ago.
 
B

BobR

Neil Cerutti wrote in message ...
Msys stinks out of the box, IMO, due to the lack of info.exe and
man.exe, and any of the documents those programs might usefully be
used on.
You can correct these problems yourself, but it's a pain. If you're
already very familiar with all the GNU tools, then perhaps it is OK
out of the box.

Msys does not stink! The rest of your statement, I can not argue with. <G>

I have a ton of GNU docs in my 'Library' directory on the win98 partition. I
also use wxWidgets, which has 'tex2html' to convert to/from several formats.
Some pain, but, not that bad.
Could be a nightmare for a newbie though. Better documentation is obviously
needed.

I seem to remember mention of 'info' and 'man' tools on the GNU site. I'll
check if I get some free time.
Hmmm. " man2html.c " URL: http://www.delorie.com/server/man2html.c
(if that link is still alive)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top