delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/29/01:06:00

From: Bram de Greve <bram DOT degreve AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: newbee: sin & cos?
Date: Fri, 28 Jan 2000 21:22:37 -0800
Organization: University of Ghent, Belgium
Lines: 37
Message-ID: <3892791C.BB63F17@rug.ac.be>
References: <38927312 DOT 547FADCF AT rug DOT ac DOT be> <3891F811 DOT 57B6B0BD AT geocities DOT com>
NNTP-Posting-Host: sdlna156.rug.ac.be
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win16; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

is atn (arctan, bgtg, atan, tan^(-1) or whatever) there too?

Sahab Yazdani wrote:

> all of those functions are in the dos.h file, so to use them you would:
>
> #include <dos.h>
>
> void main() {
>         foo = sin( angle );
>         foo2 = cos( angle );
> }
>
> 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?
> >
> > 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
>
> --
> ***********************************************************
> * Sahab Yazdani * "We are all who we are, no more and no  *
> * Thornhill S.S * less" - al'Lan Mandragoran              *
> ***********************************************************
> * http://pheonixware.8m.com/                              *
> ***********************************************************



- Raw text -


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