DragonFly users List (threaded) for 2006-12
DragonFly BSD
DragonFly users List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: A c++ puzzle for you gurus


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Mon, 18 Dec 2006 14:46:00 -0800

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!)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]