error not a type
Unsolved
C++ Gurus
-
Hello all , i am trying to implement Soft deletion general tree but i am getting following error
error: 'FHtreeNode' is not a type
.here is the code : https://ghostbin.com/paste/kbo7k
-
Hi @Qjay
'FHtreeNode' is not a type
Well it's true,
FHtreeNode
is not a type, it's a template. There's a few places (mostly in the second half of your file) where you're not providing a template argument. ie you have things likeFHtreeNode
where it should beFHtreeNode<...>
.Cheers.
PS if you still have trouble, give us the full compiler error, including the line number :)