View Single Post
  #1 (permalink)  
Old March 25th, 2006, 02:42 AM
caribbean caribbean is offline
Registered User
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ file program

Im trying to write a file management program for class using Borland C++ 5.02
It needs these major classes University ,Faculty,Academic Affairs,Staff,Accessories
Staff has derived classes Academic Staff and Administrative Staff
Administrative Staff has derived class Faculty Administrator
Each faculty has only one administrator and both kinds of staff
Each faculty has Accessories Laptop, Projector, and OtherItems,
faculty administrator has normal file functions, add staff,delete staff, edit staff, add accessory etc
Academic Affairs can add faculty, delete faculty etc,
Staff may borrow accessories and return accessories ,Academic staff may borrow up to two accessories all others only one
Accessories past due date must be written to file outstanding loans.txt
I want to use the vector collection from C++ STL for collections of pointers to faculties in university class and for collections of pointers to staff in faculties and collections of pointers to specific kinds of accessories in faculties
All persistent data, example staff, faculty,accessory data, university data to be written to files, so at least 7 files if only one faculty I think, if more n*7 where ni is no of faculties.
Pls help.. I need to get this in by Monday at 4:00 pm:)
pls help even though I think I made the post too long.
email me to discuss details

Im just trying to make the world a better place
Reply With Quote