Three Star Programmer
wiki.c2.com
Three Star Programmer
1–3 of 3 posts
Re: Three Star Programmer
#2Atomic 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.
Re: Three Star Programmer
#3Odd. 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 represent…
so char** is just a pointer to char**. It's not the total levels that matter only the operations on this level.