Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!enea!pvab!robert
From: robert@pvab.UUCP (Robert Claeson)
Newsgroups: comp.lang.c
Subject: Re: Sets in C (?) :idea from PASCAL
Message-ID: <299@pvab.UUCP>
Date: 19 Aug 88 19:07:36 GMT
References: <8808121452.AA14152@ucbvax.berkeley.edu> <594@philmds.UUCP>
Organization: Statskonsult Programvaruhuset AB, Sweden
Lines: 15

In article <594@philmds.UUCP>, leo@philmds.UUCP (Leo de Wit) writes:

> In article <8808121452.AA14152@ucbvax.berkeley.edu> U23405@UICVM.BITNET writes:

> >In PASCAL, there is a datatype called SET that (obviously) deals with sets.
> >What I would like to know is whether anyone has tried to implement this
> >datatype in C (either by a system header file or by typedefs). Any comments
> >would be helpful. (And I mean *ANY* comments)

> An obvious way to implement this in C could be using an (array of)
> integer(s) and the logical operations &, |, ~, and ^ to perform
> operations on these values.

I recall there was a set datatype for C posted to comp.sources.something
<= 1 1/2 year ago.