>}</span>
</code></pre></div></div>

<ul>
  <li><strong>Use error to report fatal conditions:</strong> 
The <code class="language-c++ highlighter-rouge"><span class="n">error</span></code> function from the Stanford library can be used to report a fatal error with your custom message. The use of <code class="language-c++ highlighter-rouge"><span class="n">error</span></code> is preferred over throwing a raw C++ exception because it plays nicely with the debugger and our SimpleTest framework.</li>
</ul>

<di