// 14_14-3.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//

#include "stdafx.h"
#include <iostream>
#include <windows.h>

using namespace std;

void show(char a)
{
	cout << "(1)char " << a << '\n';
}

void show(int a)
{
	cout << "(2)int " << a << '\n';
}

void show(double a)
{
	cout << "(3)double " << a << '\n';
}

int _tmain(int argc, _TCHAR* argv[])
{
	char cdt = 'A';
	int idt = 1000;
	double ddt = 22.22;

	show(cdt);
	show(idt);
	show(ddt);

	MessageBox(NULL, _T("Check Console Window"), L"MessageBox", MB_OK);

	return 0;
}

