Thread: simple sudoku

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    19

    simple sudoku

    im a beginner in programming n i have an assignment in creating a 4x4 sudoku..
    can anyone help me in the code source and the algorithm design??

  2. #2
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    This is against the forum's policy to do one's assignment. So if you can show what progress have you done so far?
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Didn't your lecturer/teacher show you how to do this before setting the assignment?

  4. #4
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    since i'm OOP freak everything would be a class
    "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
    Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    40
    Interesting assignment... I'll do that as my assignment as well

  6. #6
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Quote Originally Posted by Hussain Hani View Post
    since i'm OOP freak everything would be a class
    ClassES!
    MSDN <- Programmers Haven!

  7. #7
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    well first i need to design an algorithm.. n im having problem with it right now... after input i dunno how to continue..

  8. #8
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Dude, post your code and your problem... Your trying to make us find treasure with no map here!
    MSDN <- Programmers Haven!

  9. #9
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    im stuck at algorithm how am i suppose to continue with coding??

  10. #10
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    So you have no code what so ever? You are at the design stage?
    MSDN <- Programmers Haven!

  11. #11
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    i need to complete my flowchart diagram before continue to designing...

  12. #12
    Registered User
    Join Date
    Jul 2009
    Posts
    40
    He's in the design stage as he/she stated earlier. If you know how to play soduku game, I presume that you could formulate an idea. If you know array you could work with 2 dimensional arrays.

  13. #13
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Quote Originally Posted by rachel7430 View Post
    i need to complete my flowchart diagram before continue to designing...
    Now I look like a fool! My bad.
    MSDN <- Programmers Haven!

  14. #14
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    im not allowed to use array.. n actually im looking for ideas to create all those... n not asking help to give me the whole coding...

  15. #15
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Are you creating a sodoku solver, or generator, or both?
    MSDN <- Programmers Haven!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. creating very simple text editor using c
    By if13121 in forum C Programming
    Replies: 9
    Last Post: 10-19-2010, 05:26 PM
  2. Simple message encryption
    By Vicious in forum C++ Programming
    Replies: 10
    Last Post: 11-07-2004, 11:48 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Simple simple program
    By Ryback in forum C++ Programming
    Replies: 10
    Last Post: 09-09-2004, 05:48 AM
  5. Need help with simple DAQ program
    By canada-paul in forum C++ Programming
    Replies: 12
    Last Post: 03-15-2002, 08:52 AM