in reply to Re: Chess Board Single Loop
in thread Chess Board Single Loop
In week one or two of intro to CS at a community college level, students may not have been introduced to the concept of arrays, nested loops, unpack templates, map, and so on. However, anyone with grade-school math in their past understands remainders with integer division (ie, the modulus operator). What's amazing is that such a simple thing, taught in 4th grade, is useful to low-level-language programmers even today when using arithmetic to simulate multi-dimensional structures in flat memory.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Chess Board Single Loop
by marinersk (Priest) on Oct 04, 2013 at 11:48 UTC |