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
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.