You have the code as
#include <graphics.h>
Which means it will look into the include folders defined in the IDE. What IDE you are using to compile the program.