www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/16/20:55:34

From: "DeHackEd" <notgiven AT out DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <36a13307 DOT 3969826 AT news DOT cadvision DOT com>
Subject: Re: Rhide help please!
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Message-ID: <igbo2.476$oF3.17@cabot.ops.attcanada.net>
Date: Sat, 16 Jan 1999 20:42:31 -0500
NNTP-Posting-Host: 142.194.222.10
X-Trace: cabot.ops.attcanada.net 916537486 142.194.222.10 (Sun, 17 Jan 1999 01:44:46 GMT)
NNTP-Posting-Date: Sun, 17 Jan 1999 01:44:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Are you sure you didn't do what it says? For example:

DATAFILE *d = load_datafile("forgot_the_quotes.dat);

// no closing quotes, string spills into the entire C code, causing a serious
problem

I remember I used to do this a lot. This is most likely your problem. If this
were to be compiled, the next line and the one after it would be still part of
the string, until you say printf("Text here"); in which Text Here becomes the C
code and the rest is a new string. The compiler aborts before any unbelivably
long errors show up due to this.



- Raw text -


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