Do i have to do memory managment if i want to code in C++?

Hello there.

My question is about programming. I personaly have exp. programming on Python, not very advanced probably, but iv done sattelight imagery processing programm in the past in Python and PyQt~

What i like about Python - that it’s very easy, and i think “what i want” instead of “how to code what i want”. Also i like battaries included phylosophy and that Python manages a memory for me.

I learned a little bit of C++ in the past in colledge, and i remember when we got taught about memory managment, about constructors and destructors, and how i absolutely hated it. That was the end of my interest in C++, i never wanted to touch it again after that.

Now when im think about it, maybe i should give it another try, maybe get some nice book or something. Look it again, maybe i dont get such negative reaction if i try to get into those things now.

So anyways: do i have to do those things if i want to use C++ to some degree?

Sorry for my english guys :rolleyes:

Welcome to the forums!

UE4 helps a lot with memory management in your code. It uses something called Garbage Collection. It will take care of deleting unreferenced (unneeded) objects from memory for you. You don’t have to explicitly do that yourself and can focus on implementing your game. Of course it still helps if you understand the backgrounds of memory management, but you don’t have to directly deal with that on a regular basis.

Thats cool, thank you Bajee :slight_smile: