I know this thread looks almost dead, but can I drop a question in here?
The above does indeed work fine but how can I define a pointer to the array?
In the case of a char it would be as follows:-
char* Testing = "qwertyuiop";
char* ThisChar;
ThisChar = Testing;
printf(ThisChar); // will show "Testing"
ThisChar = ThisChar + 3;
printf(ThisChar); // will show "ting"
I'm after a Pointer-to-a-structure-pointer I suppose you could call it.
Ive tried using
STRING* Testing[5];
... Fill Data ...
STRING** StrPoint;
StrPoint = Testing;
printf(StrPoint); //will print First Element
StrPoint++;
printf(StrPoint); //will print Second Element
and this works, until I try to pass it as a parameter to a function, then it all falls down.
Any suggestions anyone??
Thanks in advance.