since this is a need help page... stuck on a little homework right now.. but just seeing if someone can maybe help me get past this not give me the answer. but in int main i have an Linker error undefined reference to 'print clock'; id returned 1 exit status.
Code:
int main(){
int i;
double minin,hrin;
double minout,hrout;
struct employee clock;
FILE* fp;
scanclock(clock);
printfclock(clock);
system("pause");
return 0;
}
void printclock(struct employee a){
int i;
double minin,hrin;
double minout,hrout;
FILE* fp;
fp = fopen("clock.txt", "r");
fprintf(fp, "%s %s %lf %lf %lf %lf", a.first, a.last, minin, hrin, minout, hrout);
fclose(fp);
}
That is what i have.. its not the whole code but just where i think the error is coming from. Please and thank you!... like i said im just looking for some aid not the exact answer.