Originally Posted by sahil_m
Hi Alex,
From your code i figure that your using "Turbo C/C++" under DOS and your "fire program" uses the standard Borland Graphics Interface(BGI) for 2d drawing.
I also have that compiler/IDE and it happens to have some very nice documentation so i would suggest you should read that.
In case you dont know, you can press ctrl F1 under any function to list help on it's definition and an example demonstrating the function in action.
Some functions you might want to look up are, putpixel(), rand() and I dont think this program is as complicated as you think, you just need to "putpixels" and "clearpixels" at random co-ordinates which should form the upper end of your fire, while your lower end could remain static