delorie.com/archives/browse.cgi | search |
From: | Graham Watkins <Graham AT gingecat DOT demon DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Incomprehensible messages when attempting to run program |
Date: | Sun, 4 Oct 1998 10:30:03 +0100 |
Organization: | dis- |
Message-ID: | <p+aUZDAbA0F2EwOR@gingecat.demon.co.uk> |
References: | <jp3mMAAqKzE2Ew3A AT gingecat DOT demon DOT co DOT uk> |
<3615D574 DOT 58293FC1 AT earthlink DOT net> | |
NNTP-Posting-Host: | gingecat.demon.co.uk |
X-NNTP-Posting-Host: | gingecat.demon.co.uk:158.152.77.124 |
X-Trace: | news.demon.co.uk 907533120 nnrp-09:15785 NO-IDENT gingecat.demon.co.uk:158.152.77.124 |
X-Complaints-To: | abuse AT demon DOT net |
MIME-Version: | 1.0 |
X-Newsreader: | Turnpike (32) Version 3.05 <I0cLCaUEoOEFJMnQElGqNUTgtV> |
Lines: | 29 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
In article <3615D574 DOT 58293FC1 AT earthlink DOT net>, Martin Ambuhl <mambuhl AT earthlink DOT net> writes > >Actually, you should have gotten diagnostics. If not, you are not using >a sufficiently high level of warning messages. However, your immediate >problem is in the >> for (c = 0; b < 10; c++) >If you look at it, I'm sure you will see the problem. > > for (c = 0; b < 10; c++) > { > random_array[a][b][c] = rand(); > } Kirk Hobart writes: >I think you meant c < 10 instead of b < 10 You're both right. It was staring me in the face all the time. I'm all embarrassed now. Thanks very much for the input. -- Graham Watkins He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you. F.Nietzche - 'Beyond Good and Evil'
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |