We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi.. I need to use the cos and sin functions. what are the libraries I need to add ? is it only <math.h> ? if yes, i tried that and i got error message:
/cygdrive/h/Ex3/FFT/FFT.c(45): error: undefined reference to 'cos'
Thankx
i forgot to ask,, the angle of a cos or sin function is in radians or degrees.??
There are a huge number of functions available in the standard library. Hence, the only reasonable way you can make use of them is by making it a habit to check the manual. It will - of course - describe the parameters for the available functions.