---+++ Day 3 Sample code
---+++ Cout Demo

<sticky>

</div> <div id="_mcePaste">#include &lt;iostream&gt;</div> <div id="_mcePaste">using namespace std;</div> <div id="_mcePaste">int main()</div> <div id="_mcePaste">{</div> <div id="_mcePaste"> <span style="white-space: pre;"> </span><span style="background-color: transparent;">cout &lt;&lt; number_of_bars &lt;&lt; " candy bars\n";</span></div> <div id="_mcePaste">}</div> <div id="_mcePaste">
</sticky>

Cout Demo 2

<sticky>

</div> <div id="_mcePaste">#include &lt;iostream&gt;</div> <div id="_mcePaste">using namespace std;</div> <div id="_mcePaste">int main()</div> <div id="_mcePaste">{</div> <div id="_mcePaste"> <span style="white-space: pre;"> </span>cout &lt;&lt; number_of_bars ;</div> <div id="_mcePaste">    cout &lt;&lt; " candy bars\n";</div> <div id="_mcePaste">}</div> <div id="_mcePaste">
</sticky>

Cout Demo 2

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2015-08-30 - JimSkon
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback