帮助我为我的项目 [英] help me plz for my project

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

问题描述

你好
我需要帮助我
我有关于数独谜题的最后一年的项目,我使用了Visual Studio 2008
洗衣房使用的是vb.net.我需要按钮来检查解决方案是否正确答案我需要此按钮的代码
本周提交的内容
请帮助我

Hello
I need to help me plz
I have final year project about Sudoku puzzle I used visual studio 2008
and the lanuage used vb.net. I need button to check solution if the right answer or not i need code for this button
the submission in this week
plz help me

推荐答案

并不难:您有原始的困惑,有用户解决方案.
遍历正确的解决方案,并将每个单元格内容与用户值进行比较.如果他们都一样,那他是正确的.如果有一个不匹配项,那么他是错的.

我们再没有比这更准确的了,因为我们不知道您是如何存储难题或正确答案的.
It''s not that difficult: You have the original puzzle, you have the user solution.
Loop through the correct solution and compare each cell content with the user value. If they are all the same, he is correct. If there is a single mismatch, he is wrong.

We can''t be more accurate than that, because we have no idea how you are storing your puzzle or the correct answer.


没有人可以帮助您:例如,我猜没人曾经在CodeProject上写过关于Sudoku的文章 [ ^ ].
Nobody can help you: for instance, I guess no one ever wrote an article about Sudoku here at CodeProject[^].


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

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