Although I use std::vector
almost all the time, I am interested in understanding as much as I can about pointers. Examples of what I am talking about:
cdecl is a program which is nice for this sort of thing. (particularly when you add function pointers into the mix!)
Type `help' or `?' for help
cdecl> explain char* foo[5]
declare foo as array 5 of pointer to char
cdecl> declare bar as array 5 of pointer to function (integer, integer) returning char
char (*bar[5])(int , int )