As I’m sure most of you have already gotten the e-mail.
#include <stdio.h>
#include <windows.h>
main ()
{
/************ Your Variables *************/
char meh;
/*******************************************/
/*******************************************/
/***** Variables needed to use Timer *****/
/*******************************************/
/**/ double elapsedTimeSec = 0;
/**/ LARGE_INTEGER liStart, liFinish;
/**/ LARGE_INTEGER liFreq;
/**/ QueryPerformanceFrequency(&liFreq);
/*******************************************/
//////////////////////////////////////////
QueryPerformanceCounter(&liStart); //Start Timer
//////////////////////////////////////////
/*~~~~~~!!! Your Code Here !!!~~~~~~~~~*/
/////////////////////////////////////////
QueryPerformanceCounter(&liFinish); //Stop Timer
/////////////////////////////////////////
elapsedTimeSec = (double)(liFinish.LowPart - liStart.LowPart)/(double)liFreq.LowPart;
printf("n%0.6f secondsn",elapsedTimeSec); //Store and Prints the time
meh=getch();
}