Having Trouble Using A Ternary Statement

后端 未结 0 1778
感动是毒
感动是毒 2020-11-28 04:45

I\'m making a binary tree and this is my insert function; it works perfectly:

if(newData < data){
    if(left) left->insert(newData);
    else left = ne         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题