I just got that book Tricks of the Windows Game Programming Guru's. I bought it becuase i saw it had a high reccomendation everywhere, and i saw people on this board refer to it quite a few times. But i belive there may be somthing wrong with the source code for freak-out, the first game in the book. I have added ddraw.lib and ddraw.h into my workspace, along with Freakout.cpp and the blackbox files but msvc++6 gives me an error in blackbox.h when i try to compile an exe. The error is
blackbox.h(34)"Missing ';' before identifer lpdd"
blackbox.h(34)"unexpected end of file found"
blackbox.h(34)"Missing ';' before identifer lpdd"
blackbox.h(34)"unexpected end of file found"
4 errors 0 warnings
Ya thats right the same errors twice. I checked out the .h file and there wasn't any ; missing. I was just wondering since this seams to be a popular book if anyone knows the fix for this.
Also does anyone know how to turn on line numbers in msvc++ 6?
blackbox.h(34)"Missing ';' before identifer lpdd"
blackbox.h(34)"unexpected end of file found"
blackbox.h(34)"Missing ';' before identifer lpdd"
blackbox.h(34)"unexpected end of file found"
4 errors 0 warnings
Ya thats right the same errors twice. I checked out the .h file and there wasn't any ; missing. I was just wondering since this seams to be a popular book if anyone knows the fix for this.
Also does anyone know how to turn on line numbers in msvc++ 6?