What is the best way to write class template-like generic code in C?
Posted
by Ribtoks
on Stack Overflow
See other posts from Stack Overflow
or by Ribtoks
Published on 2010-04-06T08:41:01Z
Indexed on
2010/04/06
9:03 UTC
Read the original article
Hit count: 128
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.
© Stack Overflow or respective owner