I have a code that outputs the first two numbers in exponent form (1.2e+07 for example). I would need it to output 12000000 instead. Can someone tell me how this is possible?
That's what it shows, just with a . and some decimals. I don't think you can get what you want this way. Look into printf, boost lexical cast (I don't know if they would really provide what you want) or hack it yourself with a stringstream or simply cast to int (which won't work if you have more than 10 digits).