How do I get a C++ compiler?

akshayt

Banned
Feb 13, 2004
2,227
0
0
I have tried Bloodshed and Borland, those compilers just don't work. CAn anybody tell me where to get the conentional C++ compilers, I am unable to get a good one from anywhere.
 

mundane

Diamond Member
Jun 7, 2002
5,603
8
81
Platform? If you're on Windows, MS offers their Visual Studio Express components for free download.

gcc is widely used, as well.
 

Kirby

Lifer
Apr 10, 2006
12,028
2
0
I've heard that dev is pretty good. If you're a student you can get Visual Studio 2005 for free.
 

akshayt

Banned
Feb 13, 2004
2,227
0
0
Yes, I am a student. But I would prefer the latest versions of the conventional blue screen C++ compilers like they are used in school. Where do I find them?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I have tried Bloodshed and Borland, those compilers just don't work.

Yes they do.

Yes, I am a student. But I would prefer the latest versions of the conventional blue screen C++ compilers like they are used in school. Where do I find them?

What the hell is a "conventional blue screen C++ compiler"?
 

Kirby

Lifer
Apr 10, 2006
12,028
2
0
Originally posted by: Nothinman
I have tried Bloodshed and Borland, those compilers just don't work.

Yes they do.

Yes, I am a student. But I would prefer the latest versions of the conventional blue screen C++ compilers like they are used in school. Where do I find them?

What the hell is a "conventional blue screen C++ compiler"?

console application, perhaps? if so, VS2005 can do it.

 

TheoPetro

Banned
Nov 30, 2004
3,499
1
0
dev c++ is what I have been using. I like it but the debugging feature is kinda flakey....its free though so I cant really complain
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
console application, perhaps? if so, VS2005 can do it.

But blue? The only thing I can figure is that it's something really old like Borland C++ for DOS or something else and they just use DOS edit to edit the source files.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Originally posted by: Nothinman
What is a TC?

Possibly Turbo C compile - ancient Borland before there was a fancy Windows IDE.

That I believe was not a C++ compiler, just a C compiler

 

CTho9305

Elite Member
Jul 26, 2000
9,214
1
81
Originally posted by: EagleKeeper
Originally posted by: Nothinman
What is a TC?

Possibly Turbo C compile - ancient Borland before there was a fancy Windows IDE.

That I believe was not a C++ compiler, just a C compiler

I used "Borland Turbo C/C++ 1.x" a long time ago. The screen color was blue, and it compiled C++.

edit: Searching for a few seconds led to this - it has a download if you really want a compiler from 1991 ;).

edit2: Ok, downloaded, installed, ran it. It seems to be what I remember :).
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Possibly Turbo C compile - ancient Borland before there was a fancy Windows IDE.

That's what I figured but I was trying to get him to come out and actually say what he wanted.
 

BurnItDwn

Lifer
Oct 10, 1999
26,339
1,849
126
You're best to build a linux box, or dual boot into linux if you have only 1 box. Then just use vi as your editor (or emacs if you want) and gcc.

Hooray for open source!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You're best to build a linux box, or dual boot into linux if you have only 1 box. Then just use vi as your editor (or emacs if you want) and gcc.

Actually that's probably a bad idea if they're really using Turbo C++ from like the late 80s as the language has changed a decent amount since then. If they're just doing straight C he might be fine but I'd still bet that a newer gcc would complain about things that Turbo wouldn't.
 

Forsythe

Platinum Member
May 2, 2004
2,825
0
0
Originally posted by: Armitage
gcc if you're on unix, otherwise cygwin. Google will turn either up easily.

Bloodsheed works just fine, i use it. And it's a frontend for gcc.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Originally posted by: akshayt
Yes, I am a student. But I would prefer the latest versions of the conventional blue screen C++ compilers like they are used in school. Where do I find them?

Visual Studio is pretty widely acknowleged to be the best software development environment ever created, and as noted the express version is free for the download. The MSDN library is also free at msdn.microsoft.com. If you are targetting Windows you can't beat it. But as someone else noted, if you want a platform-independent minimalist environment get gcc.
 

duragezic

Lifer
Oct 11, 1999
11,234
4
81
I have VS 2005 from MSDN AA, but is there a simple command-line compiler like gcc/g++ for Windows? I don't want to learn a big IDE or the like since I'm doing pretty basic programs for my classes. I'm using VS 2005 for a C# project but I don't believe I installed the C++ component.

Maybe I'm just missing something obvious, but it looks like gcc only has linux binaries?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I believe the compiler that comes with VS is called cl.exe, but I could be wrong.

gcc has Windows binaries, that's what Bloodshed uses. Usually you'll want to get gcc via cygwin or the mingw stuff.
 

nova2

Senior member
Feb 3, 2006
982
1
0
get g++ (of mingw) , devc++, gdb and vs2005 (vs8).
(perhaps later get msys, too)

learning both environments can be a good idea.
it can certainly serve you well.