class CE
{
private:
int a,b;
int getmin()
{
return ( a < b ? a : b );
}
public:
int c;
void SetValue(int x1,int x2,int x3) //1。去除一个空格
{
a = x1;
b = x2;
c = x3;
}
int GetMin();
};
int CE::GetMin() //2.增加域定义
{
int d = getmin(); //3。后面加上分号
return( d < c ? d : c );
}