The Artima Developer Community
Sponsored Link

Java Answers Forum
Writind reading from a log file

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Junaid

Posts: 1
Nickname: junaid
Registered: Mar, 2002

Writind reading from a log file Posted: Mar 17, 2002 3:05 AM
Reply to this message Reply
Advertisement
Hi all,
i'm writing a getHistory() function for one of my Java program. actually what this fucntion is suppose to do is take five inputs from the main program such as USER ID, ACC ID, DATE, TIME, MONEY, WITHDRAW OR DEPOSIT. this is a simple banking system.
these inputs should be written in a history file such that eahc time the program run it should write to the file after the last entry so that log is mainatained. after a history log file is created we should be able to read the file as well. and i would be able to read like this John Withdraw $10 on 2nd March 2002 at 6:00 AM
I'll be extremely thankful if anyone could help me in this regard.

Topic: Problem associating with window focusing ... Previous Topic   Next Topic Topic: Can any one help with my assignment

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use