why such complicated code...
for (int j = 0;j<30;j++)
{
i = rand() % 101;
if (i != i-1)
array[j]=i;
else
{
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: bluecoder Search: Search took 0.03 seconds.
Results 1 to 6 of 6
|
Click Here to Expand Forum to Full Width |