This statement prints what I need. But I need the ouput forwriting to a
file.
printf("%02x",(unsigned char)hash[i]);
How can I "catch" the output into a string?
Please send a copy of your answare to: 040...@hig.no
Thank's a lot.
> This statement prints what I need. But I need the ouput forwriting to a
> file.
>
> printf("%02x",(unsigned char)hash[i]);
>
> How can I "catch" the output into a string?
Take a look at fprintf and snprintf.
--
Jostein Tveit <jost...@pvv.ntnu.no>