hello , well i have to deliver a program that demonstraits classes and inheritance , but i don't have any ideas
Jump to Post
How about a sort class? You provide the sort, and to use it someone declares a SUBCLASS of your sort and has to define the COMPARE and SWAP methods.
sort of like qsort() in the standard library except that instead of passing IN a compare proc it is an …
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.