SO I startedd coding with geany but every time i use the library math.h and then use somthing like pow or powf it marks me an error.
I do realize that when compiling i have to use -lm in the terminal but is there a way to make it so that geany will automatically use -lm when compiling in geany?
Thank you! c:

You can't add the math.h to your program since it is a header file. But the functions defined in math.h are implemented in the libm.a.
You should add
-lmto your compiler call to avoid this link error.