CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #2
    Join Date
    Jul 2009
    Location
    India
    Posts
    835

    Re: cual core, quad core, i3,i5,i7 optimized and 100% cpu's

    can use a infinite for loop...

    Code:
    for (;;)
    {
      for (;;) 
      {
        //some stuffs.. like:: FindWindow(). Finding a window that is not created yet. so the loop continues.
        //a break statements if you want to terminate infinite loop.
      }
    }
    Last edited by hypheni; July 26th, 2010 at 05:36 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured