Advertisement

Windows...programming

Started by March 20, 2002 03:41 PM
5 comments, last by Mage_gr 22 years, 8 months ago
How much knowledge of C++ do you need in order to understand the windows game programming that is in the Tricks of th windows game programming.Please tell me exactly(I know I ask for too much)what I need to know from C++.In order to make it straight I want you to tell me how much of variables unctions constants,e.t.c. I need to know
When you see a roller coaster, get on it,put your hands in the air,and ride it to the very end.Life doesn't remember you unless you kick,scream,and claw your way to the top.There is nothing in the world that is impossible.If you believe that you can do it, you will.
If you have this many questions about C++ then you should NOT be jumping right into game programming.

My Advice: SLOW DOWN. Go to a book store and buy a book on C++ and LEARN it. THEN, read the book you''re reading now...trust me, we will still be developing games when you get to that point.

You seem in this huge rush to know everything at once, but you''re asking everyone to everything for you...do some of the legwork yourself.

Advertisement
Gravity is right. You must have patience and then even more patience. Make a few text games first, tic-tac-toe, connect4 , adventure game, etc. Then as you gain knowledege to what goes into programming these games, it will be a whole lot easier. Well this is the path I atleast took.


-----------------------------
"There are ones that say they can and there are those who actually do."

"...u can not learn programming in a class, you have to learn it on your own."

-----------------------------"There are ones that say they can and there are those who actually do.""...u can not learn programming in a class, you have to learn it on your own."
While at the store, you might also want to pick up a copy of Charles Petzold''s "Programming Windows" - it''s the best intro to windows programming out there.
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
yup charles petzold.., i think almost everyone had undergo that, it''s the only book i know of that uses c and straight win32 api''s ,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
I have been learning C++ for just over a year now, there is always something to learn. Heck, I am just starting to get my feet wet with OpenGL and I have been experimenting with Win32 API for the past few months. I don''t believe that you are ready to program games yet. If you attempt to program games at this early stage, you will become fustrated and you will give up.

Now, to answer you question about what aspects of C++ you need to know to program games:

loops
arrays
structs/classes
pointers and references
operator overloading
streams
inheritance is useful too..

Of course, that is just for a simple game (ie. Pong, Tetris, Breakout) Of course, there is much more to know if you want to code a more advanced game.

My advice is that you go to www.cprogramming.com and read and UNDERSTAND all of the C++ tutorials they have. Of course, having a book is a lot better method of learning. When you are done learning sufficient C++ you will know it, then I recommend that you start Win32 API (at least the window creation part) and then move on to a graphics API like Direct X or OpenGL. It is not going to be easy, and sometimes its going to be tedious because you just want to make a game, but you have to learn how to crawl before you know how to walk.
Advertisement
dear friend
i think u have got a fair advice from other friends .i am new to this forum.i belong to india doing mca.everybody who starts
with c/c++ considers it to be easy since its syntax are not so difficult to start with and write few programmes.when u r thinking for game programming ur point of view changes.here
u r applying the concepts not the simply the syntaxes .so before
starting with any game u should be well aware of the command u have on the language otherwise u will waste lot of time doing nothing.
as others have said do start with basic concepts of c/c++
and then u can proceed with advance topics.



m hemant
m hemant

This topic is closed to new replies.

Advertisement