i'll try :) (that link to PellesC does not seem working though)
Type: Posts; User: vicst197
i'll try :) (that link to PellesC does not seem working though)
well, it's money problem.:( ... i hope to make 32bit compiler working!
Well.. Borland C++ 4.51, which i use has a 32 bit compiler. i just need to set it up so i will read manuals again and meantime if any1 having experience with this would drop a line would be gr8!...
2... poor me
maybe any1 using Borland C++ 4.51 knows how to set 32 compiler up? :)
it's in there!
WINBASEAPI
VOID
WINAPI
Sleep(
DWORD dwMilliseconds
);
it should be 32bit.. i will investigate though. thanks for suggestion :)
manuals seem unintellegent about this. i really wonder whether it's XP related trouble.. i do not remember such troubles while using Win 98 in recent past..
Not at all, sleep() is described in Help of Borland C++ 4.51 :) and my attempt to use delay(i) instead of sleep(i)
brings similar error message:
Linking sample.exe:
Linker Warning: No module...
Using Sleep() instead of sleep() brings after compiling:
Compiling SAMPLE.C:
Warning SAMPLE.C 13: Call to function 'Sleep' with no prototype in function main
Linking sample.exe:
Linker Warning:...
When i compile code:
/* sleep example */
#include <stdio.h>
#include <windows.h>
int main(void)
{
...not really, it's 32 bit windows compiler i believe (actually there are both 16bit and 32 bit compilers in Borland C++ 4.51) and function sleep() is described in manual, but does not work for some...
I have tried but it does not work either. Thanks anyway..
Unfortunately, it does not. I've got the same error message using your code as before - a nasty thing but what could be a reason?!
Hello All,
I have got a problem using delay function sleep() in Borland C++ 4.5 under Windows XP SP2.
When I try to compile a code (example code below, for example) then I
get an error message:...