void CPlayer::CreatePlayer()
{
char *playtemp;
cout<<"Enter Player Name: ";
cin>>playername;
cout<<"Enter Password: ";
cin>>pass;
playtemp = playername;
strcat(playtemp,".plr");
ofstream fout(playtemp,ios::binary);
fout<<playername<<pass;
fout.close();
}
Why dosen't that work?