Sudoku C++ Windows Forms Problem.

Ok, let me start. I need help to make a sudoku working with a data grid view on windows forms. But i don't know how i could assign process to save the data put in the datagridview by the user, so i was asking for a lil help.
Thank you:)
Your program should simply examine the cells in the grid and create an 81-character string with the contents. Use '0' for empty cells. Then you can write the string to a file.

For flexibility I suggest that you break this up and allow reading and writing as follows:
- function to convert a board to an 81 character string
- function to populate a board from an 81 character string
- functions to read/write a board from/to a file. The read function would read an 81 character string from a file and call the function to populate a board with it. The writer would to the reverse.
But how do i create a 81 character string with a datagridview ._.
Topic archived. No new replies allowed.