185,916 views
31 votes
31 votes
Write a C program that will load entries from a file containing details of books and prints them.

Program Requirements:
a. Load file containing details of books
b. Print out all the books Required approach:

1. Design a struct/class that can hold the details of an individual book.
2. Dynamically allocate an array of these objects. The size should be the number of book entries from the input file given by the user.
3. Load all of the book entries into this array of objects before printing

User Amo
by
2.7k points

1 Answer

7 votes
7 votes

Answer:

........

Step-by-step explanation:

User Usuf
by
3.1k points