Iterator (Argument 1 cannot convert from 'Coding.Exercise.Nodechar[]' to 'char*' Compilation failed)
Can someone help me with this ? this is preorder Traverse
9 Replies
is there a reason you need a separate iterator?
its part of the coding exercise so i think yes
implement preorder traversal that returns a sequence of Ts
also that code compiles just fine, where is your error?
Nodechar[]' to 'char*'
this i cant jsut figure it out
maybe in the yield
?i mean i would have just done
ok let me try
again, where are you doing this
the code you sent doesn't contain an error
anyways , i messed up already so i will jsut continue this in few hours
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.