0_0_23392171_26822.cpp: In function 'void InitializeTable(int)':
0_0_23392171_26822.cpp:57:37: error: invalid conversion from 'void*' to 'HashTable {aka HashTbl*}' [-fpermissive]
H=malloc( sizeof( struct HashTbl ) ); /*Allocate memory for H*/
^
0_0_23392171_26822.cpp:63:50: error: invalid conversion from 'void*' to 'Cell* {aka HashEntry*}' [-fpermissive]
H->TheCells=malloc(sizeof( Cell ) * H->TableSize); /*Allocate memory for H->TheCells*/
^
0_0_23392171_26822.cpp: In function 'int main()':
0_0_23392171_26822.cpp:199:21: error: invalid conversion from 'void*' to 'char*' [-fpermissive]
Poem=malloc(m*n*80);
^
|