I've coded a bit in C++ these days and always wondered about memory management. So far, I've never consciously paid attention to memory management, and everything seems to work.
So my question is: when do I have to care about memory management? Do I have to delete strings, ints? Do I have to delete objects from classes? What happens if I don't?