delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/03/16:24:37

Message-ID: <3A02CDE9.9EE548CD@lombardiacom.it>
Date: Fri, 03 Nov 2000 15:38:33 +0100
From: Night Walker <nightwalker AT lombardiacom DOT it>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: long long bitmask
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.


- Raw text -


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