Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

How do i Complie this code

Hello i have this code:

#include <iostream.h>

int main(void)
{
  cout << "Hello World!";
  return 0;
}

Could someone please tell me a free complier to complie this and other C++ examples?
And once i have the complier how do i use it?
Thanks! I know java!
0
dvd99
Asked:
dvd99
1 Solution
 
bbousquetCommented:
I know Inprise is giving away its Borland C++ 5.5 (not sure about the version) compiler. Take a look at http://www.inprise.com

This is for Windows, though (and they don't give away the development environment - just the compiler).

You can also take a look at the various GCC ports available on the web.
0
 
maknightCommented:
Goto http://www.gnu.org, select your country preference, and then select the software link. Somewhere on that page you should find GCC. It comes with some online docs.
0
 
hongjunCommented:
Go to http://www.download.com and then type C compiler in the search form. Then choose to download BloodShed C++ compiler. This compiler is free and is quite user-friendly to use.

Just type your codings in the editor and then save it. Then click on compile and then run it. This should be easy because BloodShed is a menu-driven application program.

Hope it helps
hongjun
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now