<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Strings vergleichen]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>die String Vergleiche klappen wenn eines der Strings ein std::string ist. Wie kann ich nun zwei &quot;const char *&quot; vergleichen? Ich möchte nun nicht extra einen std::string erstellen damit ich vergleichen kann...</p>
<p>Vielen Dank</p>
<p>Martin</p>
<p>PS: strcmp() kann ich notfalls nehmen, ich wollte aber rein C++ schreiben.<br />
PSS: char * muß ich nehmen, weil das eine ein #define ist und der andere Param aus einer externen DLL kommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/190443/strings-vergleichen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 14:59:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/190443.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Aug 2007 17:52:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Strings vergleichen on Wed, 22 Aug 2007 17:52:34 GMT]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>die String Vergleiche klappen wenn eines der Strings ein std::string ist. Wie kann ich nun zwei &quot;const char *&quot; vergleichen? Ich möchte nun nicht extra einen std::string erstellen damit ich vergleichen kann...</p>
<p>Vielen Dank</p>
<p>Martin</p>
<p>PS: strcmp() kann ich notfalls nehmen, ich wollte aber rein C++ schreiben.<br />
PSS: char * muß ich nehmen, weil das eine ein #define ist und der andere Param aus einer externen DLL kommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1349948</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1349948</guid><dc:creator><![CDATA[martin_salo]]></dc:creator><pubDate>Wed, 22 Aug 2007 17:52:34 GMT</pubDate></item><item><title><![CDATA[Reply to Strings vergleichen on Wed, 22 Aug 2007 17:58:47 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wenn du zwei char* hast kannst du nur strcmp verwenden, bzw das sicherer strncmp.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1349951</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1349951</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 22 Aug 2007 17:58:47 GMT</pubDate></item><item><title><![CDATA[Reply to Strings vergleichen on Wed, 22 Aug 2007 18:09:25 GMT]]></title><description><![CDATA[<p>Ok. Ich dachte es gäbe da sowas wie std::compare().</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1349958</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1349958</guid><dc:creator><![CDATA[martin_salo]]></dc:creator><pubDate>Wed, 22 Aug 2007 18:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to Strings vergleichen on Wed, 22 Aug 2007 18:26:10 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>In C++ liegen die Funktionen aus der alten string.h (C++ : cstring) nun ja auch im std-Namespace. Das wars aber auch schon.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1349970</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1349970</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 22 Aug 2007 18:26:10 GMT</pubDate></item></channel></rss>