Can some one tell me if this is the right way using clock
ThanksCode:#include <time.h> int main() { int secs=0; clock_t begin; begin = clock(); secs = begin/CLOCKS_PER_SEC; }
Can some one tell me if this is the right way using clock
ThanksCode:#include <time.h> int main() { int secs=0; clock_t begin; begin = clock(); secs = begin/CLOCKS_PER_SEC; }