Mail Archives: djgpp/1997/10/21/17:31:55
Paul Derbyshire wrote:
>
> Chris Kern (ckern AT junkmailnetnitco DOT net) writes:
> > Is there a way to do sets in C?
>
> If you're willing to use C++, the STL has a set class in some .h file.
> Look for it in your djgpp directory \lang\cxx. If you do not consider C++
> an option, you're on your own. :-)
> --
Maybe I'm a bit naive but would it be too difficult to implement some
stuff on your own? There are only a few operations that you do on sets.
Namely add an item, remove an item, retrieve/list items (matching a
certain criteria), among a few others depending on what you want to do
with your sets. If your having trouble with a C version I'll be glad to
help just mail me.
Campbell
---------------------
allanca AT dcs DOT gla DOT ac DOT uk
- Raw text -