it just write digit in output file but if you want you can change format of output file because all of you number put in the one line !!! just use "isdigit"
I am trying to use stringstream function for my program in which I am trying to change integer number to characters and then use it for further find and replace functions.
So I am giving a little program for this :
Suppose j is varying from 6000001(x) to 6000010(y).
BUT I COULD NOT STORE ALL VALUES RANGING FROM x(6000001) to y(6000010) in tc .
Actually I am not geting what is happenging because if I give directly j=6000001 then my program is giving correct results but if i ask j to vary from x to y and store all 10 integers into characters, I think it does not store the values.