On 29 Mar 2007 13:09:34 -0700, sanofsans <[EMAIL PROTECTED]> wrote:
> thank you for you answer. Could you please elaborate on it? I am not
> familiar with sprintf().
It works just like printf() except it prints to a string (char *)
rather than to stdout:
#include <stdio.h>
int sprintf( char *buffer, const char *format, ... );
Make sure you allocate space for buffer before trying to write into it.
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi