What is a compilier

Nov 13, 2008 at 2:06pm
What is a compilier, how do you use one and where can you get one?

thanks
Nov 13, 2008 at 2:33pm
You can download Visual Studio - http://www.microsoft.com/express/ and have a look around to find the 2008 version if you want that. Or you can download the 2005 version here http://www.microsoft.com/express/2005/
Nov 13, 2008 at 2:41pm
A compiler is software that takes your c++ code and makes it do something fantastic.
Nov 13, 2008 at 2:44pm
Haha, I like that -
do something fantastic
Nov 13, 2008 at 2:47pm
When you type a sourcecode in lets say, c++, your computer cant do anyting with it: he only onderstands his own machinecode. A compiler 'translates' the sourcecode into machinecode, so your computer is able to run the program. Besides a compiler you'll also need a linker (two different programs) in most cases. This is because you use librarys, wich need to be included, otherwise the program is incomplete. (This is called static librarys, you can also use one library for all your programs)
You can also run a program indirectly using an interpeter (eg, this is the case when you use html), but thats a lot slower (to be honest, i dont know a program that can run c++ sourcecode, but i guess its possible).

Normally you wont use a compiler and a linker, but an IDE (Intergrated Development Environment), wich also has an editor and some help-tools in it. I would recommend DevC++ (http://www.bloodshed.net/). (DevC++ is not a compiler: it uses MinGW for that)
Last edited on Nov 13, 2008 at 2:49pm
Topic archived. No new replies allowed.