strcpy is annoying! help!
Hi All,
I'm having a an annoying problem with some source, any help will be greatly appreciated!
char point;
//load all other variables etc
//Load BattleStatus.dat into oceanp
thefile.open("battlestatus.dat");
for(rowd = 0; rowd <=9; rowd++)
{
for (cold = 0; cold <=9; cold++)
{
thefile.get(point);
if(point == '~')
//The problem is below I keep getting the following compiler error about the strcpy: error C2664: 'strcpy' : cannot convert parameter 1 from 'char' to 'char *'
strcpy(point, " ");
oceanp[rowd][cold] = point;
}
}
thefile.close();
Plz help!
Regards,
Smithy.