File version maintenance utility

This is a discussion on File version maintenance utility within the C++ Programming forums, part of the General Programming Boards category; File version maintenance utility .. A team of software developers has been asked to develop a file version maintenance utility ...

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    2

    File version maintenance utility

    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>_< 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.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Forty-two

    Also, we have a homework-policy.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Looking for file & system utility tutorials using C#
    By dxfoo in forum C# Programming
    Replies: 1
    Last Post: 04-13-2006, 09:22 PM
  2. Erros in Utility Header File
    By silk.odyssey in forum C++ Programming
    Replies: 4
    Last Post: 12-22-2003, 06:17 AM
  3. writing a utility for format a file
    By powinda in forum C Programming
    Replies: 8
    Last Post: 02-12-2003, 06:55 PM
  4. Utility to see the file content in HEX Format.
    By mehuldoshi in forum C Programming
    Replies: 7
    Last Post: 07-30-2002, 11:42 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21