delorie.com/archives/browse.cgi | search |
From: | ryot AT bigfoot DOT com (George Ryot) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help needed with a program I am writing |
Message-ID: | <384d44d5.17083771@news.clara.net> |
References: | <dPE24.416$wM4 DOT 28044 AT news-west DOT eli DOT net> |
X-Newsreader: | Forte Agent 1.5/32.452 |
MIME-Version: | 1.0 |
Lines: | 23 |
Date: | Mon, 06 Dec 1999 23:47:42 GMT |
NNTP-Posting-Host: | 195.8.92.216 |
X-Complaints-To: | abuse AT clara DOT net |
X-Trace: | nnrp3.clara.net 944524062 195.8.92.216 (Mon, 06 Dec 1999 23:47:42 GMT) |
NNTP-Posting-Date: | Mon, 06 Dec 1999 23:47:42 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"P K" <paulkennedy AT citlink DOT net> wrote: > I am a newbie to DJGPP and I dont understand what this error means or how to > fix it: > invalid types `float[360][float]` for array subscript > > I get that 4 times when I try to compile the program. The piece of code I > think it is refering to is when I try to make my sine and cosine tables. I can't see anything obviously wrong with the code you posted, except that maybe you declared 'a' as something other than an int. It would be better to reduce your code to the smallest amount possible that reproduces the error (probably only ten lines in this case) and then post the complete program with the exact error message. You might also find the following newsgroups more useful for non-DJGPP specific questions: alt.comp.lang.learn.c-c++ comp.lang.c -- george
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |