How many lines of code do I need, to set up a typical tree structure? What are the pros and cons between a C-style generic tree and an std::map or an std::set ?
Showing posts with label sort. Show all posts
Showing posts with label sort. Show all posts
Saturday, November 2, 2013
Wednesday, October 30, 2013
How to write a compare function
Writing the compare function correctly is critical, as a mistake can make your program crash.
There is a typical pattern you can follow, to write a compare function.
There is a typical pattern you can follow, to write a compare function.
Subscribe to:
Posts (Atom)