473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

sudoku (help)

Hi,

I have one assignment to write Sudoku problem in c (on linux). I have no idea how to implement this. If you have code for it, plz send me.
Sep 11 '07 #1
4 1524
sicarie
4,677 Expert Mod 4TB
The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

Then when you are ready post a new question in this thread.

MODERATOR
Sep 11 '07 #2
JosAH
11,448 Expert 8TB
Hi,

I have one assignment to write Sudoku problem in c (on linux). I have no idea how to implement this. If you have code for it, plz send me.
In the Java Articles section (see the blue menu bar near the top of this page)
you can find a complete working Sudoku solver implementation written in Java.
The article explains the whole shebang and there is not much 'Object Oriented'
stuff in it so it should be easy to rewrite the thing in the C programming language.

kind regards,

Jos
Sep 11 '07 #3
sicarie
4,677 Expert Mod 4TB
In the Java Articles section (see the blue menu bar near the top of this page)
you can find a complete working Sudoku solver implementation written in Java.
The article explains the whole shebang and there is not much 'Object Oriented'
stuff in it so it should be easy to rewrite the thing in the C programming language.

kind regards,

Jos
Jos-
Ganon11 was already nice enough to post that bit of help in his (prassaad's) last post like this (in which he said he did not want full code...).

prassaad-
Please read your Private Messages (PMs) accessible via the PM link in the top right corner of this page.

Thanks.
Sep 11 '07 #4
JosAH
11,448 Expert 8TB
Jos-
Ganon11 was already nice enough to post that bit of help in his (prassaad's) last post like this (in which he said he did not want full code...).
Ah, ok, so this was just a double post then; thanks for the notification.

@OP: don't do that; if I had known that your question already was answered I
wouldn't have bothered answering it again. So you didn't read Ganon11's answer
and you decided to simply ask the same question again. You're wasting other
people's time that way.

kind regards,

Jos
Sep 11 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: sub1ime_uk | last post by:
Thought I'd offer a method for solving all possible 9x9 sudoku puzzles in one go. It'll takes a bit of time to run however (and 9x9 seems to be about as big as is reasonably possible before...
5
by: Stewart Gordon | last post by:
I have a few Sudoku puzzles on my site. http://www.stewartsplace.org.uk/mindbenders/ But adding extra columns and rows to separate the 3x3 blocks seems a rather kludgy approach, and the result...
12
by: kalinga1234 | last post by:
hy guys i am having a problem with my sudoku program which i coded using c++.; currently in my program if a duplicate number exist in either row/column/block i would make the particualr square...
2
tpgames
by: tpgames | last post by:
I have not been able to find source code for a kids (2x2) sudoku game, and was wondering if anyone had the time to volunteer to make a JavaScript version for me that uses images. I only ask, because...
0
by: unrealweapon | last post by:
i wanted to create my own sudoku which i am not good at it. Im using Vs2005 and can anyone help me with my code?? or guide me what to do.. im using WinXpSp2 i attached my source code with this...
6
by: blux | last post by:
I am working on a function to check the validity of a sudoku puzzle. It must check the 9x9 matrix to make sure it follows the rules and is a valid sudoku puzzle. this is what I have come up with...
21
by: ningxin | last post by:
Hi, i am currently taking a module in c++ in the university, and was given an assignment. because i have no prior background on the subject, everything is kind of new to me. i have tried for quite...
3
by: deanchhsw | last post by:
Hello, I'm trying to build a program that solves sudokus and prints out the result on the screen. Here's the code for the class SudokuBoard. this will later be called in a class Sudoku. I'm a newbie,...
1
by: deanchhsw | last post by:
Part A (http://bytes.com/topic/java/insights/645821-sudoku) B (http://bytes.com/topic/java/insights/739704-sudoku-b) C (http://bytes.com/topic/java/insights/739703-sudoku-c) this question refers...
3
by: DannyB13 | last post by:
Hi, and thanks for possible help in advance. Here's my dilemma. I've been making a sudoku generator, and I'm now stuck on one part. I must be able to take a 'solution' and verify that it is correct,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.