pause ב anci c

yaishb

New member
pause ב anci c

מה הפקודה שגורמת לשיהוי של X מילישניות ב c++ סטנדרטי (לא MFC)?
 
נסה Delay/Sleep/Wait

אני לא זוכר מי, אבל אחת מהן מתאימה, נדמה לי ש-Delay כי Sleep היא של MFC.. נסה ותהנה
ביי גיליוטין
 

gew

New member
Dear Yaish

You request an OS specific command; This can never be ANSI exactly for the reason that it is OS specific. Anyhow, there should be a sleep function somewhere, provided by the Windows OS. And if you just want to use lots of CPU cycles, use a loop.
 
למעלה