Including files in C
问题 I want to make a simple function involving sqrt() , floor() and pow() . So, I included <math.h> . When I try to use my function, my program says that sqrt() and floor() do not exist. I've triple checked my files and rewritten them, but it still gives the same error. Just to check if there was anything wrong with the <math.h> directory, I made another separate file that calculated the same thing and it worked. I am clueless right now. What am I doing wrong? The code of the non functioning