Message-ID: <395C14BF.5205633C@gtcom.net> From: Krogg X-Mailer: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en,en-US,en-GB,ja,af MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Bits References: <8jdv9d$dn5$1 AT news DOT netvision DOT net DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 25 Date: Thu, 29 Jun 2000 23:32:15 -0400 NNTP-Posting-Host: 12.35.154.39 X-Trace: eagle.america.net 962335970 12.35.154.39 (Thu, 29 Jun 2000 23:32:50 EDT) NNTP-Posting-Date: Thu, 29 Jun 2000 23:32:50 EDT Organization: 24hoursupport.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Avi Berkovich wrote: > > Hello > > Is there a C++ function which can manage individual bits extractions from a > file? > > For example, if I need to get 3 bits, then 5 bits, 1 bit, etc... > > Demon There is some C functions that can be found at: http://www.snippets.org/#section1group14 I have a modified version of the file reading and writing stuff that is one easy to include header and includes a couple new features and some documentation. I can email it to you if you want or if others want to see it,then i could post it here. -- .sig went for a pack of smokes,and never returned.