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.
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.
>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.
games ? gosh, perhaps it would be better if can learn C++ to build a games.
>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.
> 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.
>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.
> 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++.
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.