Add downloadable code samples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-10-22 06:35:07 +00:00
parent e6c9104eb9
commit c333e4f0cb
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.

BIN
docs/tutorial/Tutorial1.zip Normal file

Binary file not shown.