Friday, July 31, 2009

How to learn C++?

ive been for the past couple of years trying to learn C++, ive read a 600 page book on c++ and watched man videos on c+++ but i still cant make a decent windows program. all i want to do is a make a 3ds max model thorw a rock aor something. all i can do current Nes style dos like games.

How to learn C++?
this is not really related to C++, but rather to 3rd party libraries (i.e. directX, openGL and others). These libraries have many functions and it's difficult to know them all.





if you're into game programming, i recommend to have a look at nehe.gamedev.net - beginner's tutorials for OpenGL. And then have a look at the five Enginuity-articles, how to build a simple game engine.





but be sure it's a long way to a rock-throwing ogre...
Reply:Try C++ complete reference and schaum's outline series!!
Reply:Sounds like you're learning C++. Windows programming is different. Separate the two in your mind and start looking for tutorials and all. There is Tricks of the Windows Game Playing Gurus edited by Andre LaMothe. Go to your brick-and-mortar bookstore and special order it.





Another good source of information on Windows Programming is the documentation for Jacob Navia's LCC for Windows, which I've linked to in sources. Bluntly, I left the Windows world behind a couple of years ago, so I'm not up to date on it. But this offers something else you should be thinking about: this compiler is nonstandard using a basic C syntax into which Mr. Navia has incorporated C++ concepts and syntax in a way not supported by ANSI. It still worked for Windows programming the last time I checked, and you can try out the exercises on your own compiler.





What you can do with it is translate your NES style dos like games to run in their own windows. Then LaMothe's book and other tutorials on Ray-Tracing and other concepts should help you go the distance to where you want to be. But it isn't C++ you have a problem with, it's Windows and some of the more advanced concepts. Once you separate them in your mind, your progress will be easier.
Reply:I really don't recommend using Lamothe stuff. A lot of his stuff is outdated and I had to use his books for a game design course. Just do a search for basic forms programming, or windows programming and you should have no problems.
Reply:basic c++ will appear as dos lines. You'll have to get pretty advanced if you want a windows looking progra, with graphics. for a program with windows application, you should try something like visual basic. for 3d, you should learn 3d rendering programs, or possibly CAD.

floral design

No comments:

Post a Comment