Solved

Beginner wondering about a compiler?

Posted on 1998-08-10
3
207 Views
Last Modified: 2010-04-10
I'm a beginner at c++ and am just starting to learn the language. My first problem was to get a compiler to do c++ on, so I went to the Cygnus webpage and got the free program...I'm not sure what it's called...Gnu-Win32 I think. I went there because another page recommended it as a good free compiler. I downloaded the program and installed it. When I run it, a bash shell comes up. I have no idea what bash is and I've never used a c++ compiler before. So my question is, how do I use the c++ compiler or whatever it is that will just let me write some c++ and run it?
The page I got the program from was www.cygnus.com/misc/gnu-win32/ and then I got the cdk.exe from one of the download sites. Did I get the wrong program? Do I need to get something else for it? All I want is to be able to do some c++ and I don't know how. So if you could help me I'd greatly appreciate it, thanks.
0
Comment
Question by:jmitt
3 Comments
 

Accepted Solution

by:
Morten from Eliten earned 100 total points
ID: 1169870
He he he.

I've been looking at the Cygwin program you describe. It looks like Cygnus likes the UNIX style so much, that they decided to create a UNIX look-a-like shell. So if you know all about UNIX, go right ahead and use the CDK.EXE, it includes a compiler and everything, but my advice to you is to find a compiler for either MS-DOS, Windows95 or WindowsNT. I presume that you ARE using Windows95, since you use the CDK.EXE for windows.

So, go out and find yourself another compiler, (that isn't UNIX based), if you don't want to bother yourself with learning UNIX before you learn C++.

I'm sorry I can't help you out with any free c++ compilers for Windows or Dos, but I'm sure there are a couple of them out there.
0
 
LVL 1

Expert Comment

by:willemnel
ID: 1169871
Try the following website: www.delorie.com/djgpp/
There you'll find a full 32-bit compiler for free (for a few different opreating systems). It even has a interface very much like that of Borland's C++ builder AND some documentation on how to use the compiler.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1169872
A student version of Microsoft VC++ is only about $100.  Its worth every penny.  It has an integrated debugger and very good on-line help.  (borland is weak in those areas and the free ones don't ussualy have them at all.)  Both features will help you keep you sanity when learning C++.  Trust me.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

864 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now