0_0_24793164_16917.cpp: In function 'void init()':
0_0_24793164_16917.cpp:28:46: error: invalid conversion from 'void*' to 'Ptrtonode {aka node*}' [-fpermissive]
HashTbl[i]=malloc(sizeof(struct node));
^
0_0_24793164_16917.cpp: In function 'void insert(char*, int)':
0_0_24793164_16917.cpp:46:43: error: invalid conversion from 'void*' to 'Ptrtonode {aka node*}' [-fpermissive]
Newcell=malloc(sizeof(struct node));
^
0_0_24793164_16917.cpp: In function 'int main()':
0_0_24793164_16917.cpp:89:51: error: invalid conversion from 'void*' to 'Ptrtonode {aka node*}' [-fpermissive]
newcell=malloc(sizeof(struct node));
^
|