So lately, I've been coming across this issue of mine and can't seem to find a solid way around this problem. My problem is due to the fact I'm using MYSQL C connector library. And, Attempting to gain all the Row's from my database and store them in a array. Well this is where I'm having the trouble. In order for me to extract the data from my DB I much use a character pointer to pointer. When it fetches the row(one at a time unfortunately). It rewrites it's array starting at 0. When I then try to take this array row and attempt to store it in a different function. That new function, no matter what I do changes once it gains the new row, due to pointer to pointer.
Hopefully someone can point out what I need to do in order for this to stop happening.