#include
#include
using namespace std;
#include
#include
class Building;
class goodgay
{
public:
goodgay();
void visit01();
void visit02();
Building *building;
};
class Building
{
friend void goodgay::visit01();
public:
Building();
public:
string m_sitting;
private:
string m_bed;
};
goodgay::goodgay()
{
building=new Building;
}
void goodgay::visit01()
{
cout<<"gay的"<
void goodgay::visit02()
{
cout<<"gaydede "<
Building::Building()
{
m_sitting="客厅";
m_bed="卧室";
}
void test()
{
goodgay gg;
gg.visit01();
}
int main()
{
test();
system("pause");
return 0;
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)