How to pause a program for a few milliseconds?
How to pause a program for a few milliseconds using C++ managed code? I tried Sleep() but it didn't work when I included the winbase.h file, I got lots of compile errors! for(int i=0; i<10; i++) { simpleOpenGlControl1->MakeCurrent(); System::Threading::Thread::Sleep(100); theta_rotated += 2.0* 3.141592653/(double)Model->size...