ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/06/22:19:41

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3CAFB7FB.5030800@vif.com>
From: Sahab Yazdani <sahaby AT vif DOT com>
Organization: PheonixSoft Interactive
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9+) Gecko/20020328
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: simple help ??
References: <p2qr8.19725$hq2 DOT 5249775 AT typhoon DOT nyroc DOT rr DOT com> <3cae4332$0$12299$9b622d9e AT news DOT freenet DOT de>
Cache-Post-Path: www.vif.com!unknown AT ip216-239-69-185 DOT vif DOT net
X-Cache: nntpcache 2.4.0b4 (see http://www.nntpcache.org/)
Lines: 26
NNTP-Posting-Date: Sat, 06 Apr 2002 21:10:23 CST
X-Trace: sv3-608fDNzTu0OnK2c1gMfJEv/kUOj7MG7byJ1o1CxkX/o0P8wClTuZxs1hU6Vzd7vklTwzmcxamTp1Qrm!Ej9FN7a9L7redqOFVtx4e/hDjbjOpzPfJSoMSmVIAwYQR89jrBM+KBs=
X-Complaints-To: abuse AT GigaNews DOT Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Date: Sun, 07 Apr 2002 03:10:23 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>>what does this mean :40 invalid types `int *[double]' for array subscript
>>any answers would help email me at napster_car AT yahoo DOT com    or reply to

i think you are trying to reference an array of integers using a 
floating point value, which shouldn't work.  remember that array 
subscripts can only be of integer values...

so if you have code that contains this

int x[10];
double y;

you can't go like this:

x[y];

hope that helps.

-- 
**************************************************************
* Sahab Yazdani * "Lisa, in this house we obey the laws of   *
* Thornhill S.S * thermodynamics!" - Homer Simpson           *
**************************************************************
* http://pheonixsoft.virtualave.net/                    * :) *
**************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019