• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ask about sleep function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ask about sleep function


  • Subject: Re: ask about sleep function
  • From: "Chong Hiu Pun" <email@hidden>
  • Date: Mon, 29 Jul 2002 13:00:28 +0800

But when I type
sleep(2000);

Error:
implicit declaration of function 'int sleep(...)'

How can I resolve it?thanks!
----- Original Message -----
From: "John Haager" <email@hidden>
To: "Chong Hiu Pun" <email@hidden>
Cc: <email@hidden>
Sent: Monday, July 29, 2002 12:50 PM
Subject: Re: ask about sleep function


> Since Objective C is just an extension to C, the sleep() function works
> just fine.
>
> John
>
> On Sunday, July 28, 2002, at 09:41 PM, Chong Hiu Pun wrote:
>
> > In cocoa, is there a function similar to sleep? e.g I want the program
> > to
> > pause for 2 seconds.Thanks!
> >
> > Mr Chong
> > _______________________________________________
> > cocoa-dev mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> > Do not post admin requests to the list. They will be ignored.
> >
> >
> -> John Haager <-
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: ask about sleep function
      • From: David McCabe <email@hidden>
    • Re: ask about sleep function
      • From: Tim Trautmann <email@hidden>
    • Re: ask about sleep function
      • From: Daryn <email@hidden>
  • Prev by Date: ask about sleep function
  • Next by Date: Re: ask about sleep function
  • Previous by thread: Re: ask about sleep function
  • Next by thread: Re: ask about sleep function
  • Index(es):
    • Date
    • Thread