I've only recently started learning C++, I like coding so far and I've done a few simple programs, but I started now learning pointers and little about them make sense to me.
I know that they point to variables, you can dynamically allocate using the "new" command, and they work with arrays. I don't understand where to use them and how they work with multidimensional arrays. I've seen them declared with
int* pointer;
and also with
int *pointer;
Is there any difference between the two? There's also pointers that point to pointers
int** p_pointer;
and I don't see how that would help, wouldn't it be more useful to use the original pointer?