You also have to implement it if you intend to use it (otherwise just remove it)Code:int GefMain (T_WORD *Y0, /* Input Param 1 */ T_WORD *Y1, /* Input Param 2 */ T_WORD *Y2, /* Input Param 3 */ T_WORD *X0, /* Input Param 4 */ T_WORD *X1, /* Input Param 5 */ T_WORD *X2, /* Input Param 6 */ T_WORD *Z1); /* Output Param 7 */
Pay some attention to how you format the code, spaces and aligned {} improve the readability a lot.
Goto isn't exactly the first thing you should think on using but anyway here are some more compilation issues:
- The label has to be set after the variables.
- Neither cin/cout nor << exists in plain C.
- SPD isn't declared
- Neither X or Y are initialized before being used




Reply With Quote