3 ms·
In my experience the C mindset is to write those yourself. The lack of templates means that it's very difficult to write proper generic containers. You either e
by simias 9y ago
In my experience the C mindset is to write those yourself. The lack of templates means that it's very difficult to write proper generic containers. You either end up with macro soup, void * soup or code tailored to your needs. Or a lot of the time a combination of all three.
But I'm like you, if I know that I'm going to need "advanced" data structures I'll pick C++ over C (or these days more likely Rust).