Toymods Car Club
www.toymods.org.au
F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Members Members    Search Search
Toymods » The Outhouse » anyone have much experience with c?

Show: Today's Posts  :: Show Polls 
Email to friend 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
RWDboy
Forums Junkie


Location:
South Australia
Registered:
July 2002
Re: anyone have much experience with c? Fri, 11 June 2004 15:37 Go to previous messageGo to previous message
Are you using a makefile or not?

Your best bet is to have somewhere in the file that calls the first function (function prototype) try a line like this ->

extern type nameoffunc(blah, blah, blah);

you should be able to use that function anywhere within that file.

then when you link the thing, make sure you have something like

gcc -c firstfile.c

gcc -c filethatcallsfirstfile.c

gcc -o firstfile.o filethatcallsfirstfile.o

geddit?
  Send a private message to this user    

SubjectPosterDate
Read Message   anyone have much experience with c? ehendrikdFri, 11 June 2004 05:46
Read Message   Re: anyone have much experience with c?  RWDboyFri, 11 June 2004 15:37
Read Message   Re: anyone have much experience with c? DrazaFri, 11 June 2004 22:35
Read Message   Re: anyone have much experience with c? RWDboySat, 12 June 2004 00:26
Read Message   Re: anyone have much experience with c? ehendrikdMon, 14 June 2004 23:47
Read Message   Re: anyone have much experience with c? RWDboyTue, 15 June 2004 02:08
Read Message   Re: anyone have much experience with c? SquidTue, 15 June 2004 02:27
Previous Topic:Can somone please direct me to some ford forums, I need to sell a Falcon!
Next Topic:People requiring info on sprinters and drifting search no more

Goto Forum:
-=] Back to Top [=-

Current Time: Fri Jan 31 05:00:04 UTC 2025

Total time taken to generate the page: 0.0073270797729492 seconds

Bandwidth utilization bar

.:: Contact :: Home ::.

Powered by: FUDforum 2.3.8
Copyright ©2001-2003 Advanced Internet Designs Inc.