What the heck is that? What line?
Okay so I am using a %lf, which is a double and the type parameter is a double. But it gives me a warning format â%lfâ expects type âdouble *â, but argument 2 has type âdoubleâ
Is there any other format to get a double without using %lf and %g??
What is the code for which you have this problem?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Use the address-of operator (&) to pass the parameter to scanf.