This is probably the dumbest question ever, but I just started using C++ today. When I try to multiply two constants of type "double" I get an error: "Illegal use of floating point in function..." How do you do this correctly? Here is basically what I have going on:
const...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.