Despite the above line, int values are not being padded. I've checked that the value of pooldigits is 3, just before the above line, and even tried specifying everything manually, as such.Code:stringstream Output; ... Output << setfill('0') << setw(pooldigits);
Even with the above code, Output is coming up with "0", instead of "000".Code:Output.fill('0'); Output.width(3); Output << 0 << endl;
Is there some inclusion or linking item I'm missing, or have I intermittently done something elsewhere in my code to break it? Has anyone encountered something similar before? I'll post more code if you guys need it, but this file alone is over a hundred lines.
Thanks in advance!
~ Jake