Greetings.
In article <de**************************@posting.google.com >, cjw wrote:
I need to read an 'unsigned char' array and save it as a bit array
(values are only 0s or 1s). When processing, have to do math
operations such as summing up the values etc. Pl let me know an
efficient way of doing this.
Given your e-mail address and the nature of the query, I presume this is a
homework problem. Fortunately, it's not too hard to solve if you read up
on C's bit-shifting operators (<< and >>). Once you've done so, try
writing the program, and if you need help, send another post with your code
and a description of the problem.
Regards,
Tristan
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\
http://www.nothingisreal.com/ >< To finish what you