delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/28/16:58:59

Message-ID: <3891F811.57B6B0BD@geocities.com>
From: Sahab Yazdani <beyonder69 AT geocities DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
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>
Lines: 30
Date: Fri, 28 Jan 2000 15:12:01 -0500
NNTP-Posting-Host: 209.103.52.197
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: newscontent-01.sprint.ca 949090626 209.103.52.197 (Fri, 28 Jan 2000 15:17:06 EST)
NNTP-Posting-Date: Fri, 28 Jan 2000 15:17:06 EST
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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