Uncategorized

Use dynamic memory allocation for the book array and student array

Assignment 3

Enhance your library system with the following set of requirements:

1) Use dynamic memory allocation for the book array and student array. This will help your program to expand without any limitation on fixed number of books or students.

2) Use binary files to store the data instead of using text files. You’ll be using binary modes instead of a text mode.

3) Data has to be encrypted before it gets stored in file. Use 8 bits key encryption using “exclusive or” operator (^) as we discussed in the class. Data has to be decrypted before loading the arrays again.


Leave a Reply

Your email address will not be published. Required fields are marked *