   how do you incorporate a timer in your code
  Can anyone tell me anything about how to incorporate a timer into C++ code for the purposes of having commands execute after a set period of time. For example; load a bitmap to the screen and then another after say 5 seconds; rather like a game intro sequence.  A link to a tut dealing with such matters would be greatfully recieved.thanks   
  I'd recommend doing a search in the general programming forum for "QueryPerformanceCounter" (or timeGetTime(), though QPC is superior). There are dozens of threads that should get you started there.   ;  You can always trial and error with loops :)for(int i=0, i<100000, i++){/*Do nothing*/}But seriously, if you want a more exact time (not to mention if you're doing something else in the meantime), you'll want to use something like Etnu said.   ;  It depends on your OS and how you want to use the timer.If you are using Windows and you want to wait more than 55 ms, you can use SetTimer. A more portable way would be to do all the bookkeeping yourself, looking at the time every frame (using QueryPerformanceCounter in Windows).   ;  or timeGetTime();   