Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a question about using tree control in atl Pin
realfly6-Mar-02 19:21
realfly6-Mar-02 19:21 
GeneralAutoComplete Members from Dll Pin
MarkPQ6-Mar-02 13:09
MarkPQ6-Mar-02 13:09 
GeneralRe: AutoComplete Members from Dll Pin
Michael P Butler7-Mar-02 0:33
Michael P Butler7-Mar-02 0:33 
GeneralSleep() Pin
6-Mar-02 12:42
suss6-Mar-02 12:42 
GeneralRe: Sleep() Pin
Serge Krynine6-Mar-02 12:49
Serge Krynine6-Mar-02 12:49 
GeneralRe: Sleep() Pin
6-Mar-02 13:36
suss6-Mar-02 13:36 
GeneralRe: Sleep() Pin
Christian Graus6-Mar-02 14:42
protectorChristian Graus6-Mar-02 14:42 
GeneralRe: Sleep() Pin
SilverShalkin6-Mar-02 13:14
SilverShalkin6-Mar-02 13:14 
Well, im not used to the sleep command, but i am used to a command like it.

you can use the clock_t command. It requires the header time.h

#include iostream
#include time.h
using namespace std;

clock_t wait // declares wait as clock_t, like declaring an int.
void main()
{
wait = clock() + 2000;
cout << "Blah\n";
if (wait <= clock() )
{
Cout << "Blah";
}

}

Hope that helps. And it may not be all completly true, but im 99% sure it will work.

Good Luck

~SilverShalkin


Rose | [Rose] Stay at the hights of the language for it will grow ever more, with non stop. Rose | [Rose]
GeneralRe: Sleep() Pin
Christopher Duncan6-Mar-02 16:48
Christopher Duncan6-Mar-02 16:48 
GeneralHTML parsing Pin
sofam6-Mar-02 11:41
sofam6-Mar-02 11:41 
GeneralRe: HTML parsing Pin
Jon Sagara6-Mar-02 11:51
Jon Sagara6-Mar-02 11:51 
GeneralRe: HTML parsing Pin
sofam6-Mar-02 11:56
sofam6-Mar-02 11:56 
GeneralRe: HTML parsing Pin
Jon Sagara6-Mar-02 12:01
Jon Sagara6-Mar-02 12:01 
GeneralRe: HTML parsing Pin
Nish Nishant6-Mar-02 17:17
sitebuilderNish Nishant6-Mar-02 17:17 
GeneralRe: HTML parsing Pin
Jon Sagara6-Mar-02 18:07
Jon Sagara6-Mar-02 18:07 
GeneralRe: HTML parsing Pin
Nish Nishant6-Mar-02 18:34
sitebuilderNish Nishant6-Mar-02 18:34 
GeneralWriting a NT Service using ATL in VC++ 7 Pin
Le centriste6-Mar-02 11:03
Le centriste6-Mar-02 11:03 
GeneralMDI child windows Pin
Rajveer6-Mar-02 9:59
Rajveer6-Mar-02 9:59 
GeneralRe: MDI child windows Pin
Roger Allen7-Mar-02 5:23
Roger Allen7-Mar-02 5:23 
GeneralVirtual table and backward compatibility Pin
6-Mar-02 9:25
suss6-Mar-02 9:25 
GeneralRe: Virtual table and backward compatibility Pin
Joaquín M López Muñoz6-Mar-02 9:36
Joaquín M López Muñoz6-Mar-02 9:36 
GeneralRe: Virtual table and backward compatibility Pin
6-Mar-02 9:35
suss6-Mar-02 9:35 
GeneralRe: Virtual table and backward compatibility Pin
6-Mar-02 9:50
suss6-Mar-02 9:50 
GeneralRe: Virtual table and backward compatibility Pin
Joaquín M López Muñoz6-Mar-02 10:52
Joaquín M López Muñoz6-Mar-02 10:52 
GeneralStandard Interfaces : MIDL Pin
Prem Kumar6-Mar-02 8:29
Prem Kumar6-Mar-02 8:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.