Thread: doubt regarding GAME Programming

  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    2

    Unhappy doubt regarding GAME Programming

    I am very much interested in programming. So I decided to develop a game using C programming.

    I am not a good C++ programmer, so I chose C.

    Then I searched for books on "GAME PROGRAMMING Using C" but I didn't find any books based on C programming, all are based on C++ programming.

    I found "Beginning Game Programming in C++ " by Michael Dawson.

    My DOUBT is
    Is the game programming in C is similar to that of in C++?
    should I carry on with that book?
    Or is there any book based on C?

  2. #2
    Registered User
    Join Date
    Jul 2011
    Posts
    62
    C is mainly for OS these days, game programming is usually done with C++ or C# (C# mainly for XNA efficiency, so mainly C++).
    I never heard of game programming done with C, so I suggest you try learning C#/C++? Honestly, game programming is one of the categories that depend most on OOP (Object Orientated Programming),
    and C just doesn't have that, (structs at most :O)

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Most games are written in C++.

  4. #4
    Registered User
    Join Date
    Jan 2012
    Posts
    9

    You know...

    There is another option. If you can't find a book on game programming in C, just look for one on the C language itself.

    Then you can look for game programming in general to help you with the concepts (or find suitable websites/ forums). Or, even better, problem solve and figure out on your own how what you've learned can be use for games.

    Then, taking what you know about C, you can try and implement the concepts. It's not exactly ideal, but it'll help if you're in a pinch. Plus, the book will continue to be helpful even if you decide to do something else with C.

    Though, as a side note, I think you really should consider learning C++. It's ability to use classes really helps in game programming, and C just doesn't have that.

  5. #5
    Registered User
    Join Date
    Jan 2012
    Posts
    2
    thanks for the reply guys.

    I'll go with C++ den.

  6. #6
    Registered User
    Join Date
    Jan 2012
    Posts
    17
    Another soul goes to the dark side LOL

  7. #7
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Quote Originally Posted by OhPoo View Post
    Another soul goes to the dark side LOL
    Nah, C++ is the grey side... Java is the dark side!
    Devoted my life to programming...

  8. #8
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by GReaper View Post
    Nah, C++ is the grey side... Java is the dark side!
    Then where lies Visual Basic ?

  9. #9
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Quote Originally Posted by manasij7479 View Post
    Then where lies Visual Basic ?
    At the invisible side!
    Devoted my life to programming...

  10. #10
    spaghetticode
    Guest
    Quote Originally Posted by manasij7479 View Post
    Then where lies Visual Basic ?
    Disneyland?

  11. #11
    Registered User
    Join Date
    Nov 2011
    Posts
    48
    Quote Originally Posted by manasij7479 View Post
    Then where lies Visual Basic ?
    I believe the formal term is "hell".

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 12-11-2011, 04:25 PM
  2. Doubt in "C Programming Language by K & R"
    By ackr1201 in forum C Programming
    Replies: 5
    Last Post: 07-12-2011, 10:34 AM
  3. Simple game server doubt
    By Tesctassa in forum Linux Programming
    Replies: 4
    Last Post: 09-09-2009, 08:53 AM
  4. About C++ and Game Programming
    By blankstare77 in forum Game Programming
    Replies: 8
    Last Post: 07-29-2005, 02:46 PM
  5. 3D game programming in C++ vs. C
    By Music_Man in forum Game Programming
    Replies: 6
    Last Post: 10-09-2001, 11:23 PM