While running all codes in visual c++ it gives me the same error -"Error 1 fatal error C1083: Cannot open include file: 'test.h': No such file or directory c:\users\ila\documents\visual studio 2008\projects\game\game\testgame.cpp 1
"
I have created the header file test.h.

Try starting a new project and copying and pasting the code from the existing one into the new one.

Is test.h still in your source directory? That error could also be telling you the file is missing or corrupted.

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.