From: "23yrold3yrold" Newsgroups: comp.os.msdos.djgpp Subject: Problems Linking Date: Fri, 21 Jul 2000 17:40:27 -0500 Lines: 8 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 64.4.89.185 Message-ID: <397bb60a_3@spamkiller.newsfeeds.com> X-Trace: 23 Jul 2000 22:20:42 -0500, 64.4.89.185 X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 73,000+ UNCENSORED Newsgroups. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. I'm trying to write a game across a few .CPP files, with global variables and function prototypes residing in an .H file. If I #include the .H file in one .CPP, the others give "undeclared identifier"errors, and if I #include in all of them, it gives "multiple declaration" errors. All of which I can understand; I just want to find a way to get it all to work together. Thanks muchly in advance.