Add downloadable code samples.

llvm-svn: 43219
This commit is contained in:
Owen Anderson 2007-10-22 06:35:07 +00:00
parent 3a48708c91
commit 3295cfde98
3 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,18 @@
<p>Written by <a href="mailto:owen@apple.com">Owen Anderson</a></p>
</div>
<!-- *********************************************************************** -->
<div class="doc_section"><a name="intro">Code Samples</a></div>
<!-- *********************************************************************** -->
<div class="doc_text">
All the code in this example can be downloaded at <a href="Tutorial1.tar.bz2">Tutorial1.tar.bz2</a> or <a href="Tutorial1.zip">Tutorial1.zip</a>.
</div>
<!-- *********************************************************************** -->
<div class="doc_section"><a name="intro">A First Function</a></div>
<!-- *********************************************************************** -->
<div class="doc_text">
<p>For starters, lets consider a relatively straightforward function that takes three integer parameters and returns an arithmetic combination of them. This is nice and simple, especially since it involves no control flow:</p>

Binary file not shown.

Binary file not shown.