Cpp Get Pointer To Function In C