함수포인터

    함수 포인터 관련..

    http://www.newty.de/fpt/index.html windows 기반의 c++에서는 [CODE type=c++] int (CFunc::*func)( int, int ); func = CFunc::GetArea; CFunc A; (A.*func)( x, y ); [/CODE] [출처] http://izeph.com/tt/blog/155 위 코드 처럼 Class의 맴버 메소드를 함수포인터로 사용할 수 있지만, unix 기반에서는 사용 할 수가 없다. unix 기반에서 사용하려면, [CODE type=c++] class TClassA { public: void Display(const char* text) { cout