Mail Archives: djgpp/1997/10/18/08:47:10

From: ckern AT junkmailnetnitco DOT net (Chris Kern)
Newsgroups: comp.os.msdos.djgpp
Subject: Sets
Date: Wed, 15 Oct 1997 02:57:03 GMT
Organization: NetNITCO Internet Services
Lines: 16
Message-ID: <621b72$bg$>
Reply-To: ckern AT junkmailnetnitco DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Is there a way to do sets in C?  I can make an enum, but I haven't
seen anything about sets.  If you don't know what I'm talking about,
in Pascal, the code would be 

  objects = (o1,o2,o3,o4);
  inventory: set of objects;

(or something like that :)

Remove "junkmail" in my return address to reply.

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019