Thread: HELP!!!!emergency Problem~expert please help

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    4

    Exclamation HELP!!!!emergency Problem~expert please help

    Write a program that implements a simple Library Inventory Management System for oxford to help the Library staff to manage the operations in the library.

    Functionalities:

    There are two main modules in this system which are:

    • Librarians module
    • Students module

    Each module has its own different functionalities as stated below:

    Librarian Module:

    Functionalities Descriptions
    Log in
    To enable librarian to log in. All the username and password of the librarian is stored in file called “Librarian_ID.txt”. All the librarian must log in to the system before perform any functionalities listed below.
    Add new items
    • Add books
    • Add periodical
    • Add DVD
    To let librarian to add new items to the library collection which can be books, periodical and DVD? Librarian needs to specify which one to add. Add items to the respective files as below:
    Book – “Items_Book.txt”
    Periodical – “Items_Periodical.txt”
    DVD – “Items_DVD.txt”

    Display item
    • Display all item (Books, Periodical, DVD)
    • Display book collections only
    • Display Periodical collection only
    • Display DVD only
    To let librarian to display items in the library. They can choose to display all items, books collections only, periodical only or DVD only. Librarian needs to choose one to display. Read from the respective files to display the items as below:
    All – “Items_Book.txt”, Items_Periodical.txt” and Items_DVD.txt”.
    Book – “Items_Book.txt”
    Periodical – “Items_Periodical.txt”
    DVD – “Items_DVD.txt”

    All display must be in a table format where there is a header that contain all information of the items stored such as Author, Title, Publication date, etc.
    Check out item
    • Check out book
    • Check out periodical
    • Check out DVD
    To enable the librarian to check out the items that is borrowed by the students. They can choose to check out books, periodical and DVD. Librarian only needs to choose one to check out. To check out a book, just change the status of the items from ON_SHELF to CHECK_OUT. Use the call number of the items to find it in the text file. Display warning message if try to check out an item that is already check out. Assume there is no need to keep track of the due date. Read and change the status of the items from the following files to check out the following items:
    Book – “Items_Book.txt”
    Periodical – “Items_Periodical.txt”
    DVD – “Items_DVD.txt”

    Check in item
    • Check in book
    • Check in periodical
    • Check in DVD
    To enable the librarian to check in the items that is returned by the students. They can choose to check in books, periodical and DVD. Librarian only needs to choose one to check out. To check in a book, just change the status of the items from CHECK_OUT to ON_SHELF. Use the call number of the items to find it in the text file. Display warning message if try to check in an item that is already on shelf. Assume there is no need to keep track of the due date. Read and change the status of the items from the following files to check in the following items:
    Book – “Items_Book.txt”
    Periodical – “Items_Periodical.txt”
    DVD – “Items_DVD.txt”






    Student Module:

    Functionalities Descriptions
    Log in To enable librarian to log in. All the username and password of the students is stored in file called “Student_ID.txt”. All the students must log in to the system before perform any functionalities listed below.
    Search items
    • Search all items
    • Search books
    • Search periodical
    • Search DVD
    To enable students to search for the items they want. They can choose to search from all items including books, peirodical and DVD or they can choose only one of the items to choose from. Read from respective files to search the items as below:
    All – “Items_Book.txt”, Items_Periodical.txt” and Items_DVD.txt”.
    Book – “Items_Book.txt”
    Periodical – “Items_Periodical.txt”
    DVD – “Items_DVD.txt”

    Display all information of the items if it is found otherwise display a not found message.
    You have to use Call Number Author/Artist name or Title or ISBN/ISSN of the items as search criteria where user can choose from any of these four criteria during search.

    Assumptions:

    • No need to keep track of the due date.
    • There is only one copy of the items in the library.
    • Each item is assumed to be in CHECK IN status when it is added to the files.

    Data Specification:


    The following data are to be stored for each of the files below:

    Items_Book.txt

    • Call number (Format for book: start with ‘B’ and follow by 6 digits, e.g.: B123456)
    • Author(s) (Maximum length = 128 characters)
    • Publication date (Maximum length = 11 characters, format = mm/dd/yyyy)
    • Title (Maximum length = 128 characters)
    • Publisher location (Maximum length = 81 characters)
    • Publisher name (Maximum length = 81 characters)
    • ISBN (Format e.g.: 0-13-239300-X)
    • State (ON_SHELF or CHECKED_OUT)

    Items_Periodical.txt

    • Call number (Format for Periodical: Start with ‘P’ and follow by 6 digits, e.g.: P123456)
    • Author(s) (Maximum length = 128 characters)
    • Publication date (Maximum length = 11 characters, format: mm/dd/yyyy)
    • Title (Maximum length = 128 characters)
    • Periodical name (Maximum length = 128 characters)
    • Page range (Maximum length = 16 characters, format: pp. xx - xx)
    • ISSN(Format e.g.: 0378-5955)
    • State (ON_SHELF or CHECKED_OUT)


    Items_DVD.txt

    • Call number ((Format for DVD: Start with ‘D’ and follow by 6 digits, e.g.: D123456)
    • Artist(s) (Maximum length = 128 characters)
    • Title (Maximum length = 128 characters)
    • Label (Maximum length = 81 characters)
    • Date (Maximum length = 11 characters, format: mm/dd/yyyy)
    • State (ON_SHELF or CHECKED_OUT)

    Librarian_ID.txt

    • Username (Maximum length = 30 characters)
    • Password(Maximum length = 30 characters)

    Student_ID.txt

    • Username (Maximum length = 30 characters)
    • Password(Maximum length = 30 characters)

    Requirement:

    • Each functionality and its sub functionalities must be implemented using one function.
    • Draw a structure chart for this system before you write the code.
    • Try to write pseudocode or draw flowchart for each function before writing code.
    • Provide comment as documentation for your program.
    • The program must be menu-driven. Provide a main menu so user can choose from each functionality and sub menu for the sub functionality. Below show a sample part of the menu-driven program of a main menu and sub menu.


    WELCOME TO LIBRARY INVENTORY MANAGEMENT SYSTEMS

    Please choose your login from below:

    1. Librarian
    2. Student

    Login as: 1

    Please enter the following:
    Username:
    Password:

    WELCOME TO THE LIBRARIAN MODULE:

    Please choose a task to perform:

    1. Add new items
    2. Display items
    3. Check out items
    4. Check in items
    5. Quit

    Task: 1

    Add new items

    Please choose one items from below to add:

    1. Books
    2. Periodicals
    3. DVD

    Item: 1

    //Ask user to enter all the required information of the books and save to Items_Book.txt.

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    4
    help me solve it please~

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So what have you done so far? Where are you stuck?

    It's a large(ish) project, so you'd probably need to do a bit of planning before you start writing the code - at least if you've never done this sort of project before.
    Things you should consider:
    What are your classes?
    How do they connect together?

    This forum, like most others have a rule about homework, and using my words, it states "Do your own homework, but we will help you with details if you need help".

    And of course, it's not urgent to us, even if it's urgent to you. But I can assure you that no one is going to write the whole thing for you - that is an absolute certainty - it's plain too much work.

    Edit: In reference to the other post: Are you actually looking for a C or C++ solution?

    --
    Mats
    Last edited by matsp; 08-19-2008 at 07:39 AM.
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    http://cboard.cprogramming.com/annou...t.php?f=3&a=39

    It's on the very top of this forum, an announcement. How'd you miss it?

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    4
    ok
    I will let you all knw wat problem I face soon^

  6. #6
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Are you being paid to do this? I have written something frightfully similar to what you are doing before, actually. I think I spent more time making the GUI look awesome than I spent writing code...

    If you want any of our "expert" help, and you are asking a professional programmer to assist you. Just PM which ever one of us you want most the details as to how much you pay and we'll be plenty obliged to have some code in your possession by the weekend. Otherwise, come on dude, learning comes from experience. Experience comes from practice. Practice comes from doing things on your own and failing sometimes, and succeeding others, but above all, learning from both.

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Just PM which ever one of us you want most the details as to how much you pay and we'll be plenty obliged to have some code in your possession by the weekend.
    No, don't do that. This is a help forum, not a job broker. There are sites like rentacoder for that.
    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

  8. #8
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I thought my comment was hostile and sarcastic and would be interpreted as just that, not taken as a legit request for a PM. But I may just be losing my touch

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Didn't feel sarcastic to me. Probably because the last part of the post was honest and good advice.
    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

  10. #10
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    No attempt made by the OP , no specific problem mentioned, and therefore I believe this thread has no substance and does not deserve to live.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HELP!!!!emergency ~expert please help
    By unknowppl in forum C Programming
    Replies: 1
    Last Post: 08-19-2008, 07:35 AM