It takes a bit of time to understand the error messages, but msdn is a great resource. Check out String::Format.

Also, given the error messages, I'm not sure I'd use the runtime functions to do what you need.

Post the code snippet of what you are trying to do, so we can take a look at it.