Solved

How do i Complie this code

Posted on 2000-02-26
3
175 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

911 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now