I don't fully understand what you're trying to do, but an immediate problem is that you have a multidimensional array 'ptr' that you're not subscripting properly. Since 'pntr' is two-dimensional, you'd have to access it like pntr[X][Y] where X and Y are some ints.
The 'script' array can work differently because it's an array of char, so each row could be interpreted as a null-terminated string, and therefore script[X] is an okay thing to pass into cout. (Of course, it won't actually do the right thing unless 'script' is initialized correctly, with each row actually a null-terminated string.)
Also, why not use a for loop instead of a while loop, since you're just counting to 50?