User Profile
Collapse
-
Thanks for the help... I'll try it!!! =) -
How to fix "error LNK2019" in implementation of heap?
I have this program which is an implementation of a heap and the error LNK2019 occurs
Code:#include <iostream> using namespace std; class Heap { public: int treeData[1000]; // a heap of up to 999 elements. position 0 is kept for size void heap(); void add(int); }; void Heap::heap() { treeData[0] = 0; //set the size to 0 } void Heap::add(int
No activity results to display
Show More
Leave a comment: