为了领积分哈!随便贴一段代码哈,O(∩_∩)O~!
#include<iostream>#include<string>using namespace std; class fraction; //const fraction operator=(const fraction &f1,const fraction &f2); const fraction operator+(const fraction &f1,const fraction &f2); const fraction operator-(const fract...