<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LC++]typedefs in C++</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp; I was reading 'Effective C++' by Scott Mayers and while </FONT>
<BR><FONT SIZE=2>&gt; going through the fifth Item, I came across this statement.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; typedef string AddressLines[4];</FONT>
</P>

<P><FONT SIZE=2>If I recall well, Scott Meyers finished by saying</FONT>
<BR><FONT SIZE=2>&quot;don't use typedef'd arrays&quot; :)</FONT>
</P>

<P><FONT SIZE=2>Anyway, the answer to your particular problem might be that C</FONT>
<BR><FONT SIZE=2>requires variables to be declared at the top of a block, as</FONT>
<BR><FONT SIZE=2>opposed to in the middle of it.</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>

</BODY>
</HTML>