Odd. One uses the data structures that are necessary to solve the problem. In C, can typedef things to make them clearer but there’s stars underneath. In chemistry,
Atomic symbol - char *,
List of elements in a molecule - char **,
List of elements in a list of molecules - char ***
But then, is it char*** p or char ***p? Do you think of what it represents or how it is referenced?
Bloody stars can’t easily be represented which is odd in a website dedicated to coders.
2 comments
[ 4.4 ms ] story [ 14.3 ms ] threadAtomic symbol - char *, List of elements in a molecule - char **, List of elements in a list of molecules - char ***
But then, is it char*** p or char ***p? Do you think of what it represents or how it is referenced?
Bloody stars can’t easily be represented which is odd in a website dedicated to coders.
so char** is just a pointer to char**. It's not the total levels that matter only the operations on this level.