what's the code to make this happen:
x=0
cout << x;
the display should show
0000001
2006-10-26
15:07:32
·
5 answers
·
asked by
ifoam
3
in
Computers & Internet
➔ Programming & Design
what im trying to do is generate 500,000 unique numbers
so, im doing:
for(int x=0;x<=500000;x++)
cout << x << endl;
the problem with this is that it shows:
1
2
3
4
as the output.
i want it to show:
0000001
0000002
0000003
0000004
.............
4999999
5000000
2006-10-26
15:39:12 ·
update #1