refencing complex numbers with the Ch compiler
I am using a Ch compiler..
I came to know , that this is how we can access the real and imaginary parts of a complex number in this compiler...
when i use real() and imag() in my compiler , I get the following messages :
printf("sz2 = %f, %f\n", real(sz2), imag(sz2));
Can anyone tell me which library to file to include to get rid of this message?
fourier_pc_1d.o(.text+0x157): In function `main':
: undefined reference to `imag'
fourier_pc_1d.o(.text+0x181): In function `main':
: undefined reference to `real'