Quote:
Originally Posted by MrPickle I don't know if it's called a compiler. Something that shows what some code does, say I done the Hello world thing, it would show me "Hello World". |
There's actually 2 stages to what you're asking here. One cannot simply take code and directly see output from that code (C/C++ is
not a scripting language like HTML/JavaScript/ASP/etc).
- First of all, you need a compiler which translates your program into machine code. Once you have run the compiler (And assuming the compilation was successful) you should have a standalone runnable program. Compilers are different depending on your O/S. If you run Linux/unix, you should already have GCC installed. For windows, you can download MinGW, which is a windows port of GCC
If you prefer, you could pick an IDE (Integrated Development Environment) which will automate the compile/run process. (Most IDE's that I know of come with a compiler)
For windows, use something like Code::Blocks, Visual Studio, Dev-C++ or Quincy.
Under *nix, I believe Eclipse is pretty good.
(Edit - All of these apps are easily found on google)