Function Library with Include

Anyone know how I can use the #include or whatever with a file for function library? I haven’t been able to get it to work sadly.

I want to know as well cause I tried putting a C file in the include file in robotcs save location but I somehow don’t have write permission to that file location.

#include "blah.c"

Blah.c or whatever file you want has to be in the same directory as your main file, in this case your code. I did this for the QCC2 gyro lib and it worked.

You need to look at the path the compiler is traversing for your file name. Set your menus to super user level then look at where it wants to look for files. Current directory of the file you are working with should be the default place.

#include "filename.c"

Old answer found here: