Car Racing Game In C Source-code

  1. Snake Game In C

Download C Program For Car Racing Game Codes and Scripts Downloads Free. Finalspeed is an extreme sport game in 3D (racing), you can drive futuristic machine designed. A light-weight tool to detect the memory leak in C++ Program under Mac environment. Download Free Android Highway Car racing Free Games Sample Source Code and mobile apps. Highway racer is a play store ready 2D Top Down Racing game similar to popular racing games like moto racer. Increased difficulty with levels. This type game is exciting and is popular among different demographics of gamers. Highway Car racing Free.

Source code implemented by

Niyas C
S2C
PPMHSS Kottukkara
Kondotty
Malappuram
Kerala St
India

3,744 Views

What a horrible looking mess. Complete and total lack of any programming style.

Welcome to the 21st century guys..turbo c++ in that sense, is something from the last century which didn't bother to make it to this century (read, didn't bother to update itself). But C++, in all glory has been standardized, i guess, in the last century itself. But Mr. Turbo doesn't even know that!!!

Your code now is indented, but that's not the only 'art' in programming. Your code has no single comment.

Here's an open challenge:
can anyone explain the code?? I bet even you (who claims to have written it once upon a time) can't explain.

Edited by NP-complete: n/a

Here's an open challenge:
can anyone explain the code?? I bet even you (who claims to have written it once upon a time) can't explain.

Now I'm to busy..
I will explain it on next month on next month. Though could you tell me about problem on the style and code of programme.

>Now i'm too busy..

relax and take some time out to figure out the problem in your code pertaining to 'code style'.

Read good books and also read about programming style. (just google it up)

And always remember:
'Programming is more about the art of programming'


I may not be the most experienced coder out here, but Ancient Dragon surely is. So if he has labeled your code as 'messy' you better take it seriously, unless off course you plan not to code for the industry.

Edited by NP-complete: n/a

Though could you tell me about problem on the style and code of programme.

I hope you do happen to know that BGI Graphics are deprecated and obsolete. 16-bit DOS compilers shouldn't even be allowed to compile. Don't get it why schools still teach this stuff.

Don't get it why schools still teach this stuff.

Probably because it allows students to use the included <graphics.h> file without having to add or link any further libraries so they can easily make graphic style programs such as the one above.

Of course, any seasoned programmer, would laugh at turbo c++ because it doesn't follow the standard. In fact you're probably safer writing the code entirely in c.

Schools go with the train of thought that kiddos just need to learn programming basics such as for and while loops with simplistic functions. The semantics as to why it is bad as c++ is generally ignored.

BGI Graphics are not supported under windows..

Since when? Last time I compiled code I wrote 20 years ago, it compiled and worked. And this was within the last year.

Even though BGI and Turbo are old, if you have something to complain about it would be much more helpful if you check your facts first. And keep opinions to yourself. They are not helpful when there's nothing the OP can do about it.

Turbo c is outdated,but still in our college they use it even to do complex programs

Edited by debugger09: n/a

I can't even get Turbo C to install on 64-bit Windows 7, let alone try to compile anything with it. There will come a day when India's universities will be forced to upgrade their school's compilers and teaching. They are putting their students at a huge disadvantage by teaching with such old tools.

Diablo 2 lod maphack patch 11354. Click and read our complete fix guide for most common game errors. V1.13c Download our Realm Patch: or - Executable Installer (Recommended) Download our Realm Patch: or - ZIP Archive (Alternative) Diablo II STING Map Hack: or - Feel free to modify the d2hackmap.cfg file to your preffered settings and configuration the integrated sting maphack version instead if you experience constant crashes with the default standalone one. Download Diablo II Lord of Destruction:.

Exactly..
Most probably they may upgrade to Visual C++ or
Dev C++ which is free.

My guess is Dev C++, since it's no longer an active project :icon_wink:

I don't understand why the condition in India is so pathetic..!! The whole higher education system in India sucks when it comes to Information Technology and Computer Science..my Indian friends..what say?? Shall we start a revolution??

like all students protesting the use of antique softwares may be??

On a serious note..its all about spreading awareness. I have seen many students are simply ignorant about the gotchas of using turbo c or about the cons of writing non-standard code. So on your part you can simply spread the awareness amongst your friends and they in their turn will spread it to others and we can just hope that one day things will change. But for that we really need to appreciate the change. People are too relaxed and it seems that they don't want the change. This attitude needs to change. And change fast.

Lol, tried that. Got labelled as an arrogant freak from people who don't even care about programming! The lame-boy excuse is 'It works, doesn't it'. If only one day they'd wake up to their PC being toasted by a app they created, just because it returned a value of -5266E-12 to Windows, I'd be a happy man! :)

Edited by nbaztec: n/a

no use of doing that
In our college they just teach us commad line programs they will never come across GUI programming.even though we change to any other IDE they just do command line programs

Let's not get too far of-topic. If you want to discuss the educational system in India be my guest, but please do it in the Geek's lounge.

Here is another Turbo-C car racing game .

Active3 months ago

I am trying to make a racing game in c/c++ using graphics

my problem as of now is that i cant get color in the enemy carwhen i add color it flickers

How do i remove the flickering

Here is the game which i have made till now.

aditya mithaladitya mithal

1 Answer

I can see that you've modularized your code by breaking up the calls to create characters into methods. This is good.

Laptop

However, since you're working in C++, which is an Object Oriented language I recommend that you try to create some classes for each of the character types.

Flickering

The flickering is probably because your drawing library is not designed for high performance. I recommend that you try using sprites. In fact you might wish to use an open-source 2D games/sprite library like Cocos2d-x.

What will a games engine get me?

A games engine like the one I described above, uses a lot of performance techniques that have been developed over the years, such as texture packing, look-up tables, etc to provide real-time performance. . . its still necessary to be learning about all of these techniques, however you probably don't want to be re-implementing them from the ground up (unless you're developing your own games engine).

Community
Jasper BluesJasper Blues
19k14 gold badges86 silver badges154 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Snake Game In C

Not the answer you're looking for? Browse other questions tagged c++ or ask your own question.