Antzelinaki
Programmer
- Jun 16, 2012
- 14
Hello everybody.
I have a class Queen with row, col properties and I am declaring variable Queens as a list of Queens because it represents 8 queens with their positions (row,col) Public Queens As New Collections.Generic.List(Of Queen)
So, I need an array that holds 92 solutions of the 8 Queens for each element.
I tried to declare it exactly Dim solutions(92) but unfortunately
Solutions array doesn't hold the values
When I run the program I can get only the first element of solutions array solutions(0). What can I do to have an array of 92 elements so that to keep stored in it all of the elements??? Any help will be much appreciated.
Thank you so much in advanced
I have a class Queen with row, col properties and I am declaring variable Queens as a list of Queens because it represents 8 queens with their positions (row,col) Public Queens As New Collections.Generic.List(Of Queen)
So, I need an array that holds 92 solutions of the 8 Queens for each element.
I tried to declare it exactly Dim solutions(92) but unfortunately
Solutions array doesn't hold the values
When I run the program I can get only the first element of solutions array solutions(0). What can I do to have an array of 92 elements so that to keep stored in it all of the elements??? Any help will be much appreciated.
Thank you so much in advanced