printf("Hello, World!\n");


Recommended Posts

I thought you used VB? didnt know you could program too?

but hey, welcome!

I may have used VB once or twice in the past :shifty:

If you want a code-off, using pure C++, Ste, I'd be more than willing to oblige. In fact, scratch that... let's do it in machine code; that way, you can't take the **** :p

I may have used VB once or twice in the past :shifty:

If you want a code-off, using pure C++, Ste, I'd be more than willing to oblige. In fact, scratch that... let's do it in machine code; that way, you can't take the **** :p

ill have you know, i do program in c, infact i see your machine code, and raise you microcode

// end thread

while(1) { Sleep(1);}

Not an ideal solution, it is much preferable to do either of the following:

  Sleep(INFINITE);
/**/
SuspendThread(GetCurrentThread());[/CODE]

Both methods ensure the thread stays off the execution queue indefinitely whilst the method you stated will repeatedly hammer away.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.