Samael88
Evil always finds a way
- Reaction score
- 181
Hi,
This probably goes for other languages as well, but I am wondering what kind of pros and cons you get from using the dynamic memory features of c++?
As I understand it is the "new" and "delete" commands and probably a little more, please correct me if I am wrong.
As I see it, if I use dynamic memory the memory usage of the program will be pending a lot more than if I don't right?
I am asking because last time I tried using it I killed one of my ram sticks somehow, it got probably got really overloaded.
This probably goes for other languages as well, but I am wondering what kind of pros and cons you get from using the dynamic memory features of c++?
As I understand it is the "new" and "delete" commands and probably a little more, please correct me if I am wrong.
As I see it, if I use dynamic memory the memory usage of the program will be pending a lot more than if I don't right?
I am asking because last time I tried using it I killed one of my ram sticks somehow, it got probably got really overloaded.