Is there a microtime.h library for C

75 Views Asked by At

I have a C program that has #include <microtime.h> in the header, but when I compile it with GCC or g++, it shows the error -

fatal error: microtime.h: No such file or directory
    2 | #include <microtime.h>


How could I compile it. I am not sure if I need to download this microtime separately?

1

There are 1 best solutions below

0
vegan_meat On

use quotes:-

#include "microtime.h"

Using quotes will look in the same directory first, and then in the specified include paths. Using angle brackets <> will look in the include paths only.