Assaf
May 5th, 1999, 06:06 AM
In C, if I want, for example, to print a variable as a floating point, at least 6 wide and 2 after decimal point, I use : printf("%6.2f", var);
How can I have the same effect on C++, using cout << ?
How can I have the same effect on C++, using cout << ?