cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : UNIX/Linux Programming : Write and Read Bit Operations
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

question  Write and Read Bit Operations

crayon66
Hi all...

currently, i write a program that need to read and write in bit from file.

I already read C++ documentation, but i can't find any usefull tutorial.

is there have this function???

thanks.
|
jsmith
The minimum amount of data you can read from a file at once is 1 byte.
|
crayon66
jsmith, thanks for your feed back.

sorry all, i just figure it my self.

But if somebody have some nice program and require little memory, please feed me back.

currently, i read one byte from file and i use bit masking to get the individual bit.

thanks.
|

Registered users can reply in this forum.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us