Question: Complete the CreateDatabase function 3 0 pts Creates database struct with malloc 5 pts Creates room on heap for entries with malloc 5 pts Opens

Complete the CreateDatabase function 30 pts
Creates database struct with malloc 5 pts
Creates room on heap for entries with malloc 5 pts
Opens database file 2pts
Reads database file and adds a struct for each row 16pts
Returns database pointer 2pts
Complete the PrintEntry function 5 pts
Use this in SearchDatabase to make things easier
Complete the SearchDatabase function 15pts
Complete the FreeDatabase function 10pts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!