Hi everyone. I am using a pause function in a homework program and was wondering what the portability limitations would be (i.e. can it be used on other OS). The compiler I am using is MSVC++ v.6.0. and the function is
Thanks,Code:void pausing(int seconds)
{
clock_t endtime = clock() + seconds * CLOCKS_PER_SEC;
while ( ( clock() < endtime ) );
}
Eigenvalue
:)