Hello,
I think I have asked this question before,but I couldn't find it in my
thread collections.
My question is
sprintf (name, "str%ld", ++(*i));
How do I convert i with str%ld to "name" when it is of type std::string
rather than char *?
i is int*
Please let me know if you got the answer.
Thanks in advance