Is it possible to have someone type up a text file (*.txt) so that when the program starts, it will use variables declared in the text file as real variables, or would I have to have a pre-defined...
Type: Posts; User: Rajin
Is it possible to have someone type up a text file (*.txt) so that when the program starts, it will use variables declared in the text file as real variables, or would I have to have a pre-defined...
Just out of curiousity, would a 1D Dynamic Array take up more space than a 2D Dynamic Array?
The 1D looking like this:
int *array;
array = new int[25];
And The 2D looking like this:
Thank you so very much. It's working now. However, I'm curious to know why
TILE **map;
has two asterisks (*) in it. I know that it needs them, but why.
So, how would that work with a multi-dimensional array? When I tried, I got a compiler error.
cannot convert `TILE (*)[((rows - 1) + 1)]' to `TILE*' in assignment
I have it declared like:
...
I was wondering if it was possible to change (add or subtract) the elements in a multi-dimensional array, without using the new tag. I also can't change the array's name.
For example, I want to...