Hi all,
I am struggling to understand how to implement the below preprocessor directives. If for example I want to use the FORD code, how would I use/ access this code. Do I put this code in main.c, or in a header.h file. Then if I have a function initialize() in main.c, how would I call FORD from this function?
Look forward to your feedback.
Thanks Rocketman46
Code:#if defined FORD // code #elif defined HONDA // code #endif // code #if defined FORD // code #elif defined HONDA // code #endif // code #ifdef FORD // code