Dear Group,

I am using VS.NET2003 VC++ 7.0 compiler to build the Snake Game (sample game) developed in C++ 3.0, now i would like to recompile in VS.NET2003 C++.

Whereby it has three files, the root file snake.cpp and csnake.h header file.

When i build the solution i ask me "graphics.h" and it is not include in the source file snake.cpp.

i try search in windows in my pc and add the graphics.h in the same folder, but it will give me

fatal error: couldn't find the include file graphics.h.

What is the solution for this?

Thanks in advance,

JJ

>What is the solution for this?
Rewrite the program using a modern graphics library. graphics.h is an ancient graphics library for an ancient compiler designed to run on an ancient OS. I believe Salem said it best: You're trying to put a rubber band engine in a Ferrari.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.