What is the difference between Structure and Class? Is there are any particular situations when I should use what?
Once I implemented Binary search tree using structure. Now, I am trying to implement Red black tree using Class? But many discourages using class in this kind of situation, they say struct suits best here.Can anyone explain why?