View Full Version: core programming resources needed

C++ Learning Community > Recommended Resources > core programming resources needed


Title: core programming resources needed


Incubator - September 8, 2003 11:43 AM (GMT)
I´m looking for some good titles of books about how to make applications from scratch, without using any framework.
Reason for this is because I don´t like MFC at all and VCL uses twice as much memory as MFC, and another reason is because I need to make some custom controls (and I dont mean just an upgrade of an already existing version)
I want to learn how to make one of those applications the way it is done in one of the example programs of dev-C++ .
Reason for this is because I´m going into game programming in a few years. I got a few good books about that already for opengl and directx, but I just keep wondering how they create these interfaces, wich are completely different from teh ones a framework provide.

TheHawgMaster - September 8, 2003 01:02 PM (GMT)
OK, so your going into game programming? In that case just drop MFC/VCL; you want to program pure WinAPI for maximum speed. And you will only want one window and no controls in it.

Are you asking how to make like a main menu under DirectX? Just draw pictures for your menu items and then do something if you find a mouse click while the the mouse in inside the button's bounds. With OpenGL (or DirectX for that matter) for the same thing you might want to just use WinAPI bitmap support for simple drawing of the main menu.

When you make a game you get to make the greatest assumptions about the computer's resources--and you get them all. No need to take multi-tasking into account (except making your program alt-tab properly).

Incubator - September 8, 2003 01:13 PM (GMT)
Ok, that already gives me a good perspective about the whole thing, but then I still need some good book or something that teaches me how to use the winAPI completely (not an API reference that just lists them)

and besides game programming, when creating regular applications I dont want to use any framework either, wich means I´m going to have to use api as well (because in there I do want custom controls) , so overall, I need some good lecture that handles both uses of the winAPI.
Any good advice for this?

TheHawgMaster - September 8, 2003 01:43 PM (GMT)
May I suggest Teach Yourself Game Programming In 24 Hours published by Sams (It's just a beginner's game programming book, and it doesn't teach that much WinAPI, but it's really good).

For any book, public libraries are great. And I suggest you search you local library system for books on C++/WinAPI/DirectX/OpenGL programming.

Incubator - September 8, 2003 04:26 PM (GMT)
Ok thanks :)
I´ll get that book, I also got something here called "Tricks of the Windows Game
Programming Gurus
Fundamentals of 2D and 3D Game Programming" - Sams publishing, but i´m afraid our library here is quite "deprecated". It is a small one and offers little or no resources about programming.


TheHawgMaster - September 9, 2003 12:20 AM (GMT)
QUOTE
Tricks of the Windows Game Programming Gurus
Don't know why I didn't think of that, it's just about the frickin best prgramming book in the world!




* Hosted for free by InvisionFree