Erik Hofman <[EMAIL PROTECTED]> said:
On Freshmeat I found a C++ class that can handle safe sprintf() operations on strings. I opt for including it in SimGear but what do others think about it?
It is even capable of using the strstream or the sstream class.
http://kingleo.pages.at/?show=/development/cpp/#format
This looks like a debugging function that does type checking during development. Does it check for overflows too? What problems will it solve for us?
We now sometimes have to switch to and back from char* buffers to be able to format a string before using it as a property. This will do all that using strings, without the possibility of overflows.
Erik
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
