0
Dynamic memory
Ok, so this is where it gets hard, so.. I have a question. I thought of an example about new and delete about the heap. Someone tell me if itâs correct. I have 3 classes, bow, sword, and gun. All of these are new integers(?). I choose one, and it deletes the others because I donât need to use it. Is this correct?
2 Answers
0
Im not really trying to do anything, Im just trying to understand dynamic memory in an easier way I understand