>> I'm trying to create a simple 2-dim array of integers, but don't know how
>> to do that...
[quoted text clipped - 20 lines]
> the same as an array name, although the array name (once the array is
> properly declared) can be used as a pseudo-pointer to the array.
yes, it's c++
for the statement:
int x[][] = new int[256][256];
I got an error:
error C2440: '=' : cannot convert from 'int (*)[256] to 'int'
Peter Duniho - 24 Sep 2007 09:24 GMT
> yes, it's c++
>
[quoted text clipped - 3 lines]
> I got an error:
> error C2440: '=' : cannot convert from 'int (*)[256] to 'int'
Ah. Well, the reason is the same as the person posted as "PvdG42" says,
but you want the managed C++ syntax instead. Here's the doc page that
can help you with that:
http://msdn2.microsoft.com/en-us/library/fkzha470.aspx
PvdG42 - 24 Sep 2007 12:33 GMT
>>> I'm trying to create a simple 2-dim array of integers, but don't know
>>> how to do that...
[quoted text clipped - 28 lines]
> I got an error:
> error C2440: '=' : cannot convert from 'int (*)[256] to 'int'
As Peter says, I gave you standard C++, as you didn't indicate otherwise.