I want to get unique set of n*n arrays which are including only 0 or 1 at random location in c++
<p>I want to acquire set of n*n arrays including 0 or 1 </p>

<p>But, each element has to be different each other.</p>

<p>For example,</p>

<pre><code>arr[3][3] = {{0,1,0},
             {1,0,0},
             {1,1,1}}
arr2[3][3] = {{0,1,1},
              {1,1,1},
              {0,0,1}}
</code></pre>

<p>Like above, I need unique array.</p>
