Hello,
I've been programming in Dev-C++ in DOS for a couple of weeks, mostly doing problem solving programs, and have recently made the switch over to windows programming, specifically using "SAMS Teach yourself GAME PROGRAMMING in 24 Hours." Granted, not a smart choice on my part to try to learn windows programming through a game programming book, but its all I have available, and I did not feel like spending any more time on DOS. Plus learning how to program games is the step I would eventually like to end up at. But my problem is I keep having problems with Dev-C++ when trying to make very very very basic windows programs... like ones that just open a window. Whenever I use the examples in the CD, they work fine, so obviously Dev-C++ includes the windows.h library, but whenever I try to take out his code and stick in mine, it never works. I get errors like this:
Quote:[Linker error] undefined reference to `GameEngine::GameEngine(HINSTANCE__*, char*, char*, unsigned short, unsigned short, int, int)'
and
Quote:[Linker error] undefined reference to `TextOutA@20'
and I have no idea what these mean. By all accounts it should work, my GameEngine looks fine, all the headers and files are linking up right, but for some reason I always get that error.
While we are on the subject, is there a good article on basic windows programming on the internet that I could use before trying this game programming that is way over my head?