Message-ID: <38921971.3A4FAE5D@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Organization: Nocturnal Aviation
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: newbee: sin & cos?
References: <38927312 DOT 547FADCF AT rug DOT ac DOT be>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 31
NNTP-Posting-Host: 209.246.94.12
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread2.prod.itd.earthlink.net 949098862 209.246.94.12 (Fri, 28 Jan 2000 14:34:22 PST)
NNTP-Posting-Date: Fri, 28 Jan 2000 14:34:22 PST
X-ELN-Date: Fri Jan 28 14:34:22 2000
Date: Fri, 28 Jan 2000 22:34:22 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com



Bram de Greve wrote:
> 
> Hi,
> 
> I'm new in djgpp and I have a big problem:
> WHAT HAPPENED TO SIN & COS IN C++?
> I'm mean, where can I find sin, cos and atn?

#include <cmath>

If you have linker errors, try linking with -lm

> 
> It would be very pleasant if I could use those fellows without
> having to define it myself (yes, you can do that, with Taylor :)
> 
> Thanks in advance,
> Bram de Greve

-- 
Martin Ambuhl	mambuhl AT earthlink DOT net

What one knows is, in youth, of little moment; they know enough who
know how to learn. - Henry Adams

A thick skin is a gift from God. - Konrad Adenauer
__________________________________________________________
Fight spam now!
Get your free anti-spam service: http://www.brightmail.com