    <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  :: The Wall</title>
        <link>https://members.accu.org/index.php/journals/971</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>


        <h2>Journal Articles</h2>


<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 12, #1 - Jan 2000 + Letters to the Editor</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/journals/">All</a>

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

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c128/">121</a>
                    (30)
<br />

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

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c184/">Journal Columns</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c186/">LettersEditor</a>
                    (132)
<br />

                                            <a href="https://members.accu.org/index.php/journals/c128-186/">Any of these categories</a>

                    -                        <a href="https://members.accu.org/index.php/journals/c128+186/">All of these categories</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;The Wall</h1>
<p><strong>Author:</strong>&nbsp;</p>
<p>
<strong>Date:</strong> 08 January 2000 13:15:34 +00:00 or Sat, 08 January 2000 13:15:34 +00:00</p>
<p><strong>Summary:</strong>&nbsp;</p>
<p><strong>Body:</strong>&nbsp;<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e22" id=
"d0e22"></a>Corrections</h2>
</div>
<p>Dear Francis,</p>
<p>You correctly pulled me up on the cast of realloc in the
checkISBN2() and checkISBN3()routines referred to in C Vu 11.6 on
page 29. I followed examples from published code and K+R 2nd
Edition. However, after sending the ISBN code to you, I found the
webpage for the book with updates (See <a href=
"http://cm.bell-labs.com/cs/cbook/2ediffs.html" target=
"_top">http://cm.bell-labs.com/cs/cbook/2ediffs.html</a>). Here
there is an update that gives the same advice. I think some of the
problems arose from using C++ compilers to compile code that was
essentially C. They flag the lack of casting as a problem.</p>
<p>I prefer to leave the sizeof(char) in the call to realloc event
though it will be optimised at compile time. If I ever convert the
program to use UNICODE then replacing char with TCHAR will have the
desired effect. It also happens to be one of the programming idioms
which I use and it didn't seem worth making an exception for char -
Buffersize = (number of items) * (sizeof(item)).</p>
<p>Your preferred rewrite of removeDashes appears to have a couple
of bugs in it. In the while() construct == should be replaced with
= otherwise no changes are actually made and sourcestring is
returned. If this change is made then the pre-increment of j should
be replaced with a post-increment otherwise the first character may
be truncated. Also, give that we are modifying the passed value
(sourcestring) is there any advantage in returning the string
rather than a void? Were the errors deliberate?</p>
<p>Catriona O'Connell <tt class="email">&lt;<a href=
"mailto:catriona38@hotmail.com">catriona38@hotmail.com</a>&gt;</tt></p>
<p class="c3"><span class="remark">If you are contemplating
changing a type (char to wchar_t) rather a lot of change will have
to take place so I remain unconvinced that any great benefit
derives from the use of sizeof(char).</span></p>
<p class="c3"><span class="remark">Yes, I was careless when
defining my RemoveDashes function. I think you were the only one to
notice the pre-increment error, which was deliberate though the ==
instead of = was not.</span></p>
</div>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
