c++ compiler..

I m trying to find a free c++ compiler but the 2 i have downloaded dont seem to work at all, i the microsoft visual c++ express 2008 and the free version of Just Basic and neither of them display the result when i run the code.

any help is much appreciated.
You should not be having any problem with Microsoft Visual Studio C++ Express, as that is a great development IDE, maybe you have coding errors. Try this program to see if it runs, its written in C++ so your source file will need the .cpp extension at the end of it.

[code=CPLUSPLUS]
#include<iostream>

using namespace std;

int main(){
cout << "Hello World :P" << endl;
return 0;
}
[/code]

It will output Hello World :P onto your screen.
Remember that the console window won't stay open with VC++
http://www.cplusplus.com/forum/articles/7312/
Topic archived. No new replies allowed.