50.在下面程序中的横线处填上适当内容,使程序完整
#include<iostream.h>
______
class A
{
int i;
public:
int set(B&);
int get(){return i;}
A(int x){i=x;}
} ;
class B
{
int i;
public:
B(int x){i=x;}
______ A;
} ;
int A::set(B&b)
{
return i=b.i;
}
void main()
{
A a(1);
B b(2);
cout<<a.get()<<",";
a.set(b);
cout<<a.get()<<endl;
}