最近老是碰到这种问题。。。。(菜鸟问题-_-)
do
{
AccClass fixdeposit=fixDateDeposit;
char* nameFixPerson;
// fixpersonName.getline(nameFixPerson);
char* fixPersonId;
// fixpersonPersonID.getline(fixPersonId);
int accIDFixPerson;
// fixpersonAccID>>accIDFixPerson;
float balanceFixPerson;
// fixpersonBalan>>balanceFixPerson;
int timeFixPerson;
// fixpersonTime>>timeFixPerson;
int postFixPerson;
char* telFixPerson;
int passwordFixPerson;
fixpersonAccounts.getline(nameFixPerson,'/0');
fixpersonAccounts>>accIDFixPerson>>fixPersonId>>postFixPerson>>telFixPerson
>>balanceFixPerson>>timeFixPerson>>passwordFixPerson;
personNode=new personalAccount(accIDFixPerson,balanceFixPerson,nameFixPerson,fixPersonId,
fixdeposit,postFixPerson,telFixPerson,timeFixPerson
passwordFixPerson);
} while (fixpersonAccounts);
编译后出现N个这个错误:(82就是上面的最后一行)
main.cpp(82) : error C2143: syntax error : missing ';' before '}'
直到main.cpp(82) : fatal error C1003: error count exceeds 100; stopping compilation
请问我哪里少了分号啊???
真郁闷