Home > Back-end >  Bosses save me
Bosses save me

Time:10-16

Self-study of the c language began to learn to write a snake, is the last step the whole meng sleep function, and the sleep (5000) what's the meaning, check the information also don't understand, hope everybody bosses, river's lake emergency next grateful,

CodePudding user response:

Let the program run suspended for five (5) seconds

CodePudding user response:

The
reference 1 floor? Victor.?? Response:
let the program run suspended for five (5) seconds

Not have Sleep (snake speed), the Sleep (5000) are of no use, is not very good

CodePudding user response:

Sleep function which is suspended, not terminated
This two sleep function is not the same as
Sleep (snake speed) should be to get food for a period of time
Sleep (5000) is to make the game scores showed out again after 5 seconds "press any key to exit... The pile of stuff. ""

CodePudding user response:

The
reference 3 floor? Victor.?? Response:
sleep this is suspended, not terminated
This two sleep function is not the same as
Sleep (snake speed) should be to get food for a period of time
Sleep (5000) is to make the game scores showed out again after 5 seconds "press any key to exit... The pile of stuff "

Oh, thank you thank you
  • Related