![]() |
|
#1
|
|||
|
|||
Need Assistance in C++I have write the following code. Now I want help to update File. If user enters Withdrawal then the amount should be deducted and balance should be replaced in file or if user enter Deposit than after adding the deposit amount in balance the net balance should be updated. the Data text File is as below
Data.txt Code:
CPP / C++ / C Code:
Last edited by admin : 04-Feb-2008 at 16:16.
Reason: Please insert your example C/C++ codes between [CPP] and [/CPP] tags
|
|||
|
#2
|
|||
|
|||
Re: Need Assistance in C++...still can't bring yourself to actually ask a question, huh?
Also, are you sure that you want Balance to be an "int?" Does that mean that in your data: Code:
15000 = $150.00 (if the currency is in some form of dollars)? Or is it that it doesn't matter because you don't need to work with "cents?" At least do all of us a favor and go (right now, not later) read the guidelines: www.gidforums.com :davis: |
Recent GIDBlog
Accepted for Ph.D. program by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gradebook Program - Small Problem, Need Assistance | CaitlynCraft | C Programming Language | 3 | 14-Nov-2007 00:01 |
| Desperate Need for Assistance on C Program | masterspank74 | C Programming Language | 3 | 12-Mar-2007 05:06 |
| Need assistance with looping | liquidz76 | C++ Forum | 0 | 05-Dec-2006 20:05 |
| Assistance with classes... | Bravebird | C++ Forum | 7 | 27-Apr-2005 14:17 |
| Need assistance with program | DJ_Mittens | C Programming Language | 3 | 19-Apr-2005 21:15 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The