[prog] [C] writing last x bits...

Annie Downs adowns at stevens-tech.edu
Thu Sep 26 12:06:07 EST 2002


 Hey all

I only learned C last week <g> but I'm trying to write this program  that takes
a file which is in binary and prints out the last 8 bits.. some places in the
program it needs to be more bits than that, once 16 and once 32 but i'm hoping
the procedure would be the same.. i'm having trouble figuring out how to deal
with this.  anyone have any possible suggestions?
thanks so much in advance..

-annie



More information about the Programming mailing list