Thread: E-> ?

  1. #1
    Registered User
    Join Date
    Jun 2008

    E-> ?

    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[13], "%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!

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    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[13].
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Jun 2008

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. small -> big -> bigger -> bigger than bigger -> ?
    By happyclown in forum A Brief History of
    Replies: 9
    Last Post: 03-11-2009, 12:12 PM
  2. Dev-C++ -> Tools - > Editor -> Syntax
    By Yuri2 in forum C++ Programming
    Replies: 19
    Last Post: 07-03-2006, 07:48 AM
  3. > > > Urgent Help < < <
    By CodeCypher in forum C Programming
    Replies: 2
    Last Post: 01-31-2006, 02:06 PM
  4. electricity > AC circuits > tesla coil
    By dbaryl in forum A Brief History of
    Replies: 17
    Last Post: 03-14-2002, 02:16 PM