Re: lab3 errors ??

From: Paul Berube (stazz@powersurfr.com)
Date: Sat Oct 13 2001 - 21:10:39 MDT


here is the fixed treehouse.c. the only difference is that the output is
done MSB first, instead of LSB first (as it should be).

----- Original Message -----
From: "Paul Berube" <berube@ugrad.cs.ualberta.ca>
To: "Chris Peirson" <chris@ugrad.cs.ualberta.ca>
Cc: <amaral@cs.ualberta.ca>; <cmput329@cs.ualberta.ca>
Sent: Saturday, October 13, 2001 8:30 PM
Subject: Re: lab3 errors ??

>
> go with the lab assignment. I will fix the c code right away.
>
>
> On Sat, 13 Oct 2001, Chris Peirson wrote:
>
> > In the lab3 web page an example is given for when the letter 'a'
> >is pressed as the third input for the encrypter, the output should read
> >"35". In the treehouse.c code provided the output for an 'a' as the
third
> >input gives "CA" (which is actually 35 in reverse). I guess the c code
> >doesn't reverse the bits. Which is the right algorithm?
> >
> >- Chris
> >
> >
>
>
>
> "Oh, there it is...
> ...Then what the heck was that other piece of code we changed?"
>
>





This archive was generated by hypermail 2.1.3 : Wed Nov 21 2001 - 15:50:12 MST