Thread: New C Programmer

  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    1

    New C Programmer

    Hello. I would like to learn to program C, and would like to review some small but good C source codes for games vs. the computer. Also I would like a reference to see what the terms are doing. Have a good day.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I would like to learn to program C
    Good for you. I'm hope you enjoy it at much as I have.

    >and would like to review some small but good C source codes for games vs. the computer.
    Try our Games forum. I don't go there often, but I figure they have to churn out some good code every once and a while.

    >Also I would like a reference to see what the terms are doing.
    I suggest getting "The C Programming Language" by Brian Kernighan and Dennis Ritchie. Not only is the tutorial superb, the reference never becomes useless.
    My best code is written with the delete key.

  3. #3
    ~- Y u n a -~ beely's Avatar
    Join Date
    Dec 2001
    Posts
    291
    games ? gosh, perhaps it would be better if can learn C++ to build a games.

  4. #4
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >gosh, perhaps it would be better if can learn C++ to build a games.
    Why? IMHO, C and C++ are both well suited for games. And since the OP specifically wants to learn C, why are you suggesting he do otherwise?
    My best code is written with the delete key.

  5. #5
    Registered User
    Join Date
    May 2003
    Posts
    161
    > C and C++ are both well suited for games.
    Agreed. Just as an example of using C for games: I don't think John Carmack would ever touch a C++ compiler, and id software turns out some of the best games on the market.

  6. #6
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I don't think John Carmack would ever touch a C++ compiler
    That I doubt. Have you tried to find a compiler that works strictly with C? Most compilers these days are C/C++ compilers, they do both and you pick which you want by using different filename extensions.
    My best code is written with the delete key.

  7. #7
    Registered User
    Join Date
    May 2003
    Posts
    161
    > That I doubt. Have you tried to find a compiler that works strictly with C?
    lcc is a rather popular compiler that works strictly with C. But that is really side-stepping the point of my post-- which is that Carmack doesn't code in C++.

  8. #8
    ~- Y u n a -~ beely's Avatar
    Join Date
    Dec 2001
    Posts
    291
    hey all,
    perhaps i'm wrong. coz i did only heard that most of games were built by C++. yeah i heard it before about id co. use C to implement their games too.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What game programmer should I be? need some advice.
    By m3rk in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 04-20-2009, 11:12 PM
  2. When are you REALLY a programmer?
    By m.mixon in forum C Programming
    Replies: 5
    Last Post: 07-19-2006, 09:08 PM
  3. Senior 3D Programmer - Moab Studios™ LLC
    By moab in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 08-30-2005, 10:19 PM
  4. Me as a programmer?
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-31-2002, 06:19 PM
  5. I need to interview professional programmer.....please
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 01-05-2002, 02:46 PM