(1) Which header file is the setprecision() function defined?
(2) Is setprecision() a global function not belonging to any class?
(3) Is there a difference between setprecision and member functio...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20995775.html
Zones:
C++Date Answered: 05/20/2004 Rating: 7.8 Views: 0
Heres my code:
outFile << left << setw(12) << database.Record1.id
<< setw(20) << database.Record1.lastAmount
<< setw(15) << database.Record1.transCount
<< "$" << setprecisio...
http://www.experts-exchange.com/Programming/Misc/Q_22058612.html
Zones:
ProgrammingDate Answered: 11/13/2006 Rating: 7.8 Views: 0
Using the "setprecision(n)" manipulator, you can increase/decrease decimal places, but it can only be used in standard output (cout), well I least I think it does ...
So how do you use it in a W...
http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_20669765.htm...
Zones:
C++Date Answered: 07/13/2003 Rating: 8.0 Views: 24
How do I insert characters such as "$" and "," to format a money amount in a stream object?
I'm doing a lab project for class and I am supposed to prompt a user for a money amount ( a char array...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21206693.html
Zones:
C++Date Answered: 11/15/2004 Rating: 9.2 Views: 0
I'm trying to get the below code to do the following.
Select an item from the inventory, prompt the user for which item they want to buy, then choose based on an int. when they chose , i want t...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CPP/Q_21713805.html
Zones:
MS Visual C++Date Answered: 02/21/2006 Rating: 9.4 Views: 0