quote:
Originally posted by absorbation
Using <windows> would be useless and just add to the filesize as the program is using nothing from the Windows API
No it wouldn't, as the linker will just chuck away anything that isn't used.
quote:
Originally posted by Adeptus
declared in windows.h
If you wish to use the Windows Sleep function, yes. However, I believe the standard C library has a sleep() too, in unistd.h (I just Googled it
).
And, as always, remember that different compilers and systems have different libraries.