Post a New Question

C++

posted by .

File version maintenance utility
 
A team of software developers has been asked to develop a file version maintenance utility . The utility should maintain all the 
version of a file. When a user modifies a file, the current version of the file should be stored separately before the update
operation is executed. The application should also keep a records of:
• The date and time of the modification.
• The name of the user who modified the file.
 
DESIGN SPECIFICATION 
The File Version Maintenance Utility should be designed to meet the following specification
• It should be a console based application for a standalone machine.
• It should provide menu options to perform various activities.
• For every file maintained by the utility, a history folder should be maintained. The history folder should contain the previous 
versions of the file.
• A user needs to provide a user name and password to log on to the utility.
• Users of two types, normal users and administrators.
• After successful logon, a normal user can perform the following tasks.
1. Add, modify, delete, and view files
2. View previous versions of a file
• A user with administrative rights should be able to perform the following task after logging on:
1. Add, modify, delete, and view files
2. View previous versions of a file
3. Create new user accounts
• When a user edits a file, the current version of the file should be copied to the history folder. After that, the modifications in the 
file should be saved.
• The different versions of a file need to be stored with different names in history folder. The name of a version can be chosen in 
the< File Name>_<w Version Number> format. For example, the first two versions of the file named EmployeeDetails.txt can be 
Stored in the History folder as EmployeeDetails_1.txt and EmployeeDetails_2.txt.
• A user can list the version history of a file. After listing the various versions of the file, the user can view any version of the file by
providing the version number.
• A user can also replace the current version of the file with any of its previous versions
• When a file is deleted, its complete version history should be deleted.

  • C++ -

    What have you done so far?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. marketing

    how are: goods services utility form utility place utility time utility possession utility information utility benifits and occupational area ralated to marketing the deffinition for it is: the prosses o developing, promotng, and distributing …
  2. bcis MS Projects

    I downloaded the trail version. got the free key code...the extension on the file is .img....what do i need to do to get the file to run?
  3. computer

    Why adding only characters to a text file may increase the file's size by several hundred bytes and at other times may not increase the file's size at all?
  4. window XP

    Which of the following is true of the Encrypting File System (EFS)?
  5. Programming

    2. Then it should prompt the user for the input file name of the file containing the data to sort. 3. If the program can't open the file or if no file name is entered (^d or ^z is entered for EOF), it should print an error message …
  6. offfice finaces

    Using your computer software, you create a new file for an existing customer. When you're finished, you should A. coordinate the old and new files by giving both the same name. B. overwrite the existing file by giving the new file …
  7. Ed. Tech

    When you save documents, it is important to check the blank at the top of the navigation window to ensure you are saving your file in the correct location. A. address bar B. insert ribbon C. file type D. file name Is the answer D?
  8. Literature

    When you save documents, it is important to check the _____ at the top of the navigation window to ensure saving your file in the current location A.adress bar ** B.insert ribbon C.file type D.file name
  9. Microsoft word

    Suppose you want to delete an existing file from within Word. What would you do?
  10. Statistics

    Three final candidates (Alex, Bo, and Chris) for a position happen to take different versions of the aptitude test. You are supposed to choose the one who performed best out of these three final candidates and the test results are …

More Similar Questions

Post a New Question