Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 7 months ago.
why my program can't go to the class construction with C++
PART OF CODE: string strJson = ""; cout<<"sd_wallet func"<<endl;
Account act; stop running here
cout<<"act.getWallet()...begin"<<endl; strJson = act.getWallet (); cout<<"act.getWallet()...end"<<endl;
Account is a class which constrution function is here:
Account::Account() { cout<<"Account Construction begin..."<<endl; this->id = ""; this->alias = ""; this->quorum = 1; cout<<"Account Construction end..."<<endl; }
However,it cannot enter to Account construction to print information, Please help me,my gold!Thank you very much~