Mail Archives: djgpp/1999/01/17/14:10:50
I've cut away pieces of code until all I have is
int main(){
return 0;
}
and it still doesn't work. Thanks anyway though.
On Sat, 16 Jan 1999 20:42:31 -0500, "DeHackEd" <notgiven AT out DOT com>
wrote:
>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 -