|
|
От: | Result | |
| Дата: | 12.06.11 11:37 | ||
| Оценка: | |||
class B : public A
{
public:
int XplusY(int x, int y)
{
return x+y;
};
double XplusY(int x1, int x2,int y)
{
return x1*x2+y;
};
double operator () (int x1, int x2,int y)
{
return XplusY(x1,x2,y);
};
};