Tanner Lovelace wrote:


There's your problems.  You've told the compiler to only include
things once and then gone and included them in each other.
That's most definitely *not* going to work because, although
the #pragma stops the infinite recursion of includes, you reference
them from each class so one of the classes will be defined before
the other and won't know anything about the other.  You could try
adding a forward declaration, but I really think you should just
bit the bullet and rethink your code.
Thanks Tanner! That was definately the issue, and following Brian's suggestion to remove the function, all is well!

--
Randy Barlow
Research Assistant
Department of Electrical and Computer Engineering
North Carolina State University, Raleigh, NC
[EMAIL PROTECTED]
http://www.electronsweatshop.com

--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to