C++ apps/games

Hi,

Iv been reading a book that is a dummies guide to c++ (MS Visual c++ 6 pro), but it only tells me how to make rubbish dos programs that "figure out the length of a song" etc. Is there anywhere I should look to find info about making simple games or windows apps?
cmattAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

azamiCommented:
An excellent place to start is the help system that came with VC++6.  Beyond that, where to look depends on specific goals you have.

For games, you're probably most interested in graphics and possibly sound, plus a little GUI (user interface) and input device work.  Pay special attention to information on DirectX - it's quite fast and portable, and almost every game currently shipping for Windows uses at least some DirectX.  GDI drawing routines will be too slow unless your game is extremely simple.

(If you're talking about _really_ simple games, that use only a text interface, you can write them as though for DOS and run them in a Windows console.)

Here's some sections to look at in the VC++6 help:

Visual C++ Documentation - Using Visual C++ - Visual C++ Tutorials
Platform SDK - Graphics and Multimedia Services - DirectX
Platform SDK - Graphics and Multimedia Services - GDI
Platform SDK - Graphics and Multimedia Services - OpenGL

Also be sure to check out Books and Partial Books for lots of info.  You can also search in Periodicals for particular topics - I know there've been many DirectX articles and samples in MSJ.

For in-depth knowledge of how MFC does its Windows stuff, it's valuable to learn how to write a Windows application without MFC.  Look at the Platform SDK section of VC++6 help for more details.  If you want to go this route, you'd do well to get a separate book on Windows development - one that doesn't focus on MFC or OWL.  Generally speaking, this is more useful as an excercise for learning than for a "real" project.

Finally, if you're interested in game development, there are a number of excellent books on the topic.  They range from specific code to write specific types of games, to overviews of the whole process including design and pitching your idea to publishers.

What kind of games are you talking about when you say "simple games"?

Good luck!

-Matthew
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Game Programming

From novice to tech pro — start learning today.