Like Tree1Likes
  • 1 Post By manasij7479

doubt regarding GAME Programming

This is a discussion on doubt regarding GAME Programming within the Game Programming forums, part of the General Programming Boards category; I am very much interested in programming. So I decided to develop a game using C programming. I am not ...

  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
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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
    1,625
    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
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Quote Originally Posted by GReaper View Post
    Nah, C++ is the grey side... Java is the dark side!
    Then where lies Visual Basic ?
    dennis.cpp likes this.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



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

  10. #10
    language hopper dennis.cpp's Avatar
    Join Date
    Jan 2011
    Location
    Herborn, Hesse, Germany
    Posts
    197
    Quote Originally Posted by manasij7479 View Post
    Then where lies Visual Basic ?
    Disneyland?
    Hardware: Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8
    Operating system: Debian Testing/Jessie / Linux 3.16-2-amd64 / KDE SC 4.14.1
    Compiler: gcc 4.9.1-16 with KDevelop 4.7.0

  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, 03: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

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