Programming Tools
Problem for Programming Tools
Generic problem for all Programming Tools

What is program code of sudoku in turbo c




By renmx12 on Apr 21, 2009

" "
the codes of sudoku in turbo c programming language. the basic codes. not in too complicated.
Comments:

Apr 21, 2009

- nope. i want the program of sudoku in turbo c.
example:

#include<stdio.h>
and so on.......

Apr 21, 2009

- the codes of sudoku game in C. not in C++.

Apr 22, 2009

- the codes which is given by the Sandy Gupta is so complicated. i cant understand it. i need only simple program code because i'm only a beginner.

Apr 22, 2009

- for now im just understanding it. But in my program i start a little bit. If I run it I create tables and the given numbers only. My problem is I dont know how to continue the program.
And sorry for the rating that I gave.
Thanks for your helping.

Apr 22, 2009

- sorry again. i'm just depress now to my project because it submit immediately. sorry.

can you help me to continue my program what i started?

Apr 22, 2009

- this is my program.

#include<stdio.h>
#include<conio.h>


main()
{
int x, y,a,sd[9][9];
char word[5];
clrscr();
for(x=5,a=x;x<=43;x+=4)
for(y=2;y<=19;y++)
{
gotoxy(x,y);
printf("|");
}
for(y=1;y<=19;y+=2)
for(x=5,a=x;x<42;x++)
{
if(a==x)
{
a+=4;
continue;
}
gotoxy(x,y);
printf("_");
}

gotoxy(11,2);
printf("%d",sd[0][1]=9);
gotoxy(39,2);
printf("%d",sd[0][8]=8);
gotoxy(15,4);
printf("%d",sd[1][2]=3);
gotoxy(19,4);
printf("%d",sd[1][3]=2);
gotoxy(27,4);
printf("%d",sd[1][5]=7);
gotoxy(35,4);
printf("%d",sd[1][7]=9);
gotoxy(11,6);
printf("%d",sd[2][1]=6);
gotoxy(31,6);
printf("%d",sd[2][6]=7);
gotoxy(27,8);
printf("%d",sd[3][5]=1);
gotoxy(39,8);
printf("%d",sd[3][8]=6);
gotoxy(15,10);
printf("%d",sd[4][2]=5);
gotoxy(19,10);
printf("%d",sd[4][3]=4);
gotoxy(23,10);
printf("%d",sd[4][4]=3);
gotoxy(27,10);
printf("%d",sd[4][5]=2);
gotoxy(31,10);
printf("%d",sd[4][6]=1);
gotoxy(7,12);
printf("%d",sd[5][0]=4);
gotoxy(11,12);
printf("%d",sd[5][1]=1);
gotoxy(19,12);
printf("%d",sd[5][3]=7);
gotoxy(15,14);
printf("%d",sd[6][2]=7);
gotoxy(35,14);
printf("%d",sd[6][7]=3);
gotoxy(11,16);
printf("%d",sd[7][1]=2);
gotoxy(19,16);
printf("%d",sd[7][3]=9);
gotoxy(27,16);
printf("%d",sd[7][5]=8);
gotoxy(31,16);
printf("%d",sd[7][6]=6);
gotoxy(7,18);
printf("%d",sd[8][0]=1);
gotoxy(19,18);
printf("%d",sd[8][3]=5);
gotoxy(35,18);
printf("%d",sd[8][7]=4);

Clarification Request

Posted by erincinci on Apr 21, 2009

But, still "Sudoku Game" and "Sudoku Solver"'s algortihms are completely different.

Posted by erincinci on Apr 21, 2009

What do you mean by "Codes of Sudoku"? Do you want to do a sudoku solving program or so?

Best Solution

posted on Apr 22, 2009
Helpful)

sandy_gupta

Rank: Guru 
Rating: 88%, 68 votes
Hi, You can download the source code of Sudoku in C from below link:- http://www.techfinesse.com/game/sudoku_solver.php

Thanks! Sandy
Comments:

Apr 22, 2009

- But my dear u have to understand the fact that it is not an easy game to code.Sudoku is quite difficult.I am also a software engineer so i know how tough it is to develop Sudoku. So read the code thoroghly to understand it. You should be able to understand it if u take some interst in that. And please do not rate the code by just seeing it.First understand it. It is not that complicated as u have mentioned.
Thanks! Sandy

Apr 22, 2009

- hi
thanks for ur comment.i think u got my point.please rate me appropriately dear.

thanks!
sandy
Was this helpful?
Yes
No
1 person thought this was helpful

Popular Solutions for Programming Tools


Questions and Unsolved Problems for Programming Tools


Answer
where can I get a customer tool disk for a sharp xa-a41s??

Answer
where i can get c programing language software

Answer
i am new in vb6 programming and i need to code the textbox to autocomplete....like when i type ''a''... (More)

Answer
some suggestions about post office automation project


Didn't find what you were looking for?

Describe your problem:

Select a Category:







Ask our Experts

 

Solve Your Problem Now!
Chat Live with an Expert
Chat Now
Top Programming Tools Experts



Top Computer & Laptop Repairmen

(877) 729-0812
We connect to your computer over the Internet to...
Remote Repair

(513) 874-3306
We fix and repair laptop motherboard no video, no...
LaptopOnCall Inc.


       
Solve Your Problem Now!
Chat Live with an Expert
Chat Now

Insert Link
Insert Image
Insert You-Tube clip
Insert List
Insert List
Spell Check

What is this?



Select