// 7_7-2-5.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//

#include "stdafx.h"
#include <iostream>
#include <windows.h>
#include <string>

using namespace std;

namespace spc1 {
	void aaa() {
		cout << "spc1のaaa関数です。\n";
	}
}

void aaa() {
	cout << "グローバル領域のaaa関数です。\n";
}

using namespace spc1;

int _tmain(int argc, _TCHAR* argv[])
{
	//aaa();	// エラー

	spc1::aaa();
	::aaa();

	MessageBox(NULL, _T("Check Console Window"), L"MessageBox", MB_OK);

	return 0;
}

