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~

Be the first to answer this question.