How Do I Call a Function From Other Program
View Single Post
Posts: 52, Reputation: 33
Nov 20, 2007, 10:07 AM
Say the other file is other.c
You have to include this in you current file using :
# include "other.c"
Make sure you don't have a main() in the other.c
Now you can call the functions in other.c in the current file as well.
We'd like to understand what you find wrong with
What's inaccurate about this answer? Say it in 25 words or less here and/or reply in the thread with more detail. Please focus on the content not the person!
Link to a credible and well-known source. You can provide a URL or simply describe the source.
View Public Profile
Send a private message to red_cartoon
Find all posts by red_cartoon