Wednesday, January 11, 2012

What is the easiest way of handling files in C for library management system?

Hi,

I'm creating a project in C for my course.

Project topic is 'Library management'.

It would be required to save data in files like book details and member details.

What is the easiest way of handling files for this purpose without using any third party libraries.



Thank u.What is the easiest way of handling files in C for library management system?
Use the standard I/O library.What is the easiest way of handling files in C for library management system?
you are trying to emulate MMS Access good luck



but i suppose you could start by creating a text file

with fixed field widths for different data items

so long as it all fits on one width of record.



then its easy to see the data as you just type it or edit it with wordpad

then you just need a few of the txt files. each with their own

Record format.

and do it like an access database would each file being equivalent to a table

each column is fixed width,fixed format



thats as much help as im gonna give youWhat is the easiest way of handling files in C for library management system?
I would make a data file with information on what files you have in your library, and just store the book details in separate files (that are listed in the programs data file).



If you are not required to use separate files the best solution would be to just lump all of the details and enough information to pick out individual entries into a single file.

No comments:

Post a Comment