-
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem.
algorithm: backtracking.
First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
- 2022-03-23 15:20:19下载
- 积分:1
-
著名游戏《贪吃蛇》的源码,使用VC6打开并且编译。欢迎指正。...
著名游戏《贪吃蛇》的源码,使用VC6打开并且编译。欢迎指正。-famous game "huge memory," the source, the use of open and VC6 compiler. Welcome correction.
- 2022-05-12 12:33:04下载
- 积分:1
-
Operating system, curriculum design, page
操作系统课程设计,页面淘汰算法以及作业调度算法的演示程序,界面美观,简单易懂,实现功能强大。-Operating system, curriculum design, page-out algorithms and job scheduling algorithm demo program, beautiful interface, easy to understand. To achieve powerful.
- 2022-05-22 17:00:39下载
- 积分:1
-
这个一个鱼的屏保,同时还有很动听的背景音乐,作为屏保的效果也很好。...
这个一个鱼的屏保,同时还有很动听的背景音乐,作为屏保的效果也很好。-this a fish screensavers, while there is still a very nice background music, as the screensaver was also very effective.
- 2022-04-13 15:03:16下载
- 积分:1
-
OPCDA数据访问接口
OPCDA Data Access Custom Interface
Standard
Version 2.04
- 2022-01-25 14:59:49下载
- 积分:1
-
Using VC to start word, and can control the output, use of Microsoft
用VC来启动word,并可以控制输出,利用了微软的com接口-Using VC to start word, and can control the output, use of Microsoft
- 2022-03-24 23:56:22下载
- 积分:1
-
Green Chinese version Wince simulator
绿色中文版Wince模拟器 -Green Chinese version Wince simulator
- 2022-07-28 14:07:58下载
- 积分:1
-
内存清理程序,具有选择性,参数
内存清理程序,具有选择性,参数-s。通过纪录驻留内存的最高点地址。-Memory clean-up procedures, an optional parameter-s. Through the record of the presence of the highest memory address.
- 2022-10-17 19:50:03下载
- 积分:1
-
windows基本编程程序 实例窗口程序
windows基本编程程序 实例窗口程序-Examples of the basic programming procedures windows window procedure
- 2023-04-23 23:45:03下载
- 积分:1
-
一个电子时钟的小程序(――取消目录及其所包含子目录和文件的“只读”属性。否则,打开vc项目时由于无法进行文件的“写”操作,会导致提示出错信息。)...
一个电子时钟的小程序(――取消目录及其所包含子目录和文件的“只读”属性。否则,打开vc项目时由于无法进行文件的“写”操作,会导致提示出错信息。)-An electronic clock applet (- the abolition of the directory and its subdirectories and files contained in the
- 2022-07-10 06:04:18下载
- 积分:1