{flick} asked:
I have made a sudoku solver using C++ and need something to make the process of entering the values easier. At present it works like this: The user has to enter the row number, column number and the the value to be contained in the cell. What can I do to make the process simpler? Is there any way I can let the user click into the space and enter the value? Or can I use an excel file and import the values into C++?
Is there any other way? Can I create a table using HTML/Javascript and import the values as an array or something?
Please help. Any method would do. If you have any idea for a different way of entering the values, please suggest.
Thanks in advance







Its good to use the graphics.h to implement the SUDOKU table.. Then use the gotoxy() and getch() commands for easy entering the values in table….
You need a Graphical User Interface (GUI) library for C++.
Solution 1:
If you are looking for something standard then use MFC from Microsoft. You will have to download MS Visual C++ Express and make a windows based application. If you have used standard C++ then you can easily port it to the MS VC++ environment. It is just normal C++ with some widgets.
Solution 2:
A somewhat easier but less popular solution is to use Sally.
Use this IDE, it comes with a GUI library.
Just map your Row-Column input style to the GUI events.
Note: It is important to note that with GUI input you should think in terms of events.