Original Post
I was wondering if theres a way you can write a piece of code and store it in a structure/class as a function so that each instance of the structure/class has a different function depending on what code u stored in it..I dont know, maybe my thinking process is messed up.lol. Also how could I make a function parameter be another function, for example, the qsort function lets u pass in a compare function as the 4th parameter.