I'll try be as clear as possible here but basically. (I'm doing this in c) I have an array (dynamic) of unsigned long long int's that is growing from a while loop. The workings of that are not anything fancy but I have some getter functions that give info based on what's asked.
Ie. get the first 20 numbers. this returns an unsigned long long int array of length 20 elements.
so the user will pick the number of elements on the returned array, so it could be 1 or it could be 20 large numbers (ie array[]= (1233, 123444, 1234124, 1243124, .....)
I need to get that into a string. I am putting that into a UDP packet. I am toying with sprintf but I'm no c expert so any help would be fantastic.
Thanks!
sprintf()for how many character printed.