Hey people, this is a beginner learning how to use the C++ language. He is not a math major trying to analyze and implement the absolute best randomly distributed matrix possible. I gave a new programmer's algorithm, one that will suffice for homework, not a mathematically perfect distribution. That is above the needs for a beginning programming class.
Note, the first post states
Hello.I'm a begginer in C++.
It does not say
I am in an advanced mathematical theory course.
Help posters at the appropriate level, please. Higher math is unnecessary.