I'm trying to understand what's going on in a certain program I need to use (not actually sure if it's written in C or C++). I haven't worked with C/C++ before, but I picked up a manual and can follow most of what's going. What I'm confused about:
fprintf(E->filed, "%6d/n", E->lmesh.nno);
so the only part of the above statement that I don't understand is this E-> , could anyone give me an idea as to what's going on here or at least tell me what this is called so I can look it up in my manual?
Thanks in advance!
E is the variable, which is a pointer.
And the "->" syntax is the a shortcut for "(*var)."
So it's the same as writing (*E).filed.