#include <iostream.h>
#include <string.h>
class b
{
private:
int data;
public:
b()
{
cout<<"de c"<<endl;
}
~b()
{
cout<<"de"<<endl;
}
b(int i):data(i)
{
cout<<"co b pa"<<data<<endl;
}
};
b play(b c)
{
return c;
}
void main()
{
b temp=play(5);
b d(6);
b e(7);
b f(8);
}
//程序是直接粘出来的,可以直接拿来用。