Skip to content

Instantly share code, notes, and snippets.

View lch32111's full-sized avatar

Chanhaeng Lee lch32111

View GitHub Profile
@lch32111
lch32111 / library management program in c(practice)
Created October 8, 2016 09:42
library management program in c(practice)
/* I want to make library(book) management program. */
#include <stdio.h>
// a function adding a new book.
int enroll_book(char(*book_name)[100], char(*book_writer)[100], char(*book_publisher)[100], int *book_length);
// a function shoinwg the information of all books in library
int display_all(char(*book_name)[100], char(*book_writer)[100], char(*book_publisher)[100], int *borrow, int *book_length);
// a function showing the information of the book by searching