New YouTube VIDEO

http://www.youtube.com/watch?v=Cv5QyFxyHg4&feature=colike

this is a slot machine i did, took about 1 1/2 hours appreciate if you like and comment
Some comments:

Instead of having to repeat the code for all the slots you could use arrays and loops.

Why not call srand at the beginning of main? If generateSlots() is called multiple times within the same second you will get the same slots each time.

Shouldn't you use == instead of = on line 107?
Topic archived. No new replies allowed.