Sp0rky
2009-05-01 17:38:22
O hi, well, basically, i need some help, and I think the good people at srl will be able to help me =D
It's in c#, but i really just need help with the concept.
I'm not used to working with 2d arrays.
Here is the question:

Or
http://img100.imageshack.us/img100/253/helllp.jpg
Basically, I got the initial concept, I'll create a 2d array, which is a table of the values, but I don't really know how to lookup, and my idea of the problem I think is also screwed.
Anyone mind helping? Any kind of example code (in delphi, scar, c#, anything) just to get my head around it, along with an explanation, would be fantastttiiccc.
This probably seems really easy to a lot of you, and it would be to me if I could see through the problem, but am not used to working with 2d arrays.
~Sp0rky
It's in c#, but i really just need help with the concept.
I'm not used to working with 2d arrays.
Here is the question:

Or
http://img100.imageshack.us/img100/253/helllp.jpg
Basically, I got the initial concept, I'll create a 2d array, which is a table of the values, but I don't really know how to lookup, and my idea of the problem I think is also screwed.
Anyone mind helping? Any kind of example code (in delphi, scar, c#, anything) just to get my head around it, along with an explanation, would be fantastttiiccc.
This probably seems really easy to a lot of you, and it would be to me if I could see through the problem, but am not used to working with 2d arrays.
~Sp0rky