Cpp Function Pointer To Class In C