:
a1.c
#include <stdio.h>
int main() {
testing();
return 0;
}
, a2.c
void testing() {
printf("temp\n");
}
, , :
$ gcc a1.c a2.c -o a1
and he works
Actually, when you compiled your file, did you include another C ( lineParser.c) file at the compilation stage, which will be analyzed along with your file ParseOne.c?
In this case, I understand that it will gccactually analyze all the characters in the linked C files (or obj files) and replace them accordingly in the final file of the object that will be created.
Hope this helps.
Shrey source
share