Creating a variable size array in a struct

Hello, I was just wondering how I would go by making a struct that contained the variables x and y, which are defined when you make the variable and a char array of size x*y

Thank you
Dynamic memory allocation and constructors. The tutorial on this site has some info on them.
Topic archived. No new replies allowed.