I have heard that games can be built using c language. I request someone to post the code for a simple game.(if possible,simple code too)..

sagar d
Recommended Answers
Jump to PostIt's true. You can build games using C. But you can build better using C++.
Object oriented design helps a lot when you model the game world, entities
and entity interactions. Plus, there are very good libraries available to help.As for your code request, I guess there are …
Jump to PostI'd appreciate it if you didn't ask whether the attempt was successful or not.
Way to answer the question without it being asked. ;) If you'd rather not have someone ask, then clearly the attempt was unsuccessful.
Jump to PostIf I may suggest ... C in a Nutshell from O'Reilly.
Jump to Post@imkj:the code is the same thats above... both the links(4shared & c.happycodings.com) have got errors(sadly,too many)...
Then you should happily contact the author and ask them to rewrite it for you.
All 13 Replies
m4ster_r0shi 142 Posting Whiz in Training
Narue 5,707 Bad Cop Team Colleague
m4ster_r0shi 142 Posting Whiz in Training
platinum8 -9 Junior Poster Banned

sagar d

sagar d

sagar d
Narue commented: Fix them yourself if you want to steal code. -4
imkj 0 Newbie Poster
Kiss_and 0 Newbie Poster
imkj 0 Newbie Poster

sagar d
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
imkj 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.