<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - How to Copy the values of  a &amp;quot;CDesCArrayFlat&amp;quot;  type array in a Tbuffer. - Comments</title>
 <link>http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer</link>
 <description>Comments for &quot;How to Copy the values of  a &quot;CDesCArrayFlat&quot;  type array in a Tbuffer.&quot;</description>
 <language>en</language>
<item>
 <title>Re: How to Copy the values of  a &quot;CDesCArrayFlat&quot;  type</title>
 <link>http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer#comment-40582</link>
 <description>&lt;p&gt;I assume you want to copy all of the items in the array to the buffer, in which case calling Copy() in a loop will overwrite the previous contents, so call Append() in a loop&lt;/p&gt;</description>
 <pubDate>Wed, 08 Aug 2007 18:10:58 +0200</pubDate>
 <dc:creator>Mr. Buttington F. Phucque Lewis</dc:creator>
 <guid isPermaLink="false">comment 40582 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: How to Copy the values of  a &quot;CDesCArrayFlat&quot;  type array in</title>
 <link>http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer#comment-40577</link>
 <description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;  CDesCArray* array = new(ELeave) CDesCArrayFlat(2);&lt;/p&gt;

&lt;p&gt;  TBuf&lt;40&gt; test;&lt;br /&gt;
//One way&lt;br /&gt;
  test.Copy(  (*array)[i]  )  ;&lt;/p&gt;

&lt;p&gt;// 2nd way&lt;br /&gt;
 &lt;br /&gt;
test.Copy( array-&gt;MdcaPoint(i) );&lt;/p&gt;

&lt;p&gt;  From my point of view first is better.&lt;/p&gt;

&lt;p&gt; BR&lt;br /&gt;
Isha&lt;/p&gt;</description>
 <pubDate>Wed, 08 Aug 2007 11:37:24 +0200</pubDate>
 <dc:creator>Isha</dc:creator>
 <guid isPermaLink="false">comment 40577 at http://www.newlc.com</guid>
</item>
<item>
 <title>How to Copy the values of  a &quot;CDesCArrayFlat&quot;  type array in a Tbuffer.</title>
 <link>http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer</link>
 <description>&lt;p&gt;Hi &lt;/p&gt;

&lt;p&gt;I am new in symbian and i want to copy a array into a buffer one by one but i di&#039;nt so please help me.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/forum/how-copy-values-cdescarrayflat-type-array-tbuffer#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Tue, 07 Aug 2007 11:23:12 +0200</pubDate>
 <dc:creator>kalpi21amit</dc:creator>
 <guid isPermaLink="false">18577 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
