Thread: Do most video game programmers program with C?

  1. #1
    Registered User
    Join Date
    May 2003

    Do most video game programmers program with C?

    I'm a noob to programming as I just started two days ago. Before I start studying a whole bunch of stuff I don't need to, is C probably the best language to learn if I want to program video games? If so, is there any certain kind of C I need to learn, or just C in general?

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Ontario, Canada
    Most games use a combination of C/ASM or C++/ASM.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    May 2003
    Where can I learn ASM and is it as hard as C?

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Originally posted by Tride
    Where can I learn ASM and is it as hard as C?
    ASM = Assembler = Machine code instructions

    Assembler code is low level processor instructions, so it is nothing like a high level language like C/C++. Since you're on such a low level you have the power of optimizing your code to make it run faster... or screw it up making it slower . Making bigger programs in ASM is hard but above all takes time (guess why high level languages were invented). has an assembler board, and some links to some nice stuff like tutorials if I remember correctly.

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #5
    Registered User zdude's Avatar
    Join Date
    Sep 2002
    C is a good language for games.

    Transition from C to C++ is pretty easy if needed.

    In addition to the others mentioned, programmers sometimes use a scripting language for certain tasks. (AI is a good one, think StarCraft) But the main chunks of code are C/C++

    For games theres a few other languages, but C/C++ are probably the best. C itself provides no gaming tools, but the job of certain APIs is to do that. I reccommend OpenGL for 3D, or SDL for 2D graphics. Both are solid and portable, as well as working in both C/C++
    Those who live by the sword get shot by those who don't.

    I can C.

    Compiler: gcc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 03-31-2007, 12:30 PM
  2. Problems in a game program
    By ChronoSquare in forum C++ Programming
    Replies: 4
    Last Post: 06-08-2006, 07:32 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  5. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM