#include <iostream>
#include <string>
using namespace std;
class haha{
public:
void sethoho(string heere){
hoho = heere;
}
string gethoho(){
return hoho;
}
private:
string hoho;
};
class hehe{
public:
string hehehehe;
};
int main()
{
haha ha;
ha.sethoho("hohohohohohoho");
cout << ha.gethoho() << endl;
hehe he;
he.hehehehe=("hehehehe");
cout << he.hehehehe << endl;
}
하하하ㅏ핳
댓글 0