Why does new int[x] disappear after leaving func scope?Thank you everyone for all your help. It has been a great help, I have learned lots of things apart ...
Why does new int[x] disappear after leaving func scope?I am to write the following function for finding a path: int FromStartToGoal(const Vector2 mapSize,...
Why does new int[x] disappear after leaving func scope?Ok, so if I understand it correctly, the problem is that FuncInMain() must take an int pointer as ar...
Why does new int[x] disappear after leaving func scope?Thank you for you help both of you, but I gave you a bad explanation and wrong code, I apologise. I ...
Why does new int[x] disappear after leaving func scope?I want to check if an int pointer parameter is nullptr and if so, I want to create an int array, fil...
This user does not accept Private Messages