• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How do I get a C++ compiler?

akshayt

Banned
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.
 
Platform? If you're on Windows, MS offers their Visual Studio Express components for free download.

gcc is widely used, as well.
 
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?
 
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"?
 
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.

 
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
 
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.
 
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

 
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 🙂.
 
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!
 
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.
 
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.
 
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?
 
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.
 
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.
 
Back
Top