Date: Mon, 13 Sep 1999 02:01:56 +0700 From: Batchex X-Mailer: The Bat! (v1.32) S/N E34104EF X-Priority: 3 (Normal) Message-ID: <1684.990913@Phreaker.net> To: djgpp AT delorie DOT com Subject: invalid operands Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi, I have a difficulty with the code below : FILE *fp; int nIdx, nNumEntries; long lnDataStart, lnFileSize; char **lpszTable; // clipped lpszTable = (char **)malloc(nNumEntries*sizeof(char *)); fread(lpszTable,sizeof(char *),nNumEntries,fp); lnDataStart = (long)lpszTable[0]; lpszTable[0] = (char *)malloc((lnFileSize-lnDataStart)*sizeof(char)); for(nIdx=1;nIdx