auto_array<char> what is this?

I understand arrays but i found this in a tutorial i am going through and it doesnt explain it. What is it please?

char* pixels;

auto_array<char> pixels(new char[size]);

i notice pixels now has a .get() and .release() method
Come on - own up - this isn't really a tutorial is it?

You are trying to understand the code for the Tetris2 game :-)
Topic archived. No new replies allowed.