Search:

Type: Posts; User: laserlight

Search: Search took 0.36 seconds.

  1. Replies
    6
    Views
    2,509

    If you mean something like this: int...

    If you mean something like this:

    int bitset_add(struct bitset *this, unsigned char *buffer);
    Then yeah, I can imagine that buffer would be a string of 0s and 1s, or maybe a numeric string whose...
  2. Replies
    6
    Views
    2,509

    At a glance, this is wrong: p ==...

    At a glance, this is wrong:

    p == malloc(sizeof(*p));
    It should be:

    p = malloc(sizeof(*p));

    By the way, bitset_add's description is strange: add an item to the set?
Results 1 to 2 of 2