Quote Originally Posted by ZuK View Post
use
Code:
    return ((sched_record *) p)->course - ((sched_record *) q)->course;
Kurt
Dang! Thank You. I appreciate it. All is good except an undefined reference to 'WinMain@16' in code::blocks in the sortFunction tab and then on the main tab, I get an undefined reference to 'sortFunction.