PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Ascii
Date: Tuesday, 03 Nov 2020, 07:49:11


    > 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.

--Stan-
PREV INDEX NEXT