What is the best way to write class template-like generic code in C?
- by Ribtoks
I need to write AVL-tree with generic type in C. The best way I know is to use [ void* ] and to write some functions for creating, copying, assignment and destruction. Please, tell me some better way.