    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: Sample Overload Article (title)</title>
        <link>https://members.accu.org/index.php/articles/1807</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>




<div class="xar-mod-head"><span class="xar-mod-title">Overload test issue</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c78/">Overload</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c327/">00</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;Sample Overload Article (title)</h1>
<p><strong>Author:</strong>&nbsp;Martin Moene</p>
<p>
<strong>Date:</strong> 10 July 2013 09:28:33 +01:00 or Wed, 10 July 2013 09:28:33 +01:00</p>
<p><strong>Summary:</strong>&nbsp;[Byline] This is a sample to see all the styles an Overload article may have as a webpage.

Changed: 15, 4, 3 January 2014, 10 July 2013, Martin Moene</p>
<p><strong>Body:</strong>&nbsp;<p>Style and structure of an Overload article on the Web (byline entered separately from article content)</p>

<h2>First section</h2>

<p>Paragraphs. Paragraphs. Paragraphs. 

<p>Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text. Text text text text text text text text. text text text text text text text text text text text text text text text text.</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Reference</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p>What has all this got to do with exceptions, you may wonder? Well, the C++ <span style=" font-style: italic; font-weight: normal; vertical-align: baseline">hello-world</span> (this one extracted from <i>The C++ Programming Language</i> [<a href="#TC++PL">TC++PL</a>]) is functionally similar.</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Footnote</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p>Consider a shared library<sup><a href="#1">1</a></sup> which is used by multiple clients.</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Quote</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p class="quote">This is a quote. (class=&quot;quote&quot;)</p>

<p>Here's a real quote.</p>

<p class="quote">ALGOL&nbsp;68 was the first (and possibly one of the last) major language for which a full formal definition was made before it was implemented.<br>~ C.H.A. Koster</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Block Quote</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p class="blockquote">This is a block quote. (class=&quot;blockquote&quot;)</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>An Indented Paragraph</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p class="indented">Indented Paragraph.  (class=&quot;indented&quot;).</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>An Unordered List</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p>Unordered list:
<ul>
<li>An item .</li>
<li>An item .</li>
<li>An item .</li>
</ul>
</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>An Ordered List</h2>
<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p>Ordered list:
<ol>
<li>An item .</li>
<li>An item .</li>
<li>An item .</li>
</ol>
</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>An Image (non-figure)</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<p>The na&iuml;ve approach to multiplication is to multiply the underlying integer values and then divide by the scaling factor since </p>

<p><img src="http://accu.org/content/images/journals/ol100/Overload%20WW%20XML%20and%20CSS-5-1-02.gif"></p>

<p>Similarly, for division we have...</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Figure</h2>

<p>The following table has class=&quot;sidebartable&quot;.</p>

<table class="sidebartable">
<tr>
<td> <img src="http://accu.org/content/images/journals/ol98/Jones/MemoryDebug_Fig1.png"></td>
</tr>
<tr>
<td class="title">Figure 1</td>
</tr>
</table>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Table</h2>

<p>The following table has class=&quot;journaltable&quot;.</p>

<table class="journaltable">
<tr>
<th>Pattern </th>
<th>Classification on Purpose </th>
<th>Classification on Intent </th>
</tr>
<tr>
<td>Abstract Factory</td>
<td>Creational</td>
<td>Construction</td>
</tr>
<tr>
<td>Decorator</td>
<td>Structural</td>
<td>Extension</td>
</tr>
<tr>
<td>Interpreter</td>
<td>Behavioural</td>
<td>Operation</td>
</tr>
</table>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Sidebar Table</h2>

<p>The following is a table (class=&quot;journaltable&quot;) inside a table (class=&quot;sidebartable&quot;). The last row contains the title in a td (class=&quot;title&quot;)</p>

<table class="sidebartable">
<tr>
<td>
<table class="journaltable">
<tr>
<th>Pattern </th>
<th>Classification on Purpose </th>
<th>Classification on Intent </th>
</tr>
<tr>
<td>Abstract Factory</td>
<td>Creational</td>
<td>Construction</td>
</tr>
<tr>
<td>Decorator</td>
<td>Structural</td>
<td>Extension</td>
</tr>
<tr>
<td>Interpreter</td>
<td>Behavioural</td>
<td>Operation</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="title">Table 1</td>
</tr>
</table>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Sidebar Table with a Paragraph</h2>

<p>The following is a table (class=&quot;sidebartable&quot;). The first row contains the title in a td (class=&quot;title&quot;)</p>

