Sunday, March 13, 2011

Mini project "library management" in C programming


      This is my college 1st  semester mini  project “library management “ in C programming language.This is console application without graphic and compiled in code::block with gcc compiler. I hope it will help you to develop your own project similar project related to file handling for example “Banking “,” customer  records”,”student records" etc.
I have divided my project into many function and I will describe each of them which may help you to understand better.




List of function and their discription are:-
void mainmenu(void);
                This function is used to display main menu of project.
 void returnfunc(void);
                To return back to main menu .Inside this function mainmenu function is called when user press enter key.
void addbooks(void);
                To add books in a file.
void deletebooks(void);
                 To detete books from file.
void editbooks(void);
void searchbooks(void);
void issuebooks(void);
void viewbooks(void);
                All above four function does according to their name.
int  getdata();
                This function is used to take required  data input from user
int  checkid(int);
                This function check Id of book entered by user does exist in file or not.
void Password();
This function asked user to input password but this function doesn’t  give service to change password .We can’t change password ,it is fixed and password is “pokhara”.

Using like this function is not good so don’t use in your project.
void issuerecord();
                This function is used to keep record of student for whom book is issued.
void loaderanim();
void gotoxy (int x, int y)
                This is most important function used to print text in any place of screen of our programme .We can use this function directly in turbo c but it doesn’t  work in code::block so we write code for this.
Below I have given code for gotoxy in code::block.

