Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!uwm.edu!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: binary constants (??) Keywords: macro, constant, binary Message-ID: <7065@ficc.uu.net> Date: 20 Nov 89 23:46:30 GMT References: <305@frf.omron.co.jp> <602@chem.ucsd.EDU> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 23 For most cases binary constants are just fine in HEX. But for image data it's a real pain. I'd really love to be able to do this: struct sprite smileyface = { 0, 0, 32, 11, { 0b0000000000000000, 0b0000111111110000, 0b0011000000001100, 0b0100011001100010, 0b0100000000000010, 0b0101110000111010, 0b0100100000010010, 0b0100011111100010, 0b0011000000001100, 0b0000111111110000, 0b0000000000000000 } }; -- `-_-' Peter da Silva . 'U` -------------- +1 713 274 5180. "ERROR: trust not in UUCP routing tables" -- MAILER-DAEMON@mcsun.EU.net