Hi..
This question might sound silly, but I am confused and stressed big time..
I need to acces some functions from another c-file I have.
Ex. main.c
Code:
#include "otherFile.h" // Or how should I do to access the functions in otherFile.c
int main() {
otherFilefunction();
return 1;
}
Ex. otherFile.c
Code:
#include "otherFile.h"
void otherFilefunction(void) {
// do something
}
otherFile.h
Code:
void otherFilefunction(void);
How do i access the functions in the other file? I'm just getting undefined references to the methods I'm using..?