Newbie with a Sudoku Solver program
Hi C-folk,
I'm new to C, and programming generally. My first non-trivial bit of code is a program to solve Sudoku puzzles. Much to my surprise and delight, my program works. However, I'm working completely alone here, and I'd love some feedback from more experienced coders. If anyone wants to take a peek and let me know if i've committed any grave errors that will haunt me in future projects that would be great. To whet your appetite, I used a goto and some do-whiles, which I understand good coders avoid for reasons I'm not fully aware of.
The program seemed a little long to post here, so I put it up on my webpage:
www3.sympatico.ca/tyler006/suds.txt
If that's poor etiquette let me know and i'll post it directly to the forum.
I'm particularly interested in ideas for getting data into the program, which I currently do by redirecting stdin, ie. 'suds <inputfile' from the command line. And I know it won't solve all problems yet, I haven't taught it to guess, and I need to work out a few more sophisticated solution routines to round it out.
Thanks for your time and patience,
Tyler