The Solar System – Console program

This week has been our first introduction to C++ programming. We’ve been going through computer history, types, loops, bytes, bits, etc.

Here’s a simple program I made with the knowledge I have so far. The program called The Solar System 🙂

I know this may not be the most beautiful code out there and there may be some flaws with the program but lets pretend they don’t exist!

Heres the code:

theSolarSystemCode

When it’s running:

theSolarSystem_start

Traveling through space (You can see the stars go by like Hyper-drive in Star Wars! Zoooom! O.o After about 3 seconds you’ve the reached your destination):

theSolarSystem_traveling

Destination ”Jupiter” (Not only you see a fantastic rendition of the planet, you also get to read some ‘veery’ interesting facts about the planet):

theSolarSystem_jupiter

Better than EVE

Lämna en kommentar