Author: Stan Eisenstat
Subject: Re: [Cs323] Clarification from a previous post
Date: Tuesday, 10 Nov 2020, 22:22:08
> Message Posted By: Unknown > > > > Why is the ascii outputted by STAGE=1 off by one in the > solution? If I type in abc, I get 98 99 100 instead of 97 98 99. > > Because Hwk4/encode and Hwk4/decode assign code 0 to the > empty string. > > > Is it fine if ours outputs 97 98 99? Yes. --Stan-PREV INDEX NEXT