Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GCC g++ for WIndows 2000

Posted on 2004-08-09
5
Medium Priority
?
204 Views
Last Modified: 2010-04-01
Hi,
Where can I find a simple installation for the GCC compiler for WIn2k.
By simple I mean "download and play".
I have found many sources but whenevr I try to compile a trivial program that includes only "iostream" I end up with some missing types.

Thanks
0
Comment
Question by:mco
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
SteH earned 400 total points
ID: 11751714
have you tried dev-C++?

www.bloodshed.net
0
 
LVL 1

Author Comment

by:mco
ID: 11751832
I haven't found what I am looking for there.
I am looking to download a package, that I can immediately then run the command "g++ foo.cpp: for a simple program using only iostream, and succeed.
It has to be simple, installation wise, and not an IDE.
0
 
LVL 13

Expert Comment

by:SteH
ID: 11752188
You could then try to download the files from
http://www.mingw.org/
This is part of Dev-Cpp but contains only the compiler and some libraries. So it eases the use of gcc under windows. Drawback is that you need to download several files. Dev-Cpp is a single file to download but adds and IDE to the compiler.
0
 
LVL 11

Expert Comment

by:avizit
ID: 11752569
try cygwin


www.cygwin.com 

it wil let you type g++ test.cpp


0
 
LVL 1

Author Comment

by:mco
ID: 11761464
I could use the g++ command directly after installing dev-cpp
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question