- #1
CSteiner
- 31
- 0
Homework Statement
[/B]
See this link for the given assignment.
http://eilat.sci.brooklyn.cuny.edu/cis1_5/HW5i_C.pdf
note: on the last page the output aa4bcdd0cc1 is actually supposed to be aa3bcdd1cc1c.
Homework Equations
I have no idea why my encoder function doesn't work. No matter how I try to do it (I've tried strings, arrays - everything), the function copies the input exactly instead of encoding it. I followed the given pseudo code, and it had no problems for the decoder, but I must be doing something wrong for the encoder. Any advice would be appreciated
The Attempt at a Solution
[/B]
See the attached source code.
Attachments
Last edited by a moderator: