how to use <graphics.h> header file in dev cpp?

i got sample snake game code from an open source
and it starts with the <graphics.h> header file. the compiler can't run the program.

anyone knows how to solve this problem?
i searched on the internet a bit, some people say dev cpp cant run graphics header file. and others say they are using it. im kinda confused.

if anyone knows, please help me
Last edited on
anyone knows how to solve this problem?

The graphics.h header file is probably a Borland specific header file meant to be used with their Dos compilers.

The best way to solve this problem is to "find" a game that uses a more modern graphics library for your modern OS.



Topic archived. No new replies allowed.