How can I use functions from my file.c in Objective C
I tried #include < file.c > in file2.m where I want to call this functions and got Lexical or Prepocesor Issue < file.c > not found and when I use #include “file” i got Apple Mach-O Linker (ID) Error. Same errors when I use #import instead of #include.
How can I use functions from my file.c in Objective C I tried #include
Share
Does your
file.chave afile.hwith the function declarations? You will want to#includethat, and also make sure thatfile.cis compiled and linked in.