<?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 - Creation of a high score table (Part II): saving to a file store - Comments</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html</link>
 <description>Comments for &quot;Creation of a high score table (Part II): saving to a file store&quot;</description>
 <language>en</language>
<item>
 <title>&gt; Re: how can we check if a file does exist or not</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comment-118</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;U Can use 
 BaflUtils::FileExists(). also&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;Meenu&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 25 Jul 2003 09:38:50 +0200</pubDate>
 <dc:creator>Meenu j</dc:creator>
 <guid isPermaLink="false">comment 118 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: how can we check if a file does exist or not</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comment-117</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;I know two methods :
&lt;br /&gt;&lt;img class=&#039;spip_puce&#039; src=&#039;http://www.newlc.com/sites/all/themes/zen/images/blue_bullet.gif&#039; alt=&#039;-&#039; /&gt;&amp;nbsp;&amp;nbsp;you try to open your socre.dat file using &lt;strong class=&quot;spip&quot;&gt;Open()&lt;/strong&gt;: if it returns KErrNotFound, the file does not exist and you can create it&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;&lt;img class=&#039;spip_puce&#039; src=&#039;http://www.newlc.com/sites/all/themes/zen/images/blue_bullet.gif&#039; alt=&#039;-&#039; /&gt;&amp;nbsp;&amp;nbsp;you check its existence using &lt;strong class=&quot;spip&quot;&gt;TFindFile&lt;/strong&gt; (get the latest SDL, this is well explained)&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 10 Mar 2003 10:25:51 +0100</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">comment 117 at http://www.newlc.com</guid>
</item>
<item>
 <title>how can we check if a file does exist or not</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comment-116</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;e.g.: we need to check if c:\\system\\app\\mygame\\socre.dat exists or not at the very beginning executioin.
thanks,&lt;/div&gt;</description>
 <pubDate>Fri, 07 Mar 2003 20:26:38 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 116 at http://www.newlc.com</guid>
</item>
<item>
 <title>TParse issue</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comment-115</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;&lt;p class=&quot;spip&quot;&gt;The &lt;strong class=&quot;spip&quot;&gt;TParse&lt;/strong&gt; class is a little bit big to be allocated on the stack (in &lt;strong class=&quot;spip&quot;&gt;SaveScoreL&lt;/strong&gt;and &lt;strong class=&quot;spip&quot;&gt;LoadScoreL&lt;/strong&gt;). It would be better to allocate it on the heap this way:&lt;/p&gt;

&lt;p class=&quot;spip&quot;&gt;&lt;tt&gt;&lt;div align=&#039;left&#039; class=&#039;spip_code&#039; dir=&#039;ltr&#039;&gt;TParse *parsedName;&lt;br /&gt;
parsedName=new(ELeave)TParse;&lt;br /&gt;
CleanupStack::PushL(parsedName);&lt;br /&gt;
..... function code....&lt;br /&gt;
CleanupStack::PopAndDestroy(); // parsedName&lt;/div&gt;&lt;/tt&gt;&lt;/p&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 07 Mar 2003 09:59:16 +0100</pubDate>
 <dc:creator>eric</dc:creator>
 <guid isPermaLink="false">comment 115 at http://www.newlc.com</guid>
</item>
<item>
 <title>&gt; Creation of a high score table (Part II): saving to a file sto</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comment-114</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;GOOD, thanks.&lt;/div&gt;</description>
 <pubDate>Thu, 06 Mar 2003 13:38:01 +0100</pubDate>
 <dc:creator>jobsli</dc:creator>
 <guid isPermaLink="false">comment 114 at http://www.newlc.com</guid>
</item>
<item>
 <title>Creation of a high score table (Part II): saving to a file store</title>
 <link>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html</link>
 <description>&lt;div class=&quot;spip-content&quot;&gt;This tutorial will show you how to internalize/externalize a CArray... structure&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/Creation-of-a-high-score-table%2C37.html#comments</comments>
 <category domain="http://www.newlc.com/en/taxonomy/term/1">Basics</category>
 <category domain="http://www.newlc.com/en/taxonomy/term/127">File System</category>
 <pubDate>Mon, 03 Mar 2003 11:35:20 +0100</pubDate>
 <dc:creator />
 <guid isPermaLink="false">31 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
