Wednesday, April 6, 2011

PA2 End

Well, that took about as long as I thought it would (not very).

The concept seemed pretty simple in class.  Just rearranging the private variables so that they are allocated correctly, mem-copying to the buffer, then mem-copying from the buffer.  The only difficulty I had was with the pointers.  Ended up being not that bad.

I added in some printf statements that printed the value returned by the sizeof() function, just to be sure it was allocating correctly.

Glad I don't have to worry about this class until next week now.  :D

No comments:

Post a Comment