May 30, 2013 at 2:31pm
Put spaces around '*' on these lines
Compiler thinks of them as of dereference operator here.
Last edited on May 30, 2013 at 2:31pm
May 30, 2013 at 2:35pm
spaces are free.
¿how is `ans' defined?
May 30, 2013 at 2:40pm
MiiNiPaa the spaces make no difference
May 30, 2013 at 2:44pm
ans is a single double, not an array. So you cannot apply subscript operator to it.
Last edited on May 30, 2013 at 2:44pm
May 30, 2013 at 2:51pm
right on, i thought i had changed that into an array earlier but i must have forgotten to save it!!
Thanks a million!!
Cheers