Thanks for the code Henry. It looks perfect. I'll tell you how it works when I try it out, but that won't be for a few days. Thank you.
Type: Posts; User: mrme44
Thanks for the code Henry. It looks perfect. I'll tell you how it works when I try it out, but that won't be for a few days. Thank you.
Thanks for the help. I'll look into using dynamic memory allocation or boost::multi_array.
What's a C99 option?
I'm using VS and I'm creating a dll
This is what I'm trying to do
int room_width = 100;
int room_height = 100;
double grid[room_width][room_height];
It gives me the error
expression must have a constant value
I want to use...
I'm having a problem making a multidimensional array. I want the size of the array to correspond to some variables. I'm having trouble making this work.
Edit: I've tried using vectors.