| bobdabilder (56) | |||
|
I may have to post this elsewhere, but thought someone could help as it may not be a managed issue. I want to create a struct with an int and an array of int code:
I want a two dimensional array of this struct code: array<square^,2>^ squares = gcnew array<square^,2>(9,9);when i try to populate the array of int within the strict code: squares[i,b]->validBits = getNextNumber(i,b);I get error "Object reference not set to an instance of an object."} I am sure this is obvious, but cannot grasp it. thanks in advance. | |||
|
|
|||
| bobdabilder (56) | |||
I had to do
| |||
|
Last edited on
|
|||