are too many memory leaks on your implementation. Please use smart pointers instead of raw one.
- Secondly, why all elements of class are public? If it should be, why do you simply use struct?
Well if you use pointers that badly, pretty sure if Linus saw it he will go to his house to give him the lecture he deserves. 😂
Обсуждают сегодня