COORD coord = {0, 0};  // sets coordinates to 0,0 global variable
void gotoxy (int x, int y)
{
        coord.X = x; coord.Y = y; // X and Y coordinates
        SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
delay(unsigned int mseconds);
                This function is used to delay our execution.This function works directly in turbo c but in code block we have to write code .
Source code for delay function in code::block is given below.
void delay(unsigned int mseconds)
{
    clock_t goal = mseconds + clock();
    while (goal > clock());
}
Instead of delay function you can use Sleep(int milisecond) function directly in code::block.It takes time in milisecode as argument to delay programme execution.

Download project: Download Library Management
Other similar miniproject: List of top ten mini project in c/c++


53 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. i want source code of library management(public library) at university , help me please!!!

    ReplyDelete
    Replies
    1. i want a library management(school libary) pls sent to my EMAIL:my email is (chandru.psg007@gmail.com) pls help me!!!!!!

      Delete
  3. you can download the project from this link
    http://dl.dropbox.com/u/77656976/library%20management.zip
    If you have any problem them leave the comment

    ReplyDelete
    Replies
    1. thanks very nice

      Delete
    2. what is the password ? please tell me or mail me sachin_ce11@gmail.com

      Delete
  4. i can not using code to run :: Error : can't open Window.h

    ReplyDelete
  5. Tell me which compiler and os you used to compile . Send me your email address I will mail project by editing your type

    ReplyDelete
  6. ya its show error while compiling...and can't open window.h plz snd me this program(library managment) on my Email address for turbo c.. my email add is (aneesali110@yahoo.com)

    ReplyDelete
  7. Replies
    1. passward ka kia krna hai....ap simply mujy mail krdo

      Delete
    2. ma mail id justinjosemuppathiyil@gmail.com

      Delete
    3. Password is "pokhara". I have send you the project in your mail box.

      Delete
  8. I have entered the password "pokhara".But still it does not work.
    Can you please mail me the code on mayur.kd93@gmail.com???
    Thanks in advance.

    ReplyDelete
  9. i am using turbo c please send me this project. my email id akshkshay@gmail.com thanks

    ReplyDelete
  10. can u pls send me the code which runs in turbo c to nsampathkumar10@gmail.com

    ReplyDelete
  11. i want mini project..give me suggestion so i will choose best of 1...!!!

    ReplyDelete
  12. sir..please send me code which runs in turbo c(library management).tis s my mail id rajdurai364@yahoo.com.i need it very badly.

    ReplyDelete
  13. im using win 8 os n turbo c compiler.....send me working project on aamir2307@gmail.com

    ReplyDelete
  14. Appreciation for nice Updates, I found something new and folks can get useful info about BEST ONLINE TRAINING

    ReplyDelete
  15. hi, evrybody, it is my first time to see your website annd i appreciate it very well, i am also a programmer student in IIHT, so i working on same project like yours, when i will completed it i will post it we are comment it, but i appreciate all of you, my email:vincentiihtlome2013@yahoo.fr
    vincent.

    ReplyDelete
  16. Well done... nice code...

    ReplyDelete
  17. I want library management project urgent.... Plz sir send me on my mail id- nirajrkumarr@gmail.com with source code... Plz plz sir. Help me..

    ReplyDelete
  18. you are providing very nice mini project ideas.plz mail me the source code plz.rintu19902gmail.com


    i have got a blog of similar kind. http://backlaggaya.in

    ReplyDelete
  19. i want library management project source code in c lag. send my email id '' dharmendra9414629826@gmail.com " plz sir

    ReplyDelete
  20. sir please send me j2ee project source code in my email id is jashweta200@gmail.com

    ReplyDelete
  21. sir,
    could you please explain how you write the codes to add books,delete books, edit books, search books,
    issue books, view books and check id.
    I admire your project, but its important for me to understand it cause I need to explain to my lecturer.

    ReplyDelete
  22. sir..can i get the source code plz asap...dt gets compiled and executed on the turbo c compiler.....my id is stupendus.shashank@gmail.com

    ReplyDelete
  23. sir,
    I need your help,
    I have to write a program about student directory that consists of this Insert new student, Search student by name/ID, Update/delete record, Print student information.
    can you help me?
    this is my email saggi_gurlzrow@yahoo.com

    ReplyDelete
  24. hey ma email id is sunniyasin@gmail.com
    pls plss send me project Unit coverter in c language

    ReplyDelete
  25. Hi, i cant compile this , can u send me the new one that can compile on borland c 5.02? I really need Ur help, tq..emyjeff@gmail.com

    ReplyDelete
  26. Can u send me the code that compiles in visual studio 2010, windows 8? my email is faiza.2209@gmail.com

    ReplyDelete
  27. This is bad project i have ever seen

    ReplyDelete
  28. sir,
    I need your help, its urgent
    I have to write and explain a program to input main menu, 1. create book, 2. create student, 3. display book/student, 4. delete book/student, 5.search book/student, 6. exit. thank you sir my e-mail is majornaf213@gmail.com

    ReplyDelete
  29. sir plz send me a project on any topic of 8-9 pages containing normal header file i.e. header file excepting dos,graphics,fstream.h.plz sir.......

    ReplyDelete
  30. hi , my name is Dinesh .... i want library management system project source code in c... cou;d u pls send it to my mail id.. my mail id is dini1391@gmail.com...

    ReplyDelete
  31. Download from the link...............given above

    ReplyDelete
  32. You can get it from here
    http://www.sourcecodester.com/cc/6506/library-management-system-using-c.html

    ReplyDelete
  33. hi... please send me above code for codeblock. at gupta.devendra398@gmail.com

    thanx in advance....:)

    ReplyDelete
  34. hi , my name is Pappu ... .... i want library management system project source code in c... cou;d u pls send it to my mail id.. my mail id is spappu077@gmail.com...

    ReplyDelete
  35. hi i need a project for my asignment with source code in c any topics hotel manegment library payroll please some one help me i need help
    send me email on( mamun1989@gmal.com)

    ReplyDelete
  36. i want source code of library management(public library) at a engg. college , help me please!!!
    my email is ( shivanandsingh888@gmail.com )

    ReplyDelete
  37. hi ,can u plz send me this project for turbo c as it is giving winodw.h error.My id is (sandeepsangwan03@gmail.com)

    ReplyDelete
  38. Gud eveng sir..
    hello..
    sirji I want some suggestion from you regarding my 1st mini project assigned to me by the university...
    I would be very grateful to u if you will help me. plz sir its very urgent for me..
    if you are busy then you can only send me the source code for library management to my mail id.
    my mail is:- ravneet1695@gmail.com. plz sirji help me...

    ReplyDelete
  39. plz snd me this program(library managment) on my Email address for turbo c.. my email add is(amritasaha1234@gmail.com)

    ReplyDelete
  40. good evening..plz send me the source code of this project on my email id shaina.gumber@gmail.com

    ReplyDelete
  41. I would say that a PMP is highly respected within both IT & non-IT communities where strong project management skills are required. If you plan on a long term career as a project manager, then yes, even with your level of experience, I would suggest getting your PMP. You can prepare yourself for the exam in one of the leading training providers like http://www.pmstudy.com . You can do minimal prep-work to get 40 PMI® Contact Hours and apply to PMI for PMP Exam before the class begins.

    ReplyDelete
  42. sir plz send me this project version comatible wid turbo c , my mid is singh955praveen@gmail.com

    ReplyDelete
  43. Write a program for library management system in which display the user option and based on option shows them available book. using C#.net

    ReplyDelete