Menu

Fix Error Message Function Definition Read Found Typedef Struct Employee Char First 8 Char Q43896068

How to fix this error message?

function definition for read not found

typedef struct Employee

{
char first[8];
char initial[2];
char last[10];
char street[17];
char city[12];
char state[3];
char zip[6];
int age;
char sex[2];
int tenure;
float salary;
}Employee;

// function prototypes
void strsub(char buf[], char sub[], int start, int end);
int read(FILE* infile, struct Employee workers[MAX]);   //this is where I get the error message
void write(FILE* outfile, struct Employee workers[MAX], intcount);

Expert Answer


Answer to How to fix this error message? function definition for read not found typedef struct Employee { char first[8]; char init…

OR