pointer to an array
Posted on 2004-10-16
I need to access the nth element of an array that I have only got a pointer pointing at.
// That is, I have declared a pointer
// then I point it at an array of integers
stackptr = new int;
// now I need to access the nth element of the array
// What is my syntax problem here?