From: califax AT wupperonline DOT de (Klaus Petzold) Newsgroups: comp.os.msdos.djgpp Subject: Problem with include-files Date: Wed, 26 Aug 1998 17:23:08 GMT Organization: Customer of SpaceNet GmbH Lines: 34 Message-ID: <35e443c2.92340@news.space.net> NNTP-Posting-Host: line100.kdt.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I have a problem under DJGPP version 2.7.2.1 when I want to implement something like the following: ->filename: test.h #ifndef _TEST_ #define _TEST_ int t; #endif ->filename test.cc #include "test.h" -> filename main.cc #include "test.h" int main() { } When I link these files I get the following error message: -multiple definition of 't' What's wrong? tia... ...Klaus...