C Example


float gpfn2 (struct assemblyc *arg)
  {
    float acc;
    acc = 0.0;
    {
      struct partc *ptr2; struct partc *x;
      struct partc *ptrnext;
      ptr2 = NULL;
      ptr2 = arg-> ptr;
      while ( ptr2 != NULL ) 
          {
            ptrnext = ptr2-> next;
            x = ptr2;
            if (x-> size >  2)
              acc += x-> weight;
            ptr2 = ptrnext;
          }
    }
    return acc;
  }   /* gpfn2 */

Contents    Page-10    Prev    Next    Page+10    Index