|
-
March 17th, 2006, 04:40 AM
#1
Urgent
i am converting a integer number into 10 bit binary number and storing it in the following array
char binary_no[10];
binary_no[i] has either 0 or 1
then i am writing it in a *.txt file using following function
FileText.Write( binary_no,sizeof(binary_no));
using above method will take 10 byte to store the number in a file
but i don't want to waste the memory i want to store the binary number in 10 bits only.
Last edited by punitpandia; March 17th, 2006 at 06:27 AM.
Reason: space constraint
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
|