chenyy309
chenyy309
关注数: 15
粉丝数: 34
发帖数: 617
关注贴吧数: 81
操作符函数出问题a,救急 class Book{ public: long NO; string name,auther; int num,all_num; Book& operator =( Book &); }; Book& Book::operator =(Book & book) { all_num = book.all_num; num = book.num; NO = book.NO; name = book.name; auther = book.auther; return *this; } 为什么name = book.name 会引发中断
首页
1
2
下一页