typedef for pointer to array of char
Again doing an exercise in C++ Programming Language 3rd edition chapter five.
This time it's typedefs.
I can't seem to figure out a typedef for a pointer to an array of char.
figured it out
typedef char (*tpcharray)[size];
If you read my post about refrence to an array of char, Prelude's solution for declaration is
I was using
char * pachar=charray; // as a pointer to array of char is this correct?
char (*pachar)[size]; // the correct way
or would you do somthing like
I figured out an array of pointers ie
typedef char* pcharray;