Re: binary file parsing in C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Justin,

>Is there any way to read through a file bit by bit, instead of character by character?

You'll have to write your own bit-by-bit reader.

A class that HAS-A ifstream, and whose "get" method returns a bit (via bool or int or enum Bit { Zero, One }).

Shouldn't be very hard.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux