[求助]派生问题(急)
#include <iostream.h>
class A
{
protected:
int a;
public:
void SeyDate(int x){a=x;};
int GetDate() { return a; };
};
class B
{
protected:
int b;
public:
void SeyDate(int y){b=y;};
int GetDate() { return b; };
};
class C:public A ,public B
{public : void SeyDate(int x,int y){a=x;b=y;};
} ;
void main()
{
C c;
c.SeyDate(30,70);
cout<<"a="<<c.GetDate()<<", b="<<c.GetDate()
<<endl;////这里怎么改哟??????????????
}