Author: Pham Minh Tri
Date: 19:19:13 02/05/02
Go up one level in this thread
Just try if the title works ;) [snip] >And since he wants no loop at all, we can just remove the switch like this: > >foo[0] = bar[0]; >foo[1] = bar[1]; >foo[2] = bar[2]; >foo[3] = bar[3]; >foo[4] = bar[4]; >foo[5] = bar[5]; >foo[6] = bar[6]; >foo[7] = bar[7]; >foo[8] = bar[8]; >foo[9] = bar[9]; >... >foo[n] = bar[n]; Oops, if n is a variable? >He already killed my lazy man trick be removing the struct wrapper as a >solution. >;-)
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.