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.
