#include
//using namespace std;
class CONTOH
{
int X;
public:
void set_X(int XX);
int get_X();
};
void CONTOH::set_X(int XX)
{
X=XX;
}
int CONTOH::get_X()
{
return X;
}
int main()
{
CONTOH ob;
ob .set_X(100);
cout<
getch();
return 0;
}
hidup itu untuk dinikmati... keep smile for everything.
Tidak ada komentar:
Posting Komentar