I'm a begiinner with C++ and run on Vista. Initially, I had compiler problems but not with Dev C++. I'm presently running this version and compile programs.
Based on my experience, one thing I noticed is you appear to be using code from C and not C++. A couple of suggestions:
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
int main(){
cout<<"hello world"<<endl;
system("pause");
return 0;
}
The "using namespace.std;" allows you to simply say cout or cin without having to say std::cout or std::cin to show input or output lines. Also, you have to use the "#include <iostream> library for input/output functions.
Try this code above and see if your results change. If not, you may want to reinstlall your compiler.