|
How can you convert an array of ints into a string (C language)
I'm working on Win32 program where one process calculates a catalan sequence, creates a shared memory and writes the sequence into that shared memory. So I have an array of ints(it'll be the sequence values) and I want to put values of that array into the lpMapAdress(which is a pointer to shared region) using sprintf. sprintf(lpMapAddress, ...) How do I do that? How do I convert an array of ints into the string, so I can put it in the shared memory? I woud appreciate any input you can offer. Thanks
|