¡@

Home 

c++ Programming Glossary: sortelements

How are function pointers type unsafe

http://stackoverflow.com/questions/10237847/how-are-function-pointers-type-unsafe

a function prototype that takes in a function pointer void SortElements void MyArray unsigned int iNumofElems size_t size int compare_funct.. void MyFunct3 void First The code only compiles for SortElements MyArray 10 sizeof DataType MySortAsc Compiles SortElements MyArray.. SortElements MyArray 10 sizeof DataType MySortAsc Compiles SortElements MyArray 10 sizeof DataType MyFunct2 Fails Any idea how can I..