Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I've been trying to find the simple version of asteroids source code for C++. I am a newbie when it comes to programming.

basically the code of something like this ... http://www.play.vg/games/4-Asteroids.html including all the files needed or Jpeg images , Thanks a lot. I will donate a bit of money as courtesy :)
Posted
Updated 15-Dec-11 17:42pm
v2

 
Share this answer
 
Comments
Member 8492705 15-Dec-11 23:40pm    
I need the simple version , the good old one ... something like this : "http://www.play.vg/games/4-Asteroids.html"
#realJSOP 17-Dec-11 15:41pm    
Ohhhh, the most recent comment in that article really pissed me off...
Richard MacCutchan 19-Dec-11 13:37pm    
Your reply had exactly the opposite effect on me :)
Try this code:
ASTEROIDS[^]
 
Share this answer
 
For the second one Errors are :
-Missing Terminating ' character
-Multi-character character constant
-Character constant too long for it's type
-Expected `,' or `;' before '=' token
-Expected constructor, destructor, or type conversion before '=' token


I can't fix them cause I am not good enough.


For the Gausteroids ... the first one , I dont even know how to make the program work , it has so many files.
 
Share this answer
 
v2
I tried to compile both the codes on Dev C++ , it's giving me errors. How can i fix that ?
 
Share this answer
 
Comments
Maximilien 19-Dec-11 13:15pm    
Well, first, you should at least tell us what kind of errors you get, and second you should try to fix them yourself.
I would assume that your DevC++ installation suffers from missing includes and libraries ( don't forget to download the microsoft platform SDK and maybe(?) the directX stuff)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900