⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 用栈实现迷宫问题求解_数据结构与算法_数据结构算法_c语言_c 语言之家.htm

📁 严蔚民版的数据结构的完整课件
💻 HTM
📖 第 1 页 / 共 5 页
字号:
          height=20 width=107>双击自动滚屏</TD>
          <TD background="用栈实现迷宫问题求解_数据结构与算法_数据结构算法_C语言_C 语言之家.files/banbg.gif" 
          width=91><INPUT name=close onclick="window.close();return false;" type=button value=关闭窗口> 
          </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE align=center border=3 borderColor=#e2ca9f cellPadding=0 cellSpacing=0 
style="BORDER-COLLAPSE: collapse" width=750>
  <TBODY>
  <TR><!--<td width="20%" align="middle" valign="top" background="images/002.jpg" bordercolor="#e2ca9f"> </td> 
<td width="80%">-->
    <TD width="100%">
      <TABLE border=0 borderColor=#e2ca9f cellPadding=0 cellSpacing=0 
      width="100%">
        <TBODY>
        <TR>
          <TD align=middle vAlign=top width="95%">
            <TABLE border=1 borderColor=#e2ca9f cellPadding=0 cellSpacing=0 
            width="100%">
              <TBODY>
              <TR>
                <TD align=middle 
                background="用栈实现迷宫问题求解_数据结构与算法_数据结构算法_C语言_C 语言之家.files/002.jpg" 
                borderColor=#e2ca9f vAlign=top width="69%">
                  <TABLE align=center border=0 cellPadding=0 cellSpacing=0 
                  width="100%">
                    <TBODY>
                    <TR>
                      <TD height=40 width="100%"></TD></TR>
                    <TR>
                      <TD>
                        <FORM action=Readnews.asp?newsid=2731&amp;id2=2731 
                        method=post name=form1>
                        <CENTER><!-- <input type=submit name=aa value="点击关闭浮动图标" width=20 title="点击广告支持本站">--></CENTER></FORM></TD></TR>
                    <TR>
                      <TD align=middle bgColor=#dddddd height=20 
                      style="FONT-SIZE: 18px" vAlign=bottom 
                        width="85%"><STRONG><FONT color=#003399 
                        size=4><B>用栈实现迷宫问题求解 </B></FONT></STRONG></TD><BR></TR>
                    <TR>
                      <TD align=middle width="100%"><BR></TD></TR>
                    <TR>
                      <TD align=middle style="FONT-SIZE: 9pt" 
                        width="100%">发表日期:2003年12月4日&nbsp;&nbsp;&nbsp;&nbsp;作者:Rockyi&nbsp;&nbsp;已经有4447位读者读过此文</TD></TR>
                    <TR>
                      <TD align=middle width="100%"><!--下面的这一句是设置阅读文本区的宽度-->
                        <TABLE align=center border=0 cellPadding=0 cellSpacing=0 
                        style="TABLE-LAYOUT: fixed" width="90%">
                          <TBODY>
                          <TR>
                            <TD align=middle width="100%"></TD></TR>
                          <TR>
                            <TD style="WORD-WRAP: break-word"><FONT 
                              class=news><BR>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 12pt">源程序</SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">:</SPAN><SPAN 
                              lang=EN-US style="FONT-SIZE: 9pt"><?xml:namespace 
                              prefix = o ns = 
                              "urn:schemas-microsoft-com:office:office" 
                              /><o:p></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><o:p><FONT 
                              face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">//base.h<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#include 
                              &lt;stdio.h&gt;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#include 
                              &lt;stdlib.h&gt;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#include 
                              &lt;string.h&gt;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define TRUE 
                              1<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define FALSE 
                              0<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define OK 
                              1<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define ERROR 
                              0<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define OVERFLOW 
                              -2<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">typedef int 
                              Status;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><o:p><FONT 
                              face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">//stack.h<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#include 
                              "base.h"<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define INIT_SIZE 100 
                              //</FONT></SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">存储空间初始分配量</SPAN><SPAN 
                              lang=EN-US 
                              style="FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">#define INCREMENT 10<SPAN 
                              style="mso-spacerun: yes">&nbsp; 
                              </SPAN>//</FONT></SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">存储空间分配增量</SPAN><SPAN 
                              lang=EN-US 
                              style="FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">typedef struct{<SPAN 
                              style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                              </SPAN>//</FONT></SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">迷宫中</SPAN><SPAN 
                              lang=EN-US style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">r</FONT></SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">行</SPAN><SPAN 
                              lang=EN-US style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">c</FONT></SPAN><SPAN 
                              style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">列的位置</SPAN><SPAN 
                              lang=EN-US 
                              style="FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman"><SPAN 
                              style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                              </SPAN>int r;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman"><SPAN 
                              style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                              </SPAN>int c;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">}PostType;<o:p></o:p></FONT></SPAN></P>
                              <P class=MsoNormal 
                              style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US 
                              style="FONT-SIZE: 9pt"><FONT 
                              face="Times New Roman">typedef 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -