// 01_Exercise_21_6.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
// 함수 포인터 연습

#include "stdafx.h"
#include "Point.h"
#include <iostream>
using namespace std;

typedef void (*FP1)(int);
typedef void (Point::*FP2)();

int _tmain(int argc, _TCHAR* argv[])
{
	Point pt(50, 50);
	FP2 fp2 = &Point::Print;

	(pt.*fp2)();
	//pt.Print();
	system("pause");
	return 0;
}

