Here the account string is “S” or “C”. For the deposit or withdrawal, it indicates which account is affected. For a transfer, it indicates the account from which the money is taken; the money is automatically transferred to the other account.
Test your program using the following transactions.
1. Deposit $5000 to savings
2. Deposit $8000 to checking
3. Withdraw $3500 from checking
4. Transfer $750 from savings to checking
i am tryin this quesyions out but if i can get extra help it will be much appreciated...thank u guys and girls..
I recommend you get some good book for 'C'.
Your are MCA student so i think you are from India.
If yes,Please have a look at "Let us C" this is very good for beginners.
There are other good books also like "Schaum's Series" etc.
I have made a dialog based application in that i have made a List control and a button....
On that button click event a timer has been called every 10000 ms and inside that timer i have called a worker thread which is calculating some values and then i want to diaplay those values in that list control, for that i have made a object of a class and then i am inserting the values... but as soon as control reaches there program crashes and give a debug assertion failed error...
Your all GUI related stuff should be in the UI thread (supposedely the main thread of the application).
When the worker thread is done with its calculations, it should PostMessage to the parent window of the list ctrl (or some other relevant window in the UI thread) by sending the result of its calculation. The important point here is that the worker thread MUST NOT directly modify a UI element, e.g. a list control (this would cause sync issues with unexpected errors).