LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   (C) Is it possible to include all plugin files like this? (http://www.linuxquestions.org/questions/programming-9/c-is-it-possible-to-include-all-plugin-files-like-this-4175437660/)

suttiwit 11-18-2012 05:19 AM

(C) Is it possible to include all plugin files like this?
 
Hi all, Quick question.
I have a directory named "plugins" and inside it will be .c source files which are plugins.
I was thinking, is it possible to do:
Code:

#include "plugins/*.c"
to include all plugins in that directory?

Thanks in advance.

acid_kewpie 11-18-2012 06:10 AM

no.

TobiSGD 11-18-2012 06:59 AM

Usually a plugin is something that is used to extend the functionallity of a program on runtime, not on compile-time. if that is what you really want to do you may want to have a look at this tutorial from IBM: http://www.ibm.com/developerworks/li...dll/index.html


All times are GMT -5. The time now is 04:52 AM.