error: request for member 'data' in 'bt', which is of pointer type ' (maybe you meant to use '->'?)

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_43873389/article/details/102765074

The BiTNode * bt;
instead BiTNode bt; to

Guess you like

Origin blog.csdn.net/weixin_43873389/article/details/102765074