I have been Googling this for days now and I am lost. So doing CS50 online and can\'t seem to get a handle on this rounding of numbers. My program is messing up multiplying floa
I have seen the posts about -lm and a certain file but if I am honest I don't understand what it means.
You have to link to the math library to fix the error. Math functions implementations are usually put as a separate library, the math library. If you use gcc add -lm to the linker command.