warning C4700: uninitialized local variable 'currentTime' used
srand((unsigned int)time(0)); ///// is unsigned because wont compile in Visual C++
time_t startTime = time(0);
time_t currentTime;
double seconds;
seconds = difftime(currentTime, startTime); //// This is the problem
here
but why ?
This piece of code is just above the first question because I want the timer to
start at that point, and the srand is for random generated answer order.
However this piece of code is causing the app time to end the test on the
first question.