// 21_21-14.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//

#include "stdafx.h"
#include <iostream>
#include <windows.h>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	int dt = 1234;
	char cc[] = "abcd";

	cout << cout.width() << '\n';
	cout << "[" << cout.fill() << "]" << '\n';

	cout << dt << '\n';

	cout.width(8);
	cout << dt << '\n';
	cout << dt << '\n';

	cout.width(8);
	cout << cc << '\n';

	cout.width(8);
	cout.fill('#');
	cout << cc << '\n';
	
	MessageBox(NULL, _T("Check Console Window"), L"MessageBox", MB_OK);

	return 0;
}

