第1关:类对象作为函数形参 编写一个output函数,以Int的常引用作为形参,其功能是输出形参的成员变量的值。输出为一行。 /********* Begin ********/ #include "Int.h" #include <iostream> using namespace std; void output(const Int&x){ cout<<x.getValue