www.digitalmars.com         C & C++   DMDScript  

c++ - printf and sprintf error message.

reply veb <vebveb hotmail.fr> writes:
Hello,

When I do sprintf(str,"%g",-5236.45e4) or printf("%f,-5236.45e4)
I have the error message "L POINTER" in my string.
it occurs only with some numbers.

Could you repare this issue with a new version of the dos librairie ?

Thanks
Mar 28 2010
parent veb <vebveb hotmail.fr> writes:
Ok,

I have found the error, my buffer was too short, so When too many digits were
written, there was a bug.

I think the error was NULL POINTER, but it appeard L POINTER.
Mar 28 2010