i have a very basic c++ problem.
this is my problem
first i am assigning an integer.
when i am writing the value of this integer into a file its writing only one "0".
How can i write the all four zero in the file.
actually i have to increment the value of "i=000" to 999.
The desired out put to the file is
bt iam getting the out put like this