User Profile
Collapse
-
I found the error. I had an old hidden headerfile. Don't know how it got there but now it's gone -
redifinition error
I get the following error:
Node.h:9: error: redefinition of 'class Node'
Node.h:8: error: previous definition of 'class Node'
When I compile my program. I cannot understand why it pops up since I have used hedder guards.
...Code:#ifndef Node_H #define Node_H #include <iostream> using namespace std; //class node has four fields: type, child1, child2 and parent. The type is -1 if it
No activity results to display
Show More
Leave a comment: