0_0_30406415_14286.cpp: In function 'void aStar(Node)':
0_0_30406415_14286.cpp:45:28: error: 'get_hash' was not declared in this scope
end.hash = get_hash(end);
^
0_0_30406415_14286.cpp:82:24: error: too many arguments to function 'void print()'
print(k);
^
0_0_30406415_14286.cpp:34:6: note: declared here
void print();
^
0_0_30406415_14286.cpp: In function 'void push(Node)':
0_0_30406415_14286.cpp:102:14: error: 'up' was not declared in this scope
up(size-1);
^
0_0_30406415_14286.cpp: In function 'Node* pop()':
0_0_30406415_14286.cpp:107:36: error: invalid conversion from 'void*' to 'Node*' [-fpermissive]
Node* res = malloc(sizeof(Node));
^
0_0_30406415_14286.cpp:119:11: error: too many arguments to function 'void down()'
down(0);
^
0_0_30406415_14286.cpp:36:6: note: declared here
void down();
^
|