About C++ and Game Programming

This is a discussion on About C++ and Game Programming within the Game Programming forums, part of the General Programming Boards category; Hi, I'm new . Anyway, I want to learn how to program in C++ and DirectX, and then makes games. ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    100

    About C++ and Game Programming

    Hi, I'm new .

    Anyway, I want to learn how to program in C++ and DirectX, and then makes games. But I don't truly know where to begin.

    First of all, I'm contemplating about getting a Visual C++.net compiler (student edition) or just sticking with the freeware (but I really want to get the compiler- it's 50 bucks).

    The books I currently have are:

    Visual C++ 6 for Dummies
    and
    Tricks of the 3D Game Programming Gurus (which I can use as references for game theology, mathematics, and basic structures for the programming (since the book is in C)).

    Really, after I get the compiler, I'm not really sure where to begin. Do I just go through Visual C++ 6 for Dummies and learn all the stuff? I don't know what type of programs to write to really sink in the commands and such.

    I'm not completely clueless, but I would like to ask for your help. I'm appreciative of any due to the fact that most of you have probably heard hundreds of others asking the same question (but since the search function only works with specifics, I never really got anywhere with it). Thanks in advance.

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    You should try to learn C++ (or C) before you try anything else.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    100
    I'm kinda asking for both..and I am aware that I need to know a programming language before even thinking about jumping into games. I just wanted to let you know what my initial goal was.

    So my book is okay...but whatever.

    Also when is a good time to start game programming? Is there a right time?

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    Worry about that later.

    You can do simple games with text (like a treasure hunt).
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    I would forget learning C as C++ is a more adapted language to game development, I personally knew a lot of C before I jumped into C++. But if you learn C++ without C, it is no big deal. The one big advantage in learning C++ is the fact it incorperates OOP.
    (object orirntated programing) which is all Classes and stuff like that.

    I f you want to learn C, then do so as a part time study, but in my reason, C++ is the one to go for if you want to make games for a living. Almost evrey commercial game is written in C++

  6. #6
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    You still have to start from a hello world application and imho, visual C++ 6 and .net are slightly different, I think that .net is more for stuff like internet and network applications (thus the postfix .net right?)
    what does signature stand for?

  7. #7
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by Ruski
    You still have to start from a hello world application and imho, visual C++ 6 and .net are slightly different, I think that .net is more for stuff like internet and network applications (thus the postfix .net right?)
    true, but if you want to work really hard you can use the .net features for the game to be online.
    ( instad of making life simple and using the c++ network tools for doing it )
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

  8. #8
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    .net features for online games? I tought .net was too slow for that
    what does signature stand for?

  9. #9
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    .net core is the definitions of the protocols to be used.
    if you use those protocols to develop a network game, you are using .net, but not the slow code base for current .net implementations.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21