Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 25th, 2006, 02:42 AM
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating binary file compatible with other program wakeup ASP.NET 2.0 Basics 0 October 16th, 2008 03:03 AM
Getting a C# program with a manifest file to run i Bill_Thompson C# 2005 0 January 21st, 2008 06:27 PM
file reading program freak_vss Visual C++ 1 November 2nd, 2005 06:03 PM
program won't write to file CNewbie Visual C++ 1 December 7th, 2004 06:20 PM
Opening a file in my program snowy0 VB How-To 2 September 2nd, 2004 05:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.