mardi 28 avril 2015

Generating 9 random numbers without repeating

I have an assignment that wants ne to make a magic square program where you generate random numbers 1-9 and assign them to a 2D array, I cannot figure out how to generate random numbers that don't repeat and I was wondering if someone can help me it's c++.

in advance thank you!




Aucun commentaire:

Enregistrer un commentaire