I have a problem with this structure constructor when I try to compile this code:
typedef struct Node { Node( int data )
when i find this error:
\linkedlist\linkedlist.h||In constructor `Node::Node(int)':| \linkedlist\linkedlist.h|9|error: `NULL' was not declared in this scope| ||=== Build finished: 1 errors, 0 warnings ===|
The last problem was the structure, but it worked fine when it was in my main.cpp, this time it is in the header file and gives me this problem. I am using Code :: Blocks to compile this code
c ++ syntax nodes
TheTeh May 29 '09 at 6:30 a.m. 2009-05-29 06:30 a.m.
source share