<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
static sal_Unicode *table_PersianWord_decade1[]={<br>
(sal_Unicode[]){0}, // 0<br>
(sal_Unicode[]){0x06cc, 0x06a9, 0}, // 1<br>
</div> …<br>
};<br>
<br>
is not valid C++03 (and neither is Eike's version using the ArrUnicode typedef). To be standards conform (and hence maximally portable) would require the more verbose<br></blockquote><div>OK. But it is too verbose ;)<br>
Any other solution? what about the following:<br><br></div><div> static sal_Unicode table_PersianWord_decade1[][MAX_LEN]={<br> {0}, // 0<br>
{0x06cc, 0x06a9, 0}, // 1<br>...<br>};<br><br>Although it uses more memory, but it is less vebose.<br>What's your opinion?<br><br>Elahi<br></div></div>