<?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>c-prog at Yahoo! Groups</title>
    <link>http://tech.groups.yahoo.com/group/c-prog/</link>
    <description>C/C&#43;+ Programmer&#39;s Mailing List</description>

    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Fri, 20 Nov 2009 06:26:13 GMT</pubDate>
      <dc:creator>johnmatthews2000</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71544</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71544</guid>
      <description>... ...but the format string is incorrect as described previously, so it should be: ret = swscanf(srcStr, _T&quot;%[^=]=%lu&quot;, destString, &amp;destLong); (assuming the</description>
    </item>
    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 22:28:22 GMT</pubDate>
      <dc:creator>Vishva</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71543</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71543</guid>
      <description>Well, I think Paul is right, destLong should be a pointer to a long so the swscanf code should be like.. ret = swscanf(srcStr, _T&quot;%s=%lu&quot;, destString,</description>
    </item>
    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 11:41:38 GMT</pubDate>
      <dc:creator>Paul Herring</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71542</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71542</guid>
      <description>... Previous comments about the string specifier aside... Plain scanf() would require a pointer to a long - is destLong a long, or a pointer to a long? If the</description>
    </item>
    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 07:09:50 GMT</pubDate>
      <dc:creator>johnmatthews2000</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71541</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71541</guid>
      <description>... ...but you do want to store it, so it should be &quot; %[^=]=%lu&quot;. I don&#39;t know about the _T because I&#39;m a C programmer.</description>
    </item>
    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 06:55:49 GMT</pubDate>
      <dc:creator>johnmatthews2000</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71540</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71540</guid>
      <description>... The %s matches a sequence of non-space characters, so it includes the &#39;=&#39;. Try the format string: &quot; %*[^=]=%u&quot; The &quot;%*[^=]&quot; matches any characters</description>
    </item>
    <item>
      <title>Re: swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 06:21:26 GMT</pubDate>
      <dc:creator>Rick</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71539</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71539</guid>
      <description>... I don&#39;t know about the &quot;_T&quot; type specifier. I&#39;d leave it off. But try using &quot;%4s=%lu&quot; ~Rick</description>
    </item>
    <item>
      <title>Re: function call before main</title>
      <pubDate>Thu, 19 Nov 2009 03:56:57 GMT</pubDate>
      <dc:creator>Tyler Littlefield</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71538</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71538</guid>
      <description>I don&#39;t know about a &quot;startup&quot; file. You could always redefine the entry point with the linker and make that call main, but why not just call the function in</description>
    </item>
    <item>
      <title>swscanf() question</title>
      <pubDate>Thu, 19 Nov 2009 03:01:58 GMT</pubDate>
      <dc:creator>Vishva</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71537</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71537</guid>
      <description>This might be very simple to most of you. ... TCHAR destString[10]; unsigned long destLong = 0; // srcStr contains a string like &quot;xxxx=2000&quot; ret =</description>
    </item>
    <item>
      <title>Re: function call before main</title>
      <pubDate>Wed, 18 Nov 2009 20:15:49 GMT</pubDate>
      <dc:creator>andrew clarke</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71536</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71536</guid>
      <description>... Not in a standard way.  Some C compilers might support something like that though. In C&#43;+ you can have a constructor call a function before main() is </description>
    </item>
    <item>
      <title>function call before main</title>
      <pubDate>Wed, 18 Nov 2009 18:31:42 GMT</pubDate>
      <dc:creator>tujare_raj1</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71535</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71535</guid>
      <description>can we call any function before &quot;main&quot; function in &#39;C&#39; using any compiler without editing &quot;start-up&quot; file</description>
    </item>
    <item>
      <title>Re: Retrieving all the key values</title>
      <pubDate>Wed, 18 Nov 2009 08:34:46 GMT</pubDate>
      <dc:creator>Paul Herring</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71534</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71534</guid>
      <description>... That&#39;s what the user interface is for. Users should not be digging into the registry/INI files to change stuff. Firefox&#39;s about:config interface is a sorta</description>
    </item>
    <item>
      <title>Re: Retrieving all the key values</title>
      <pubDate>Wed, 18 Nov 2009 00:43:32 GMT</pubDate>
      <dc:creator>John Gaughan</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71533</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71533</guid>
      <description>... I never did like the registry. I would store data in flat files in the user&#39;s profile, in a platform-independent way. XML is good for this, although</description>
    </item>
    <item>
      <title>Re: beginner to intermediate</title>
      <pubDate>Tue, 17 Nov 2009 13:58:35 GMT</pubDate>
      <dc:creator>Thomas Hruska</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71532</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71532</guid>
      <description>... Well, since you want to develop games, a good place to start could be enemy behaviors.  Write a program to get a number of enemies optimally through a</description>
    </item>
    <item>
      <title>Re: Retrieving all the key values</title>
      <pubDate>Tue, 17 Nov 2009 11:32:58 GMT</pubDate>
      <dc:creator>Samudra Vishvajith Kapuruge</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71531</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71531</guid>
      <description>... Wonder why it&#39;s not mentioned in MSDN.. Or didn&#39;t I see it.. But thanks again for replying.. Now my doubts are clear.. Cheers, Vishva</description>
    </item>
    <item>
      <title>Re: Retrieving all the key values</title>
      <pubDate>Tue, 17 Nov 2009 10:50:56 GMT</pubDate>
      <dc:creator>Paul Herring</dc:creator>
      <link>http://tech.groups.yahoo.com/group/c-prog/message/71530</link>
      <guid isPermaLink="true">http://tech.groups.yahoo.com/group/c-prog/message/71530</guid>
      <description>On Tue, Nov 17, 2009 at 10:39 AM, Samudra Vishvajith Kapuruge &lt;vishvaya@...&gt; wrote: [...] ... It means application specific data like this should be</description>
    </item>

  </channel>
</rss>
<!-- wr1.grp.sp2.yahoo.com uncompressed/chunked Fri Nov 20 20:42:31 PST 2009 -->
