error C2065: 'string' : undeclared identifier
求解:void save()
{
char Q,W,E,R,T,Y,U,I,O,P,A,S;
Q=(char)player.atk;
W=(char)player.def;
E=(char)player.hp;
R=(char)player.kill;
T=(char)player.mdef;
Y=(char)player.miss;
U=(char)player.mp;
I=(char)player.mutip;
O=(char)player.place.x;
P=(char)player.place.y;
A=(char)player.place.floor;
S=(char)player.
char string[10]={Q,W,E,R,T,Y,U,I,O,P,A,S};//Error C2143: syntax error : missing ';' before 'type'
fp=fopen("data","w");
fputs(string,fp);//Error C2065: 'string' : undeclared identifier Warning C4024: 'fputs' : different types for formal and actual parameter 1
}