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 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.