|
-
Apr 4th, 2004, 02:19 AM
#1
Thread Starter
Member
Binary Reader
Hi,
I am reading information from a random-access-binary file.
Each record has alot of booleans to read, yet i am unable to accrately measure the length of each record if i write booleans, thus its giving me a hard time reading them.
I have a few inefficient solutions right now...
1) write booleans as 0/1 bytes, and read them
2) put booleans as 0s and 1s in singles/doubles
yet i am feeling guilty about using these turnarounds... could someone please instruct me on how to read/write bits to a binary file?
thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|