<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Batang;
        panose-1:2 3 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:"\@Batang";
        panose-1:2 3 6 0 0 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.emailstyle17
        {font-family:"Comic Sans MS";
        color:windowtext;}
span.EmailStyle19
        {font-family:"Comic Sans MS";
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

<style>
p.MsoNormal
        {margin-left:37.5pt;}
</style>
</head>

<body bgcolor=white background="cid:image001.jpg@01C44334.2DB16F60" lang=EN-US
link=blue vlink=purple style='margin-left:37.5pt;margin-top:15.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:navy'> </span></font></p>

<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'>Hi,</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>I am trying to test the
code in the tutorial and getting a compile error. I am using AC++ 0.8.1 on
windows 2000 system. I am also using Borland c++ compiler.</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'> </span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>C:\workspace>ac++ -p
Queue  -d Queue-out -IQueue -v 9</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>* Running ac++ 0.8.1</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>* Simple Dependency Check</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>  - new or modified:
Queue/ElementCounter.ah</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>  - new or modified:
Queue/ErrorAspect.ah</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>* Handling Translation
Unit `main.cc'.</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>  - Path
"Queue/main.cc"</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>  - Inserting
namespace AC</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>  - Parsing ...</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>Queue/ElementCounter.ah(12):
error: invalid member declaration near token `Queue</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'> </span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'>Here is the complete file:</span></font></p>

<p class=MsoNormal style='text-indent:6.0pt'><font size=2 face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS"'> </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>aspect
ElementCounter</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>{</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
//int counter;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
private:</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
   advice "Queue" : int counter;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
   </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
public:</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
   </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
   advice "Queue" : int count() { return  counter; }</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><font size=2 face=Wingdings><span style='font-size:10.0pt;
font-family:Wingdings'>ß</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> typo in the tutorial[ int
count instead of int count()]</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
   </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
advice execution("% Queue::enqueue(...)") </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
     && that(queue) : after(Queue& queue )</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>
</span></font><font size=2 face=Wingdings><span style='font-size:10.0pt;
font-family:Wingdings'>ß</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>------------ this is the
error line</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
{</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
++q.counter;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
printf("num ele after enqueue = %d\n", q.count());</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
}</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
advice execution("% Queue::dequeue(...)")</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>   
  && that(q) : after( Queue& q )</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
{</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
if (q.count() > 0) {</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
       --q.counter;</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
}</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>           
printf("num ele after dequeue %d\n", q.count());</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>     
}</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";background:white'>};</span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'> </span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Please help.</span></font></p>

<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>

<div>

<p class=MsoNormal style='text-autospace:none'><i><font size=2 color="#3366ff"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#3366FF;font-style:italic'>Siva Chelliah</span></font></i></p>

<p class=MsoNormal style='text-autospace:none'><i><font size=2 color="#3366ff"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#3366FF;font-style:italic'>Samsung Telecommunications </span></font></i><i><font
  size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New";color:#3366FF;font-style:italic'>America</span></font></i></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=2 color="#3366ff"
  face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
  color:#3366FF;font-weight:bold'>1301 East Lookout Dr</span></font></b><b><font
size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:#3366FF;font-weight:bold'>.   </span></font></b><b><font
  size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New";color:#3366FF;font-weight:bold'>Richardson</span></font></b><b><font
 size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
 font-family:"Courier New";color:#3366FF;font-weight:bold'>, </span></font></b><b><font
  size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New";color:#3366FF;font-weight:bold'>TX</span></font></b><b><font
 size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
 font-family:"Courier New";color:#3366FF;font-weight:bold'> </span></font></b><b><font
  size=2 color="#3366ff" face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New";color:#3366FF;font-weight:bold'>75082</span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><i><font size=2 color="#3366ff"
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:#3366FF;font-style:italic'>972-761-7903 (fax: 7909)</span></font></i></p>

<p class=MsoNormal><i><u><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:blue;font-style:italic'>A
conclusion is simply the place where someone got tired of thinking</span></font></u></i></p>

</div>

<p style='margin-left:-1401.8pt'><font size=2 color="#006666" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#006666'> </span></font></p>

</div>

</body>

</html>