| | |
Help a lurker
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2005
Posts: 4
Reputation:
Solved Threads: 0
Please help! I know I don't post here much, in fact, I don't post here at all, but this does not mean I am just some noob trying to get some easy code. I have been in programming for two years, and signed up to this website about the same time. I signed up because I was interested in programming, and thought I could make some useful contributions. Well, I was wrong! You guys knew way more than I do, and still do, as I am still a beginner Java programmer. So, I decided I would just lurk and watch conversations to try and gather up as much info as possible, and it helped, getting me through some tough programs. I was confident to say that I never had to ask for help on anything, because most of the time I could figure it out myself using the knowledge I gained with experience and by visiting this site. Well, that has changed!
I have been assigned a sudoku program that must check the answers of a Sudoku puzzle. Basically, the teacher inputs 9 rows and 9 columns of numbers, and the output must show if the row is ok(meaning none of the same numbers in the row), the column is ok, and the subgrid(3x3 square). I have no clue how I am going to get this done, all I know is I need a 2D Array! Sorry for the essay but can you guide me in the right direction?
I have been assigned a sudoku program that must check the answers of a Sudoku puzzle. Basically, the teacher inputs 9 rows and 9 columns of numbers, and the output must show if the row is ok(meaning none of the same numbers in the row), the column is ok, and the subgrid(3x3 square). I have no clue how I am going to get this done, all I know is I need a 2D Array! Sorry for the essay but can you guide me in the right direction?
I don't really know too much about how this game works, and don't really have the time or desire to investigate it at the moment, but a quick search turned up this:
http://today.java.net/pub/a/today/20...s-in-java.html
This may be a bit more involved than you need, and it is more for generating and solving rather than checking, but it should definately help. Then again, it may be more than you really want.
Have fun. :-)
http://today.java.net/pub/a/today/20...s-in-java.html
This may be a bit more involved than you need, and it is more for generating and solving rather than checking, but it should definately help. Then again, it may be more than you really want.
Have fun. :-)
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
•
•
Join Date: Oct 2006
Posts: 3
Reputation:
Solved Threads: 0
Check this:
http://kulandai.blogspot.com/2006/10...va-source.html
http://kulandai.blogspot.com/2006/10...va-source.html
•
•
•
•
Please help! I know I don't post here much, in fact, I don't post here at all, but this does not mean I am just some noob trying to get some easy code. I have been in programming for two years, and signed up to this website about the same time. I signed up because I was interested in programming, and thought I could make some useful contributions. Well, I was wrong! You guys knew way more than I do, and still do, as I am still a beginner Java programmer. So, I decided I would just lurk and watch conversations to try and gather up as much info as possible, and it helped, getting me through some tough programs. I was confident to say that I never had to ask for help on anything, because most of the time I could figure it out myself using the knowledge I gained with experience and by visiting this site. Well, that has changed!
I have been assigned a sudoku program that must check the answers of a Sudoku puzzle. Basically, the teacher inputs 9 rows and 9 columns of numbers, and the output must show if the row is ok(meaning none of the same numbers in the row), the column is ok, and the subgrid(3x3 square). I have no clue how I am going to get this done, all I know is I need a 2D Array! Sorry for the essay but can you guide me in the right direction?
![]() |
Similar Threads
- Forum lurkers, introduce yourself ... !! (Community Introductions)
- Convert desktop internal sata drive to external laptop drive (Storage)
Other Threads in the Java Forum
- Previous Thread: Need Java Projects!!
- Next Thread: need help reversing letters in a word
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary bluetooth character chat class classes client code component consumer csv database desktop draw eclipse error event exception fractal ftp game givemetehcodez graphics gui html ide image input integer j2me japplet java javaarraylist javac javaee javaprojects jmf jni jpanel julia linked linux list loop map method methods mobile netbeans newbie objects online oracle oriented panel print printf problem program programming project projects properties recursion replaydirector reporting researchinmotion robot rotatetext rsa scanner screen se server set size sms sort sql string swing template test threads time tree ubuntu update windows






