|
From: Andre` N. C. <An...@Ax...> - 2002-01-08 21:25:20
|
That was it Duh to me;) Sorry guys its been acouple of years since I hav= e used C/C++ bear with me;) Last one promise any clues on this: /tmp/ccIZJ7So.o(.text+0x4): undefined reference to `titleshot(void)' Thats what popped up after the other error went away. Regards, Andr=E9 C. Technical Support =D4=BF=D4=AC -------------------------------------------------------------------------= --- - Visit our support manual at http://supportmanual.com/ ----- Original Message ----- From: "Williams, Timothy W." <TIM...@sa...> To: "'Andre` Niel Cameron'" <An...@Ax...>; "Dev-C++" <dev...@li...> Sent: Tuesday, January 08, 2002 1:58 PM Subject: RE: [Dev-C++] (no subject) > It's tough to tell without more code but my guess is that you don't hav= e a > function declaration? > Admittedly, I haven't been following this list so maybe I missed something. > > For example: > > //must be declared before it is used. > int titleshot(int n); > > int main() > { > int i =3D titleshot(3); > system("PAUSE"); > return 0; > } > > int titleshot(int n) > { > return 1; > } > > If it's more complex that this, post the code... > --tim > > > -----Original Message----- > > From: Andre` Niel Cameron [mailto:An...@Ax...] > > Sent: Tuesday, January 08, 2002 1:45 PM > > To: Dev-C++ > > Subject: [Dev-C++] (no subject) > > > > > > battle.c:8: warning: implicit declaration of function `int > > titleshot(...)' > > > > Any CLUE what this might mean? > > Regards, > > Andr=E9 C. > > Technical Support > > =D4=BF=D4=AC > > -------------------------------------------------------------- > > -------------- > > - > > Visit our support manual at http://supportmanual.com/ > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |