I've been writing code for my computer science class and whenever I use the functions fabs, pow, or sqrt in my code it gives me the error
"'void*' is not a pointer-to-object type"
When i take out the fabs, sqrt, or pow the code then compiles and runs. What do I have to do to get the functions to work?
Edit: Just to add I definitely have the appropriate headers which include these functions
Last edited on
Please post a minimal example (10 lines or less complete program) that reproduces your problem.