貌似很简单啊前缀和后缀的区别是返回值不同。比如 int a = 2; int c ; c = a++; c=2 c = ++a; c=3class A {public: friend A operator++(); 全局前缀 friend A opeator++(int); 全局后缀public: A operator++(); 成员函数前缀 A opeator++(int); 成员函数后缀};