|
I think I helped the people that had problems getting a compiler yesterday, but here's something like an article for general help on how to get a compiler.
MS Visual C++ (Windows):
This software is NOT free. That means you have to buy it.
DJGPP (DOS):
You should first go to the DJGPP site, and then find a link called "Zip Picker" which will redirect you here. This is a utility site to help you choose the right zips for the stuff you want to download. First of all choose the right OS version, then for the online documentation select No and then select the following from the check box list: C, C++, Assembly (these are what you should get if you want to be a future programmer). For the IDE choose either RHIDE or Emacs; I use neither. When using DJGPP I write in notepad :P And we won't be needing anything from the extra stuff in class. Hit "Tell me which files is need", you will be redirected to a new site and you can d/l the zips from there. Please read the installation how-to file, because there's something tricky you must do when installing DJGPP.
MinGW (Windows):
I think this is a more popular compiler for Windows than DJGPP, even though I haven't used it yet. Anyway, go to the MinGW site, and then in the left column find the "Download" link. Once you're in the d/l page scroll down and go to the "Current" row (right after "Candidate"). Okay there's a whole bunch of files there now. Since you're a Windows user I bet you don't know much from compiling from source, so I suggest you get the binaries of the tar.gz's for: gcc-core and gcc-g++.
Dev-C++ IDE (Windows):
This is NOT a compiler, it is an IDE (Integrated Development Environment, helps you write code easily; something like a cool editor). It works on top of MinGW, so if you get this you must use it with MinGW. Go to the Dev-C++ site. I suggest that you get the 5 beta. Go to the 5 beta download page, scroll a bit down and download from either one of the three links the file on the section "Dev-C++ 5.0 beta 8 (4.9.8.0) (12 MB) with Mingw/GCC 3.2". This will get you Dev-C++ AND MinGW, so you needn't have MinGW installed beforehands. From what I can see Dev-C++ is a good IDE, looks like Delphi's; I'll be d/ling it shorty :P
G++ (GCC) (*NIX):
First you go to the GNU GCC site, then you go to the releases site and then choose the version you wish to download. Please follow the compilation instructions, please go through them *carefully* in order to enable everything you want to be enabled, and disable all the unwanted functionality. This is the dominant compiler in the *NIX world. The site mentioned is the GNU site, thus providing the GNU version distributed under the GPL. If you have *BSD and wish to get the BSD version you must go to your *BSD's site and get it from there. This compiler is usually preinstalled in your system.
|