#include<iostream>
using namespace std;
typedef struct struct_test
{
int x;
int y;
int z;
}stest;
class testX
{
private:
int _x;
int _y;
public:
testX(int x,int y):_x(x),_y(y){cout<<"this is testX"<<endl;}
int x(){return _x;}
int y(){return _y;}
};
void printStest(stest pd)
{
cout<<"in printStest"<<endl;
cout<<pd.x<<endl;
}
int main()
{
cout<<"begin main"<<endl;
stest pd;
pd.x = 5;
pd.y = 6;
pd.z = 7;
printStest(pd);
testX test(2,3);
cout<<test.x()<<endl;;
return 0;
}