View Single Post
  #1 (permalink)  
Old Dec 1st, 2005, 18:13
learneralways learneralways is offline
New Member
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote