Home>
[system.runtime.interopservices.dllimport ("kernel32.dll")]
static extern uint gettickcount ();
///<summary>
///program waits for delayed execution
///</summary>
///<param name="ms"></param>
static void mysleep (uint ms)
{
  uint start=gettickcount ();
  while (gettickcount ()-start<ms)
  {
    application.doevents ();
  }
}
c
  • Previous Detailed one-dimensional array and two-dimensional array in C ++
  • Next Nine application scenarios of this in JavaScript and three composite application scenarios