Current location: Hot Scripts Forums » Programming Languages » C/C++ » Need Help Urgent


Need Help Urgent

Reply
  #1 (permalink)  
Old 05-05-09, 02:35 PM
qaisermushtaq qaisermushtaq is offline
New Member
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post Need Help Urgent

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......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-05-09, 02:44 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
Looks like a homework assignment to me......
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a urgent C++ and Java expert! keving Job Offers & Assistance 0 10-02-08 07:47 PM
Urgent: Need a JAva progammer/developer keving Job Offers & Assistance 0 04-20-08 03:30 AM
Need help in finding one script -- URGENT __ apple2007 Script Requests 3 07-23-07 01:39 PM
Urgent: What mailing system should i use? geoffrey PHP 1 11-04-04 07:19 PM
URGENT! Shutdown Server by web URGENT! ironz Script Requests 1 03-07-04 02:29 PM


All times are GMT -5. The time now is 08:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.