#include<iostream>
using namespace std;
class base
{
private:
int x,y;
public:
void initxy(int a,int b){x=a;y=b;}
void show()
{______________}
} ;
void main()
{
base a,b;
_____________

#include<iostream>
using namespace std;
class base
{
private:
int x,y;
public:
void initxy(int a,int b){x=a;y=b;}
void show()
{______________}
} ;
void main()
{
base a,b;
_______________
a.show();
b=a;
b.show();
}

第1空:COUT<<X<<","<<Y<<ENDL;
第2空:A.INITXY(11,77);

Top