Hello, I have a function:
I need to use argument 'i' as a string inside a function. Can you help me with any method for converting int to string in this case?Code:long functionName(int i) { ... }
Thank you.
Hello, I have a function:
I need to use argument 'i' as a string inside a function. Can you help me with any method for converting int to string in this case?Code:long functionName(int i) { ... }
Thank you.
Refer to sprintf, or better yet, snprintf.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Thanks, done.