(This is code under the GNU GPL, FYI)
Explain this line of code:
if (fsize > checktree->file->size) cmpresult = 1;
I'm struggling with all this pointer/structure stuff, and when I see lines like this, I have NO IDEA how to interpret it and understand what it's doing. What specifically does "checktree->file->size" actually do?
From the same file I am looking at, there is this line as well:
file_t **checkmatch(filetree_t **root, filetree_t *checktree, file_t *file) {
What exactly is the purpose of each component of this line, and what is the purpose of what I assume are "pointers to pointers" denoted by two asterisks?
Tags: