Thread: simple sudoku

  1. #31
    Registered User
    Join Date
    Jul 2009
    Posts
    40
    nicely said... What made me think is that the OP said that they are not allowed to use arrays to create a soduku game or solver. I never created a soduku solver nor game before but the easiest way I could think of to create it is by using an array. I was able to create a tic-tac-toe game long ago using an array and that wasn't hard, though.

  2. #32
    Registered User
    Join Date
    Jun 2009
    Posts
    15
    I'm trying to use loop.
    But seems like I need to make more than one loop.
    I got a suggestion asking me to use vector, but I still haven't learn it.
    When to google for it, but still kinda blur.

    dwks,
    Can I know what [9][9] means? Is it 9X9?

  3. #33
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    Quote Originally Posted by Erica View Post
    Can I know what [9][9] means? Is it 9X9?
    It's a 9x9 array, or 2 dimensional array. Basically it's meaning there is 9 rows per column, and 9 columns total.

    You don't have to use 2 dimensional arrays, I didn't, but it will make it easier to understand.

  4. #34
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    How much did you actually learn in class before getting this assignment? From what you've shown, either your teacher is made of bull, or you haven't been listening.
    MSDN <- Programmers Haven!

  5. #35
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    so we only learn looping n few beginning chapters only
    we only attended 3 weeks class so far with 100% attendence...
    arrays we havent learn yet so we can use that to program...

  6. #36
    Registered User
    Join Date
    Jun 2009
    Posts
    15
    Alright, what the lecturer taught us were only that stupid cin and cout thing, and keep on drawing flowchart.
    She doesnt even teach us how to write loop.
    I pay attention one very single class include lab.
    It's only week 3 of the new sem and we got this stupid assignment.

  7. #37
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Further attempts to get solutions without effort being displayed on the part of the OP will result in this thread being closed. I'm leaving it open to give the OP's a chance to attempt a solution on their own. It is also my opinion that if others continue to show code it will only result in more and more questions about the code that is shown.

    Code it yourself and post the parts of the code you are having problems with or are not working properly. If it's algorithm you don't understand then buy a book on sudoku or play it. Other than that it appears to me you are asking for homework handouts and we don't do homework and we certainly don't give handouts. Figure it out.
    Last edited by VirtualAce; 07-04-2009 at 10:29 AM.

  8. #38
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Stupid cin and cout thing? Wow, I don't think you are in the right class, your attitude stinks. As Bubba said, this is nearing a forum rule break. When that happens, you will receive no help from this board, so choose what you say wisely.
    MSDN <- Programmers Haven!

  9. #39
    Registered User
    Join Date
    Jun 2009
    Posts
    15
    "Stupid cin and cout thing?"

    Wow.
    Didn't realize you actually take that word so SERIOUS.
    COOL.

    Alright,
    I JUST LEARNED THAT CIN COUT THINGY AND I GOT THAT ASSIGNMENT.

    AND THANKS SO MUCH FOR YOUR HELP.
    Last edited by Erica; 07-05-2009 at 02:02 AM.

  10. #40
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    Quote Originally Posted by Erica View Post
    I JUST LEARNED THAT CIN COUT THINGY AND I GOT THAT ASSIGNMENT.
    That's because you haven't been paying attention in class. You learned input and output functions and operators in 3 weeks of study? I think that's somewhat infeasible.
    MSDN <- Programmers Haven!

  11. #41
    Registered User
    Join Date
    Jul 2009
    Posts
    19
    wat do u expect from only 3 classes held so far....
    u think this a bullet train??

  12. #42
    Student legit's Avatar
    Join Date
    Aug 2008
    Location
    UK -> Newcastle
    Posts
    156
    3 classes in 3 weeks? You learned input and output, and your assignment is to create a sodoku solver? Something doesn't seem right.
    MSDN <- Programmers Haven!

  13. #43
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    wat do u expect from only 3 classes held so far....
    u think this a bullet train??
    No but it is rude and unethical to ask for us to do the assignment for you.

    Thread closed for obvious reasons.

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