可以同时使用,,=号报错是因为fraction类没有拷贝构造函数,fraction类需要添加一个拷贝构造函数:
fraction(fraction &c) { mu = c.mu; zi = c.ui; }