On Mon, 10 Feb 2003 00:06:53 -0800, Clint Olsen wrote: > You should be aware that including C files like this is considered Bad > Practice. > > -Clint > > On Feb 08, Janek Schleicher wrote: >> Now, I found a simple, but at least working solution :-)) >> >> Here I just used instead >> #include "gnubg/positionid.c"
I've already though so. At least there's a performance problem, as unchanged parts need to be recompiled in every run. I'm sure there are also some other problems. I would really like to know better ways. So my main question is still: What is Better Practice? Thanks in advance, Janek PS: I'm really sorry, if this is a simple question. But I'm more a Perl programmer who only wants to use some existing c code from Perl. And however, I miss an example for this problem, e.g. via perldoc Inline::C-Cookbook