I m programming in C. How do I go about fixing a redefintion error???? Please he
ID: 3752270 • Letter: I
Question
I m programming in C. How do I go about fixing a redefintion error???? Please help
Finder.c:209:9: error: redefinition of'print_stuff' int print stuff (unsigned char *buf, char *s, int len, FILE *outFile, char * Finder.c:82:9: note: previous definition of 'print stuff' was here int print_stuff (unsigned char *buf, char *s, int len, FILE *outFile, char * Finder.c:237:10: error: redefinition of 'pd' void pd(char *s, int length) Finder.c:110:10: note: previous definition of 'pd' was here void pd (char *s, int length) Finder.c:251:5: error: redefinition of 'strcicmp' t strcicmp (char const *a, char const *b)Explanation / Answer
That means you have written those functions more than once in the program. Note that you can only define a function once in one file(including header files that you are including in that program). If you want us to fix those then please post the code as text format, we can fix it for you.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.