Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

sleep function

what header file do i need for sleep function?
0
dinn
Asked:
dinn
  • 2
  • 2
1 Solution
 
n_fortynineCommented:
on UNIX i think it is <unistd.h>
for MFC there's the default ::sleep() ...
0
 
dinnAuthor Commented:
what is the syntax?
0
 
NanosCommented:
#include <windows.h>
VOID Sleep(
  DWORD dwMilliseconds   // sleep time
);

0
 
n_fortynineCommented:
i thought you knew
0
 
dinnAuthor Commented:
yep
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now