greetings I am trying to insert various different integers in different locations within a character array.

sprintf_s works fine but only to insert at the start of the array.

I can't for example use array[6] to point where I want the integer to be inserted in the first parameter.

What can I use to point to the location within the array and have an integer placed there?

Thanks for you time.