for some odd reason Borland 5.0 compiler dosnt like the following code.

#include <iostream.h>

int main()
{
char name[25];
cout<<"Please type in your name\n";
cin<<name;
cout<<"Your name is: "<<name;

return 0;
}


i get no errors but when i run it winblow$ comes up with a critical error any clues what is happening???