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 a console application without graphics 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 functions and I will describe each of them which may help you to understand better.




List of function and their description are:-
void mainmenu(void);
                This function is used to display the main menu of the project.
 void returnfunc(void);
                To return back to the main menu. Inside this function, mainmenu function is called when the 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 the above four-function does according to their name.
int  getdata();
                This function is used to take the required  data input from the user
int  checkid(int);
                This function check Id of book entered by the user does exist in file or not.
void Password();
This function asked the user to input the password but this function doesn’t give service to change password. We can’t change password, it is fixed and the password is “pokhara”.

Using like this function is not good so don’t use it in your project.
void issuerecord();
                This function is used to keep a record of students for whom the book is issued.
void loaderanim();
void gotoxy (int x, int y)
                This is the most important function used to print text in any place of the screen of our program. 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 mini-project: List of top ten mini project in c/c++


77 comments:

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

    ReplyDelete
    Replies
    1. i want a library management(school libary) source code pls sent to my EMAIL:my email is (christian.85@live.fr) pls help me!!!!!!

      Delete
    2. WHAT OS THE PASSWORD PLEASE SEND ME nitish4943@gmail.com

      Delete
  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
    3. i want library management system in c language.can you plz snd me to my mailing ID
      haikakhan360@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. 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
  15. Well done... nice code...

    ReplyDelete
  16. 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
  17. 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
  18. i want library management project source code in c lag. send my email id '' dharmendra9414629826@gmail.com " plz sir

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

    ReplyDelete
  20. 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
    Replies
    1. for this purpose first you have to learn the file input output in c... all the chapter of c language... and first you have to start practice with small programs...

      you caanot master in one day in c... you have to practice more and more

      Delete
  21. 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
  22. 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
  23. hey ma email id is sunniyasin@gmail.com
    pls plss send me project Unit coverter in c language

    ReplyDelete
  24. 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
  25. Can u send me the code that compiles in visual studio 2010, windows 8? my email is faiza.2209@gmail.com

    ReplyDelete
  26. This is bad project i have ever seen

    ReplyDelete
  27. 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
  28. 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
  29. 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
  30. Download from the link...............given above

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

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

    thanx in advance....:)

    ReplyDelete
  33. 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
  34. 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
  35. i want source code of library management(public library) at a engg. college , help me please!!!
    my email is ( shivanandsingh888@gmail.com )

    ReplyDelete
  36. 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
  37. 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
  38. plz snd me this program(library managment) on my Email address for turbo c.. my email add is(amritasaha1234@gmail.com)

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

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

    ReplyDelete
  41. 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
  42. Sir, please say that, what is the work of those header file..
    #include
    #include
    #define RETURNTIME 15

    ReplyDelete
  43. hi ,can u plz send me this project for turbo c
    my e-mail is norouzi.ashkan22@gmail.com

    ReplyDelete
  44. Very useful project.More power :)

    ReplyDelete
  45. Sir can you pls send me library management system source code compatible with turbo c(windows 8) to my mail id sidnegi001@gmail.com....pls..

    ReplyDelete
  46. can give me the password

    ReplyDelete
  47. i had try...but still cannot working
    i used dev c programming...

    ReplyDelete
  48. Dinesh Sir,
    Can you please send me a library management system for code::blocks vs 13.12 ?
    my email address is arjunsukumaran208@gmail.com
    ps let the program be a little clarified with comments and details as where i can add something myself

    ReplyDelete
  49. Well done! will forward me the library management system for code::blocks, email : maoduweb@gmail.com

    ReplyDelete
  50. can I have source code to create a Virtual ROom

    ReplyDelete
  51. could you please send me source code?
    email = skalkan [at] gmail.com

    ReplyDelete
  52. The Download file contains a trozan virus and has been quarantined by my anti-vtirus

    ReplyDelete
  53. Can anyone plz mail me the source code ASAP!! My email is angelashakya_66@yahoo.com!! Help me out please..

    ReplyDelete
  54. can u send me a best compiler software for window 7(ultimate) & 8
    my email is : maheshsharma8432897397@gmail.com and maheshsharma7410@gmail.com

    ReplyDelete
  55. can u send me a best compiler software for window 7(ultimate) & 8
    my email is : maheshsharma8432897397@gmail.com and maheshsharma7410@gmail.com

    ReplyDelete
  56. I WANT A MINI PROJECT ON "EMPLOYEES LEVEL MANAGEMENT" IN "C" LANG"

    ReplyDelete
  57. Its more glad to see this code ..since its more useful for project static analysys purpose.. Thanks a lot

    ReplyDelete