www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/23/23:26:19

Date: Tue, 23 Sep 1997 20:24:26 -0700 (PDT)
Message-Id: <199709240324.UAA02107@adit.ap.net>
Mime-Version: 1.0
To: a DOT hofkamp AT wtb DOT tue DOT nl, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Problem :)

At 09:16  9/23/1997 GMT, Albert Theo Hofkamp wrote:
>In article <342765F1 DOT 658B AT sysop DOT com>,
>	turrican AT sysop DOT com writes:
>> {
>>     printf("This is the Start");
>> 
>>     delay("1000");
>> 
>>     printf("... and this is the End");
>> 
>> return 0;
>> }
>[good explanation of buffering deleted]
Also that should be
delay(1000);

Currently you are passing a string, which will give you some funny value.
GCC should tell you something about converting pointer to int without a cast
when you compile this. Maybe only with -Wall...

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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