Sender: nate AT cartsys DOT com Message-ID: <35E734C3.66DBA53@cartsys.com> Date: Fri, 28 Aug 1998 15:52:51 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Siddiqui CC: djgpp AT delorie DOT com Subject: Re: type mismatch problem References: <35e5bc22 DOT 0 AT newsread1 DOT dircon DOT co DOT uk> <35E60E4E DOT 9926FD6F AT cartsys DOT com> <35e6f002 DOT 0 AT newsread1 DOT dircon DOT co DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Siddiqui wrote: > > >You need to #include , which declares `sqrt', `cos' and the > >like. Otherwise, they default to functions returning int, which is > >clearly wrong. > > Thanx, I have this problem so many times some one tells me the answer and I > include the correct file but in the next prog I write I forget it agan :( Any warning about "implicit declaration" usually means you've missed a header. -- Nate Eldredge nate AT cartsys DOT com