Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. typedef struct _coefficients _coefficients;
  2.                     struct _coefficients
  3.                     {
  4.                          _coefficients *next;
  5.                          void *i;
  6.                     }              
  7.                
  8.                     //each one of these SHOULD generate a different number
  9.                     _coefficients list[] = {
  10.                         {.next = &list[1], .i = _rand}
  11.                         {.next = &list[2], .i = _rand}
  12.                         {.next = &list[3], .i = _rand}
  13.                         {.next = &list[4], .i = _rand}
  14.                         {.next = &list[5], .i = _rand}
  15.                         {.next = NULL,     .i = _rand}
  16.                     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement