<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: comparison code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 28 Aug 2008 11:28:18 GMT</pubDate>
    <description>DZone Snippets: comparison code</description>
    <item>
      <title>String equality tester</title>
      <link>http://snippets.dzone.com/posts/show/4253</link>
      <description>If you want to test the equality of two strings and don't want the overhead of strcmp(), then this is the function for you.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;_Bool strequals(char* a, char* b) {&lt;br /&gt; if (!a || !b) return 0;&lt;br /&gt; do {if (*a != *b) return 0; } while (*a++ &amp;&amp; *b++);&lt;br /&gt; return 1;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 05 Jul 2007 03:22:26 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4253</guid>
      <author>Minimiscience (Guildorn Tanaleth)</author>
    </item>
  </channel>
</rss>
