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