🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4795

QuickC bug with 2D array *SOLVED*

#4795
From: Brian Myers
Date: Wed, 20 Feb 1991 06:16
12 lines
922 bytes
My thanks to all of you who quickly spotted my error in the short
program I posted.  Yes indeed, I had simply forgotten that when
you declare an array to have say 'X' number of elements, they
start at 0 and end at X-1.  I had mistakenly mis-remembered that
they started at 0 and end at X.

Thanks again.

Brian

---------------------------------------------------------------------------
Brian Myers					 bmyers@garnet.berkeley.edu
Technical Details
Message-ID: <1991Feb20.061631.593@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!garnet.berkeley.edu!bmyers

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!garnet.berkeley.edu!bmyers
From: bmyers@garnet.berkeley.edu (Brian Myers)
Newsgroups: comp.os.msdos.programmer
Subject: QuickC bug with 2D array *SOLVED*
Summary: Thanks to all who answered
Message-ID: <1991Feb20.061631.593@agate.berkeley.edu>
Date: 20 Feb 91 06:16:31 GMT
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Organization: University of California, Berkeley
Lines: 12