delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/28/14:15:23

From: "Siddiqui" <siddiqui AT dircon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
References: <35e5bc22 DOT 0 AT newsread1 DOT dircon DOT co DOT uk> <35E60E4E DOT 9926FD6F AT cartsys DOT com>
Subject: Re: type mismatch problem
Date: Fri, 28 Aug 1998 19:17:12 +0100
Lines: 12
Organization: family
NNTP-Posting-Host: 194.112.60.12
Message-ID: <35e6f002.0@newsread1.dircon.co.uk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>You need to #include <math.h>, 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 :(

Ali Siddiqui



- Raw text -


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