#include<iostream>
using namespace std;
#include<string>
class FA
{public:
void Nhap(string s)
{
g=s;
}
string lay()
{
return g+"rat de hieu";
}
public:
string g;
};
void main()
{
FA x;
x.Nhap("anh chuc");
cout<<x.lay();
system("pause");
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.