How do I read one number at a time and store it in an array, skipping duplicates?
<p>I'm trying to read numbers from a file into an array, discarding duplicates. For instance, say the following numbers are in a file:</p>

<pre><code>41 254 14 145 244 220 254 34 135 14 34 25
</code></pre>

<p>Though the number 34 occurs twice in the file, I would only like to store it once in the array. How would I do this?</p>

<p>(fixed, but I guess a better term would be a 64 bit Unsigned int) (was using numbers above 255)</p>
