Hi. I'm doing some windows game programming, but I just switched over from Borland C++ 4.5 to Visual C++ 4.0. With this new compiler, it is not accepting WinMain, apparently. This is the main() function for windows. If anyone could tell me why, I would appreciate it. The specific error is...
Hi. I'm reading the game programming for dummies book. There's a program I'm on that's giving me trouble. A certain include file, ddraw.h, uses GUIDS. However, my program is giving me errors like 'type name expected' and pointing to the lines in the include file where they define the GUIDS...
The Sleep(function), defined in dos.h, is not being recognized by my compiler(Borland C++ 4.5, and I have NO IDEA WHY. Everytime I run it, it says, 'compiler error: 'sleep()' function not defined in prog5_2.' (I am doing the Windows Game Programming for Dummies, in case anyone cares.) In this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.