Search:

Type: Posts; User: budala

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    17,191

    oops. thanks.

    oops. thanks.
  2. Replies
    6
    Views
    17,191

    thanks. works like a charm. put it in a loop ...

    thanks. works like a charm. put it in a loop


    for (i=0; i<=n; i++)
    {
    q[i] = malloc(sizeof(monomial));
    q[i] = p[i];
    }
  3. Replies
    6
    Views
    17,191

    "duplicating" an array of pointers

    I have an array of pointers to a struct called p.


    typedef struct node
    {
    int exp;
    float koef;
    struct node *next;
    } monomial;
Results 1 to 3 of 3