Hi,
I need to design a Library Management System in Microsoft Visual C++ environment. But i have no strong grip on OOPs.
Please help me.!
Overview:
This project will facilitate the librarian in library to keep record of members and books electronically. And will provide facility of searching books to all users.
Class Design
For books make following class hierarchy:
Book
___________|___________
| | |
Reference issuable Magazine
For users make following class hierarchy:
Users
___________|___________
| | |
Librarian Student Staff
Data Storage
1) In Files
File formats should be uniform and must be followed strictly. I will test your program on
my own files. There are three text files to store complete data.
i. Users information (user.dat)
Each line stores record of one user. Attributes are in the same order as they appear
on Dialog 8. Values of attributes are written with in two square brackets. If value
of some attribute is not stored, then nothing stored inside square bracket.
[att1][att2]……..[][atn]
ii. Books information (book.dat)
Same as User information file
iii. Books issued to users information (issue.dat)
[book_id1,user_id1][book_id2,user_id1],
[book_id3,user_id3][book_id4,user_id5], ….…..
2) In Memory
i. Users information
Array of base class (User) pointers
ii. Books information
Array of base class (Book) pointers
iii. Books issued to users information
Linked list of records.
Program at start of program reads all of data from files and store it in appropriate data
structures (as discussed above). Now perform all kind of manipulations in main memory.
And write back data in files before exiting the program.
Waiting for your Replay......