#include #include #include #include #include using namespace std; class CPrecisionTimer { LARGE_INTEGER lFreq, lStart; public: CPrecisionTimer() { QueryPerformanceFrequency(&lFreq); } inline void Start() { QueryPerformanceCounter(&lStart); } inline double Stop() { LARGE_INTEGER lEnd; QueryPerformanceCounter(&lEnd); return (double(lEnd.QuadPart - lStart.QuadPart) / lFreq.QuadPart); } }; int main(int argc, char *argv[]) { CPrecisionTimer cptimer; //Loop for second number for(int j=130; j<1000; ++j) { for(int k=100; k<200; ++k) { for(int i=308; i<400; ++i) { //Set the app run info string run="app13win 537 "; char temp[11]; itoa(i, temp, 10); run += temp; run += " "; itoa(k, temp, 10); run += temp; run += " "; itoa(j, temp, 10); run += temp; //cptimer.Start(); system(run.c_str()); cout << run << "\n";// for debugging // currentTime=cptimer.Stop(); /// if(maxTime