Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 6 Part 1
Date: Mon Dec 3 2001 10:13 pm
Author: Danish, Matt R. <mrd@cmu.edu>
Subject: Re: P.S.

The % operator is mathematically correct, but not pragmatically. In practice you want positive numbers (array indices and such). So while -1 % 8 is equal to 7 % 8 is equal to 15 % 8, the second result is much more useful to me. As for the concept of a 'wrapper' function, it seems to me you just haven't heard the vocabulary term before, because the concept is startlingly simple. "Wrap", ie to place something around something else... your own interface around another for example.
Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
Checking for mills?      Drozd, William A.      Fri Nov 30 2001 4:17 pm       
Re: Checking for mills?      Raff, Paul      Fri Nov 30 2001 8:18 pm       
Re: Checking for mills?      Weng, Mei Xiang      Fri Nov 30 2001 10:43 pm       
Re: Checking for mills?      Chen, Richard      Sat Dec 1 2001 12:39 pm       
Re: Checking for mills?      Bortz, Andrew S.      Sat Dec 1 2001 10:37 pm       
Re: Checking for mills?      Danish, Matt R.      Sun Dec 2 2001 2:54 am       
Re: Checking for mills?      Raff, Paul      Sun Dec 2 2001 12:31 pm       
P.S.      Raff, Paul      Sun Dec 2 2001 12:34 pm       
Re: P.S.      Danish, Matt R.      Mon Dec 3 2001 10:13 pm       

Back to previous screen