Apr 16, 2010 at 7:21am
Hi, i want to measure the time it takes for a sort.
#include <sys/time.h>
does not work. It says couldn't open source file.
Thank you
Yigit
Apr 16, 2010 at 9:30am
Try this instead
#include <time.h>
Apr 16, 2010 at 9:40am
<sys/time.h> is a POSIX header, not part of the C/C++ standard library.
If you are using C++ the standard header is <ctime>