Solved

Beginner wondering about a compiler?

Posted on 1998-08-10
3
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

751 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