I need to create and run this on the CMD and make a program.

50 pts.
Tags:
CMD
CMD Source
Data
how can i do this program please help me T_T A module that will summarize logins and logouts of each employee. This module will use logs.txt as data source and produce another text file summary.txt. Summary.txt should contain but not limited to Employee's ID; the number of minutes late; the number of hours work.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Thank you for visiting ITKE.

We are happy to help you with solving specific IT questions, but need as
much information as possible to do so. Let us know about the problem you
are trying to solve, how you are approaching it and what work you’ve
done so far, and we can help guide you in the right direction.

Discuss This Question: 9  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb
    Dark What environment and/or programming language are you working in? What are employee's logging into? Phil
    49,960 pointsBadges:
    report
  • CharlieBrowne
    It would appear to be a 3 step process. 1. Define the data elements you want in the sunnary.txt file 2. Create SQL statements using variables to insert data from teh logs.txt file into the summary.txt file. 3. Create a program (CMD) that will allow input of the desired variables and pass them to program created in step #2. Then print or do what ever you desire with the data in summary.txt Adding to Philip's comment, it is hard to get into much more detail until we get more specifics from you.
    41,380 pointsBadges:
    report
  • carlosdl
    Yes more details are needed, but, this could be a homework. Reading from text files and writing the results to text files could not be the best approach on a real system.
    69,510 pointsBadges:
    report
  • Darkcurse07
    Sample user interface Pahirapan Corporation Enter Employee ID: aannn Enter Date: mm/dd/yy Enter Login: hh:mm Enter Logout: hh:mm The module should be able to check for invalid time The module should append the valid record a text file logs.txt AND I USE JAVA
    50 pointsBadges:
    report
  • carlosdl
    Asking others to do your homework is not a good idea. However, I'm sure people would try to help you if you show what you have done so far, and ask specific questions or post the specific problems you have found when trying to solve the problem by yourself.
    69,510 pointsBadges:
    report
  • Darkcurse07
    i already doing my own and im just asking some opinion so if i saw i'll add it on my program that i resently doin not just asking someone and wait to do it but not doing my part..
    50 pointsBadges:
    report
  • HMSSL2K
    Totally agree with Carlosdl, you really need to do it yourself.
    3,175 pointsBadges:
    report
  • philpl1jb
    And no one works over midnight? So there is never a different day and endtime < starttime? Phil
    49,960 pointsBadges:
    report
  • Darkcurse07
    [...] 8. Philpl1jb, CharlieBrowne, Carlosdl, and HMSSL2K bat some ideas around to help Darkcurse07 create and run a program on the CMD. [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following