[NBLUG/talk] Knuth re- revisited

Steve Zimmerman stevetux at sonic.net
Mon May 26 21:02:01 PDT 2003


Steve Zimmerman wrote, (quoting Dr. Knuth):
> > B1. [Initialize.]  Set T[k] <-- k for 1 <= k <= n.
> >
> > [end of quote]
> >
> > How would you code B1?

On Monday 26 May 2003 08:54 am, Andru Luvisi wrote:
> [snip]

> In C one might do:
>   for(i = 1; i <= n; i++) {
>     T[i] = i;
>   }

Thank you, Andru.     *smiles and good feelings*

	-- Steve Zimmerman



More information about the talk mailing list