Including user library
From ROBOTC API Guide
(Created page with "{{DISPLAYTITLE: Including custom Libraries}} <yambe:breadcrumb self="Including custom Libraries">Programming_Tips_Tricks|Programming Tips Tricks</yambe:breadcrumb> <br /> Fun...") |
|||
| Line 2: | Line 2: | ||
<yambe:breadcrumb self="Including custom Libraries">Programming_Tips_Tricks|Programming Tips Tricks</yambe:breadcrumb> | <yambe:breadcrumb self="Including custom Libraries">Programming_Tips_Tricks|Programming Tips Tricks</yambe:breadcrumb> | ||
<br /> | <br /> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
If you have included your own library of functions, for example:<br /> | If you have included your own library of functions, for example:<br /> | ||
Latest revision as of 12:52, 15 May 2012
General Programming → Programming Tips Tricks → Including custom Libraries
If you have included your own library of functions, for example:
#include "motorLib.c" |
You can suppress warnings about unused functions by including the line:
#pragma systemFile // eliminates warning for "unreferenced" functions |
in the top of that file.
This tip was posted by jpearman over at http://www.vexforum.com/showpost.php?p=220744&postcount=1.