www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/03/09:26:21

From: "Night Walker" <nightwalker AT lombardiacom DOT it>
Subject: long long bitmask
To: djgpp AT delorie DOT com
X-Mailer: CommuniGate Pro Web Mailer v.3.3
Date: Fri, 03 Nov 2000 15:24:46 +0100
Message-ID: <web-2168852@lombardiacom.it>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

I need to store tons of flags (actually 62) into a single
var (a long
long int) but it seems that bitwise operators won't work up
to 32 bit.
Are there any alternatives?
I would not have to split the bitfield, use an array of
chars or wait
for a 64-bit processor:)!!!

please mail me back!!!

Thanx, Night Walker.
-----------------------------------------------------------------------------------
Free Web. Free Mail. Free Mind. @lombardiacom.it sei libero di scegliere cosa vuoi.

http://www.lombardiacom.it

- Raw text -


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