Search:

Type: Posts; User: AmritxD

Search: Search took 0.00 seconds.

  1. SET.H file :)

    typedef int SetEntry;

    typedef enum boolean{TRUE=1,FALSE=0} Boolean;

    typedef struct set
    {
    SetEntry value;
    struct set *next;
    } Set;
  2. Heri is the code :)

    #include<stdio.h>
    #include<conio.h>
    #include "SET.H"

    void Set_Create(Set **set)
    {
    (*set)=(Set *)malloc(sizeof(Set));
    (*set)->value=0;
    (*set)->next=NULL;
    }
  3. Passing Argument from incompatible pointer type

    Hi I am getting this error
    can anybody help me ASAP :(



    SET.c: In function `Set_Similarity':
    SET.c:186: warning: passing arg 1 of `Set_Size' from incompatible pointer type
    SET.c:188:...
Results 1 to 3 of 3