我需要C程序的帮助 [英] I need a help in a C program

查看:96
本文介绍了我需要C程序的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要SUDOKU的算法,我被分配来用C创建Sudoku游戏.

任何人都可以解释这些先决条件吗?

我的意思是声明数据类型和所有需要的东西?

预先谢谢您,

I need a algorithim for SUDOKU, I am assigned to create a Sudoku game in C.

Can anyone explain the prequisites?

I mean the declaration of datatypes and all the things neeeded?

Thank you in advance,

推荐答案

您应该自己做,因为那是家庭作业的目的.例如,您是否尝试过使用Google查找任何内容-我怀疑.
首先,关于游戏本身: http://en.wikipedia.org/wiki/Sudoku [ ^ ]
其次,这里还有完整的解决方案,例如:
You should do it on your own, because that is what homeworks are for. Have you even tried to find anything with google for example - I doubt.
First of all, about the game itself: http://en.wikipedia.org/wiki/Sudoku[^]
Secondly there are also complete solutions out there, like this one: http://www.pauls-pc-repair.com/sudoku/index.php?page=showSrc&src=solver/source/sudoku.c[^]
But be aware: this solution might not be implemented according to the requirements you got. Since it ha it''s "signature", any teacher could find it also, and than you are cut. So, my advice is to consult it, even compile it, but first of all work on it to understand the code, and than make your own implementation.


它不像那个.

您尝试这样做,被卡住,问一个有关您的特定问题的问题.
我们不做您的作业:这是有原因的.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试一下,您可能会发现它并不像您想的那么困难!
It doesn''t work like that.

You try to do it, you get stuck, you ask a question about your specific problem.
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!


您用谷歌搜索吗?至少您可以先尝试一下. http://techforum4u.com/showthread.php/7354-Sudoku-Game-Code- in-C [ ^ ]
http://www.pauls-pc- repair.com/sudoku/index.php?page=showSr​​c&src=solver/source/sudoku.c [
Do you google it?At least you can try it first..
http://techforum4u.com/showthread.php/7354-Sudoku-Game-Code-in-C[^]
http://www.pauls-pc-repair.com/sudoku/index.php?page=showSrc&src=solver/source/sudoku.c[^]


这篇关于我需要C程序的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