Pelles C forum

C language => Beginner questions => Topic started by: martin on October 19, 2008, 02:19:16 PM

Title: General learning- how to specify which function to use if there are duplicates.
Post by: martin on October 19, 2008, 02:19:16 PM
In Pelles C help it says Sleep uses seconds. In WIn32 Programmer's Guide it says Sleep uses mS. How do I specify which function will be used?
Title: Re: General learning- how to specify which function to use if there are duplicates.
Post by: Robert on October 20, 2008, 10:27:12 AM
The Pelle's C function is

_sleep

The Microsoft API function is

Sleep

Remember that the C language is case sensitive.

Robert Wishlaw
Title: Re: General learning- how to specify which function to use if there are duplicates.
Post by: martin on October 20, 2008, 01:19:00 PM
Oh thank you. I shouldn't have been confused but I obviously was.