No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey there, my code is nearly perfect, but I need help with my input for a value. here's the snippet of my code: cout << setw(15) << right <<"$" ; double Amount; input >> Amount; cout.setf(ios::showpoint); cout.setf(ios::fixed); cout.precision(2); cout.width(8); input.ignore(); cout << Amount << endl; i know that input puts … |
|
Help, I'm getting the following error message: error C2040: 'money' : 'double' differs in levels of indirection from 'char [15]' error C2088: '>>' : illegal for class #include <iostream> #include <fstream> #include <iomanip> #include <string> #include <sstream> #include <string.h> using namespace std; string FileName; void starline(); float balance; float deposit; … |
|
Re:
So I need a little help on this, What this program is supposed to do is have the user input there checkbook.txt into the program which looks like this deposit:July 7:-:300 416:July 8:Albertsons:15.85 417:7/9:Checker Auto:19.95 418:7/10:Super Target:47.50 419:Dec 5:Home Depot:47.89 Once the users enters there data into the program it … |