I have started working on the changes below I do not know how to properly Implement them and I need help with doing so everything I've done so far is in the link at the very bottom the instructions start below The code is to long to put in the text box so I linked it I just need help with finishing The process of writing my readEmpFromFile function and than implementing a load command that allows us to utilize it  And nothing else questions below      Implement a function readEmpFromFile that takes a FILE * as the only argument and returns a pointer to a struct employee. This function should read the information from the file (reversing what writeEmpToFile does), create a new employee and fill in the data. If the FILE has no more info (is at end of file), this function should return NULL. This function must also ensure any employee actually created (not the NULL) is added to the array (as is done in createEmployee).   Change main to load employees from a file using a command called LOAD which is given to the program using (using your readEmpFromFile function you just wrote).

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 1MQ3
icon
Related questions
Question

 

I have started working on the changes below I do not know how to properly Implement them and I need help with doing so everything I've done so far is in the link at the very bottom the instructions start below

The code is to long to put in the text box so I linked it I just need help with finishing The process of writing my readEmpFromFile function and than implementing a load command that allows us to utilize it 

And nothing else questions below 

 

 

Implement a function readEmpFromFile that takes a FILE * as the only argument and returns a pointer to a struct employee. This function should read the information from the file (reversing what writeEmpToFile does), create a new employee and fill in the data. If the FILE has no more info (is at end of file), this function should return NULL. This function must also ensure any employee actually created (not the NULL) is added to the array (as is done in createEmployee).

 

Change main to load employees from a file using a command called LOAD which is given to the program using (using your readEmpFromFile function you just wrote).

 

https://onlinegdb.com/A_nCgdiaSj

 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning