A c++ puzzle for you gurus

walt wa1ter at myrealbox.com
Mon Dec 18 14:46:00 PST 2006


Peter Avalos wrote:
> On Wed, Dec 13, 2006 at 07:48:38AM -0800, walt wrote:
. ..
>> My bonehead compiler question is:  how did we get from 'from syncres.cc' to
>> 'mtasker.cc' with no intermediate steps?

> ...mtasker.hh which includes mtasker.cc. ...

The source of my confusion becomes clear!  I don't recall ever seeing
a header file 'include' a source file before, so I didn't even look at
the code. <hangs head in shame>

Is this practice specific to c++ ?  (If you know of any examples of c
code doing this, please point them out.  Thanks!)





More information about the Users mailing list