![]() |
|
#1
|
|||
|
|||
how to call function from another to my filehi,
how can i call functions from anther file to my C file. for example, I am write main function in mymain.c and want to call fun1() from callfun.c in another file. now I want to call callfun.c from my main() function in mymain.c. Can i include the c file callfun.c or how can i call the function fun1(). thank you. |
|||
|
#2
|
|||
|
|||
Re: how to call function from another to my fileDeclare the files in a common header file.
Compile the files and link them both to get the final executable? |
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airport Log program using 3D linked List : problem reading from file | batrsau | C Programming Language | 11 | 29-Feb-2008 07:44 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| [GIM] gim.h | dsmith | C Programming Language | 0 | 18-Jan-2005 08:48 |
| How to detect end of file with read() function call? | nkhambal | C Programming Language | 6 | 12-Oct-2004 01:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The