I just started learning C++ and I need some help.
targetDistance
is a float
variable and I want to add a string "a"
to it, is it possible?
I tried this:
targetDistance = targetDistance <<"a"
It gives me this error:
invalid operands of types 'float' and 'const c'