// 25_25-6.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//

#include "stdafx.h"
#include <iostream>
#include <windows.h>

using namespace std;

class Clsx {
public:
	int x;
	Clsx() {
		x = 999;
	}
};

class Mycls {
public:
	int y;
	Clsx cx;
};


int _tmain(int argc, _TCHAR* argv[])
{
	Mycls dt;
	cout << "dt.cx.x=" << dt.cx.x << '\n';
	cout << "dt.y=" << dt.y << '\n';

	MessageBox(NULL, _T("Check Console Window"), L"MessageBox", MB_OK);

	return 0;
}

