moein_soltani 0 Newbie Poster

Hello all,
I have registerd lately, we have a project about the implemention of huffman algorithm...!
I have some problem...
first is that I want to read space and Enter from txt file how can i do that?
Next is how i should output to say that 0 and 1 are bit no byte!..
and finally how can i print huffman tree ... ?
Excuse me for elemntary question...
Tnx a lot...