compile

I have some question , if i wish to complie example sin into my c++ file under include what is the code for sine?
and where can i find them for the codding?
Last edited on
I believe this is what you're looking for -> http://cplusplus.com/reference/clibrary/cmath/sin/
so if i start a c++ folder let said wad is the first thing i need to put?
This wiki article I found explains the series definition of the sine function: http://en.wikipedia.org/wiki/Sine#Series_definition
If you wanted to code your own definition you could. I would just stick to using sin from the cmath library just like m4ster said. Which can be included by using <cmath> or <math.h>
hm.. but i wan to end my studies of c++ with something more meaningful :P
hahas i still have no idea how to start the first line >.<
Topic archived. No new replies allowed.