E
ern
Anybody know a good function that waits a specified amount of
milliseconds?
ie...
void Wait(int milliseconds){
//wait somehow
}
milliseconds?
ie...
void Wait(int milliseconds){
//wait somehow
}
Anybody know a good function that waits a specified amount of
milliseconds?
ie...
void Wait(int milliseconds){
//wait somehow
}
ern said:Anybody know a good function that waits a specified amount of
milliseconds?
ie...
void Wait(int milliseconds){
//wait somehow
}
ern said:I'm running Linux Red Hat, using gcc if anyone knows how to do it
there. Thanks.
Anybody know a good function that waits a specified amount of
milliseconds?
ie...
void Wait(int milliseconds){
//wait somehow
}
wilsonidv said:ern 寫é“:
try select().
Flash said:That is not part of the C standard and so may well not be available on
the OPs system, or if it is available might do something completely
different such as sellecting the target for a missile. Since the OP does
not specify a system you have no way of knowing.
We only discuss standard C, discussion of system specifics belong on the
groups dedicated to the relevant system and should be redirected to such
groups.
Skarmander said:Flash Gordon wrote:
Quite right. He should have said "try select(), for POSIX systems".
Flash said:Had he done, he should also have redirected the OP to an appropriate
group for further discussion and said that he was suggesting a system
specific solution because there is no solution within standard C.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.