Jan 20, 2020

Library management system using file system approach instead of regular RDBMS on 'C' Language

By Ashish Patel
1 min read

I have given to maintain a catalog with item_number, Title of the book, genre of the book, author of the book, format of the book along with the sort description. and all these to be stored in a text file which will be further used to process other operations like add, sort, display, and searches. I was using the file handling approach in the C language and making full use of fprintf() and fscanf() functions to achieve the requirement.

Specification

here is the actual specs sheet for the project :

Blog Embed Image

li

Final Result

I worked with some guidelines as working with the traditional file system is a real pain. So I decided not to use space as a character to tackle this situation in the description of the catalog using camel case handwriting for the text. This solves the problem of reading the space in the file, as space refers to the end of one property( eg: title, genre, author) in a row.

Here is a screenshot of the final result of the project :

Blog Embed Image

Github Linkclick here