As usual, you might consider being polite...
Now there are myriads of fft programs on the net. If you google fft.c, you will
find something for sure.
Now the efficiency of the code will depend on your platform. If you are using
a microcontroller with fixed point arithmetic, then the fft.c might not work as is
and you might have to add scaling after each pass.