Question: A) Modify Project 9 program so that the program is split into three source files and two header files. B) Write a makefile to build

A) Modify Project 9 program so that the program is split into three source files and two header files.

A) Modify Project 9 program so that the program is split into

B) Write a makefile to build the roster program on student cluster. The makefile should contain the following rules:

three source files and two header files. B) Write a makefile to

Code from project 9:

build the roster program on student cluster. The makefile should contain the

following rules: Code from project 9: 1) Put all functions related to

operations on the list of equipments into equipment.c 2) Create a header

1) Put all functions related to operations on the list of equipments into equipment.c 2) Create a header file named equipment.h that contains struct equipment declaration and prototypes for the functions in equipment.c. The header file should enclose the contents of the header file in an #ifndef- #endif pair to protect the file. 3) Put the read line function is in a separate file named readline.c 4) Create a header file named readline.h that contains a prototype for the read line function. The header file should enclose the contents of the header file in an #1 fndef-#endif pair to protect the file. 5) group_equip.c contains the main function. 6) Include appropriate header files in the source files

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!