www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/04/15:11:18

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Error: Implicit declaration of function
Date: 4 Oct 2000 10:31:44 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 13
Message-ID: <8rf0ug$qrm$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001003075225 DOT 10028E-100000 AT is> <21xC5.15366$YG5 DOT 30665 AT tor-nn1 DOT netcom DOT ca>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 970655504 27510 137.226.32.75 (4 Oct 2000 10:31:44 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 4 Oct 2000 10:31:44 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Daniel <cdnhermit DOT msn AT attcanada DOT net> wrote:
> Thank you Jack and Eli.  If I have an interface in a header file (.h), do I
> still need a prototype?

Depends on what exactly you mean by 'an interface'. You definitely
should start out by #include'ing that header file into your "app.cc"
source file.  The prototype should be in (or put into) that header
file, really.

See the DJGPP FAQ and/or Readme.1st on multi-sourcefile projects.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019