Mail Archives: djgpp/2000/03/28/21:00:50
Message-ID: | <38E0FCF9.AB82C211@gtcom.net>
|
From: | Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
|
X-Mailer: | Mozilla 4.61 [en] (Win95; U)
|
X-Accept-Language: | en-US,en-GB,en,ja
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | help with a bit stream....
|
Lines: | 33
|
Date: | Tue, 28 Mar 2000 13:42:02 -0500
|
NNTP-Posting-Host: | 12.6.67.89
|
X-Trace: | eagle.america.net 954269034 12.6.67.89 (Tue, 28 Mar 2000 13:43:54 EST)
|
NNTP-Posting-Date: | Tue, 28 Mar 2000 13:43:54 EST
|
Organization: | 24hoursupport.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I can open FILEs and read them one byte at a time but i
really want to read them one BIT at a time...Is there
a nice way to do this?...
something like this..
//-------------
while( (x=next_bit_in(MY_FILE))!=EOF) ;
{
process_this_bit(x);
}
//---------------
Thanks....
--
|"""""<`.THE PRINCE ,'>"""""""""""""""""""""""""""""""""""|
| `.`/""""""\,',' my sig is too big, |
|SEE HIS ( / \ \' SEE HIS but its really cool. |
| FACE \/<> <>\/ SMILE |
| / W \ Visit my ascii art site: |
| ,'\_|||||_/`. http://www.gtcom.net/~krogg/ascii/ |
| ,',' ||| `.`. krogg DOT no DOT to DOT spam AT gtcom DOT net |
|____<,' TIME TO DIE `.>____Remove no.to.spam to reply____|
- Raw text -