Solved

How do i Complie this code

Posted on 2000-02-26
3
177 Views
Last Modified: 2010-04-02
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
Comment
Question by:dvd99
3 Comments
 
LVL 2

Expert Comment

by:bbousquet
ID: 2560605
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
 

Expert Comment

by:maknight
ID: 2561387
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
 
LVL 33

Accepted Solution

by:
hongjun earned 10 total points
ID: 2562009
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

839 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