How can i call (execute) a file (with ".c" extention) from the particular path without including it into main file ? Now the file which we have to call from particular path is containing only a function (without "main()").....
nirav99
-20
Light Poster
Recommended Answers
Jump to Post.c files do not get called in the shell to be interpreted, they need to be compiled, and then linked as part of a program.
All 3 Replies
Aia
1,977
Nearly a Posting Maven
nirav99
-20
Light Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.