|
|
In article <3fdf9da3$1@news.povray.org> , Nicolas Calimet
<pov### [at] freefr> wrote:
> This example is very trivial, and you can easily implement the same
> in your own string library in C. What I'd like to see is the performance of
> creating a dynamical formatted string, similarly to vsprintf() -- but of
course
> without the static buffer passed as argument, which makes vsnprintf
unecessary.
If you really want to use printf-style formatting in C++ (I sure do so
often), take a look at <http://www.boost.org/libs/format/index.htm>. While
I never used it (I have my own mini-utility function for that), it does
sound like a simple solution.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|