there is no problem with the compiler the thing is that you have probably used
int main() and you have return 0 in your hello wolrd progie to see the output use
void main() and return no value,in this way you can see the output !
---------------------------------------------------------------------------------------------------------------
#include<iosteam.h>

void main(){
cout<<"Hello world";
}
---------------------------------------------------------------------------------------------------------------