I have the following line of the code. Now I want to save the content to a string. Is there a quick way for me to do the conversion using the same arguments/codes of printf?
printf ("Some different radixes: %d %x %o %#x %#o \n", 100, 100, 100, 100, 100);
Last edited on
yes. i got memory lost earlier. thanks
You should use RAII so that won't happen any more :) Reference Analysis Is Important!