From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: 'input' undeclare (first use this function) Date: 2 May 2000 13:57:38 GMT Organization: Aachen University of Technology (RWTH) Lines: 20 Message-ID: <8emmsi$atv$1@nets3.rz.RWTH-Aachen.DE> References: <8edrcm$nt2$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 957275858 11199 137.226.32.75 (2 May 2000 13:57:38 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 2 May 2000 13:57:38 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com rordon2000 AT my-deja DOT com wrote: > I wrote a class named Input and put its declaration in a header file, > the implementation in a cpp file and uses #ifndef statements to protect > against double inserting. > Now, if I include my 'Input' header file in a program it compiles it. > However, when I put it into my Game header file it won't. You don't show the actual error message, nor the source code line(s) that the compiler complained about, so I'll have to resort to guessing: Your class is called 'Input' (uppercase 'I'), but in the error message you used as your 'Subject:' line, it complains about 'input' (lowercase 'i'). C++ is case-sensitive, so if those two names are really spelled exactly like that, in your code, that's your problem. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.