C++ Help You must create a program that manages a log file. You will start the p
ID: 3674254 • Letter: C
Question
C++ Help
You must create a program that manages a log file. You will start the program with the name of your program, Logger or whatever, and the name of the person maintaining the log. Think of a tool for a science lab or something similar. On the command line would be the command name and the user's. You will need the date, either prompt the user or generate it yourself. Remember the filename cannot have any spaces, for example 1Jan2016.
For a command line of- Logger user the log file would then be user_1Jan2016.
Write some sentences to the file. How does the user indicate they are finished? Close the file properly. Create a second program to read a log file. It will use a similar command line of the program name and the user. Ask the user for the date so your program will open the correct logfile. Display the contents to the screen. Ask the user if they want to display it again, or to exit, closing the file correctly.
Explanation / Answer
Hi below i have written a C++ code of Employee Record Tracking System that makes you understand for your requirements to manage the lof files,
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.