From: "STEVEN S. FALLS" Newsgroups: comp.os.msdos.djgpp Subject: Function Pointers with Classes and QSORT Date: Sun, 22 Feb 1998 19:55:15 -0800 Organization: EarthLink Network, Inc. Lines: 11 Message-ID: <34F0F322.4133902E@earthlink.net> Reply-To: broadview AT earthlink DOT net NNTP-Posting-Host: 153.37.15.111 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi I have a problem, I am trying to pass a class function to qsort. It does not work though. I get an error... Error: passing 'int (drawclass::*)(const void *, const void *)' as argument 4 of 'qsort(void *, long unsigend int, long unsigned int, int (*)(const void *,const void *))' Thanks, -Ardy htpp://home.earthlink.net/~broadview/