From: Gallicus AT caramail DOT com (Gallicus) Newsgroups: comp.os.msdos.djgpp Subject: ? array[n] or array[n+1] ? Date: Mon, 10 May 1999 06:49:58 GMT Organization: Wanadoo, l'internet avec France Telecom Lines: 20 Message-ID: <37367f71.6271443@news.wanadoo.fr> NNTP-Posting-Host: b-adsl-nice-1-229.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: wanadoo.fr 926318973 9252 193.251.80.229 (10 May 1999 06:49:33 GMT) X-Complaints-To: abuse AT wanadoo DOT fr NNTP-Posting-Date: 10 May 1999 06:49:33 GMT X-Newsreader: Forte Agent 1.5/32.452 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Can somebody explain why int bit[63] [6]; for (i=0; i<= 63; i++) { k=i; for (j=1;j<=6; j++) { bit[i][j] = k % 2; k=k / 2; } } throws a runtime error with MS Visual C++ 5.0 (because it requires int bit[64] [7]) and DJGPP is quite satisfied with int bit[63] [6] ? TIA. Gallicus.