#include "stdafx.h"
#include "iostream"
using namespace std;
class C{
public:
int GetX(){return X;}
void SetX(int X){this->X = X;}
private:
int X;
};
void main(){
C c;
cout<<c.GetX()<<endl;
cin.get();
c.SetX(111);
cout<<c.GetX()<<endl;
cin.get();
}