Gabriel #1 That's what Grable says in his edit. ( Which was before I replied, so it must have been here when you replied. ) btw, if the array and the pointer are of the same type then MyArray is all you need.