|
Re-read post 36 again. You had it almost right before, but now you are wiping out the old size with the new size when you still need to use it.
Your code in post #39 was almost right - all you needed to do was assign the values of newrow and newcol to height and width after you have finished using them in the memcpy loop.
|