<table class="sidebartable">
<tr>
<td class="title">Printing Errors in C</td></tr>
<tr>
<td><p>The C standard library provides two functions for mapping 'error' codes, maintained in the global pseudo-variable <tt class="code">errno</tt>, into human-readable values. The first, <tt class="code">strerror()</tt>, returns a non-<tt class="code">NULL</tt> C-style string mapping any integer value, including all of those defined (both in the standard, and all implementation-defined ones) in errno.h, into a human-readable message. For example:</p>
<pre class="programlisting">strerror(ERANGE); &#8594; &quot;Result too large&quot;  
strerror(EDOM);   &#8594; &quot;Numerical argument out of
                     domain&quot;  
strerror(EMFILE); &#8594; &quot;Too many open files&quot;  
strerror(0);      &#8594; &quot;No error detected&quot;  
strerror(123456); &#8594; &quot;Unknown Error (123456)&quot;  
</pre>
<p>It's common to pass the current value of <tt class="code">errno</tt>, to get a string explaining what most recently behaved in a non-normative manner within (the currently executing thread of) your program. There are issues with re-entrancy in the use of <tt class="code">strerror()</tt>; see  <a href="#STRERROR">STRERROR</a>] for more information.</p>
<p>The second standard library function, <tt class="code">perror()</tt>, is used to print a message that also includes the message associated with the current value of <tt class="code">errno</tt>, separated by &quot;<tt class="code">: </tt>&quot;, as in:</p>
<pre class="programlisting">
errno = ERANGE;  
perror(&quot;oops&quot;);  &#8594; &quot;oops: Result too large&quot;
</pre>
</td>
</tr>
</table>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A Program Fragment</h2>

<p>The following is a pre (class=&quot;programlisting&quot;).</p>

<pre class="programlisting">// hello-world.cpp
#include &lt;iostream&gt;
int main()
{
    std::cout &lt;&lt; &quot;Hello world!&quot; &lt;&lt; std::endl;
}
</pre>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>A program Listing</h2>

<p>Paragraphs. Paragraphs. Paragraphs.</p>
<p>The following is table (class=&quot;sidebartable&quot;) containing a pre (class=&quot;programlisting&quot;). The last row contains the title in a td (class=&quot;title&quot;)</p>

<table class="sidebartable">
<tr>
<td>
<pre class="programlisting">#include &lt;iostream&gt;
int main()
{
    std::cout &lt;&lt; &quot;Hello world!&quot; &lt;&lt; std::endl;
}
</pre>
</td>
</tr>
<tr>
<td class="title">Listing 3</td>
</tr>
</table>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>Specialties</h2>

<h3>Inline Code</h3>

<p>The following paragraph contains (&lt;code&gt;).</p>

<p>The second standard library function, <code>perror()</code>, is used to print a message that also includes the message associated with the current value of <code>errno</code>, separated by &quot;<code>: </code>&quot;.</p> 

<h3>File Names</h3>

<p>The following paragraph contains (class=&quot;filename&quot;).</p>

<p>Assume fileName is <span class="filename">abc.def</span>, and that no such file exists.</p>

<h3>Pattern Names</h3>

<p>The following paragraph contains (class=&quot;pattern&quot;).</p>

<p>They prefer <span class="pattern">PfA</span> (<span class="pattern">Parameterise from Above</span>) where the application instantiates the required objects and passes them as dependencies via a public interface. This provides greater opportunities to decouple dependencies and dependants via abstract interfaces.</p>

<h3>A Lesson or Definition Paragraph</h3>

<p>The following style was created for the Quality Matters articles by Matthew Wilson.</p>

<p>The following is a paragraph (class=&quot;lesson&quot;).</p>

<p class="lesson"> Definition: A <b>contingent report</b> is a block of information output from a program to inform its controlling entity (human user, or spawning process) that it was unable to perform its normative behaviour. Contingent reports are a part of the program logic proper, and are not optional.</p>

<p>Paragraphs. Paragraphs. Paragraphs.</p>

<h2>References and ...</h2>

<p class="bibliomixed"><a name="TC++PL"></a> [TC++PL] The C++ Programming Language, Special Edition, Bjarne Stroustrup, Addison-Wesley, 2000</p>

<p class="footnotes"></p>
<p><a name="1"></a>1 For the purposes of this discussion, the language is C++ and the platform is Windows and DLLs. However, the principles described also apply to other platforms and languages to a greater or lesser degree. In any case, a stable and consistent ABI between clients and libraries is presumed.</p>

<p><a name="#2"></a>2 Care must be taken with adding a new overload for an existing function, of course!</p>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
