--- MJ Ray markj@cloaked.freeserve.co.uk wrote:
David Freeman david_freeman@rocketmail.com writes:
Can anyone explain what I am doing wrong. I know its something todo with #includes and where they are in which files etc...
You're #including the same file twice? I think this is why there's often an #ifndef FOO_H\n#define FOO_H 1\n<file>#endif in them.
I think I a including it twice but I still get errors.
When I did what you suggest above it just gives me two screenfulls of errors from the linker. Any ideas?
Thanks
D
-- MJR
alug, the Anglian Linux User Group list Send list replies to alug@stu.uea.ac.uk http://www.anglian.lug.org.uk/ http://rabbit.stu.uea.ac.uk/cgi-bin/listinfo/alug See the website for instructions on digest or unsub!
===== -------------------- "We all know Linux is great... it does infinite loops in 5 seconds." Linus Torvalds
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/