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

📄 eval_8cpp.html

📁 building parser with C++ functions
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>a1: eval.cpp File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.9.1 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><h1>eval.cpp File Reference</h1><code>#include "<a class="el" href="eval_8hpp-source.html">eval.hpp</a>"</code><br><code>#include "math.h"</code><br><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eval_8cpp.html#a0">errorfct</a> (int i=0)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Show different error message.  <a href="#a0"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCell.html">Cell</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="eval_8cpp.html#a1">eval</a> (<a class="el" href="classCell.html">Cell</a> *const c)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate the expression tree whose root is pointed to by c (error if c does not hold a well-formed expression).  <a href="#a1"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A dummy implementation for example purposes. Just barely enough is implemented to allow the parser to run. Merely returns the input expression without evaluating it.<hr><h2>Function Documentation</h2><a class="anchor" name="a0" doxytag="eval.cpp::errorfct"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void errorfct           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>i</em> = <code>0</code>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Show different error message. <p>    </td>  </tr></table><a class="anchor" name="a1" doxytag="eval.cpp::eval"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="classCell.html">Cell</a>* eval           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classCell.html">Cell</a> *const &nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>c</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Evaluate the expression tree whose root is pointed to by c (error if c does not hold a well-formed expression). <p><dl compact><dt><b>Returns:</b></dt><dd>The value resulting from evaluating the expression. </dd></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 28 22:53:53 2007 for a1 by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address></body></html>

⌨️ 快捷键说明

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