Feedback It wouldn't be that bad would it? 

Forum: Com Sci 221, U Chicago, Autumn 2001, Old Classwork
Re: News Assignment #4 due Monday, 22 October (Mike O'Donnell)
Re: Question re: 0 vs. 1 based indexing (Jesse Dailey)
Date: 2001, Oct 15
From: Matthew Stover mstover

I wouldn't see it being extremely difficult by any means, but I agree that there doesn't seem to be any loss of concept by pretending we're starting at 1 when the C program says we're starting at 0. If B ranges from 0 to N though, wouldn't it require a similar shift to make it run from -1 to N-1 though? I think it would look cleaner to just start array counting at 1 instead of 0 rather than deal with B=-1...maybe I'll change my mind when I start to work on the problem though...

Matthew


Messages

to: "It wouldn't be that bad would it?"