You need to find out what is installed on your friend's computer that includes the graphics.h file.
Probably a dir/s will do the trick, from the root on each drive. That should give you a clue where it comes from, e.g. if it's in (made-up path) c:\program files\borland\turbo_c\include\graphics.h then that fairly obviously points to Borland Turbo C.