<?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[wxString]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe zwei wxString die eine heisst wxString SommerValue und die andere hat den Name wxString SchneeValue. Nun möchte ich diese zu in ein char konvetieren.</p>
<pre><code class="language-cpp">char test [25] = SchneeValue+SommerValue;
</code></pre>
<p>aber dies Funktioniert nicht;</p>
<p>Gruss Mattias A380</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/307164/wxstring</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 00:49:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/307164.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Aug 2012 18:07:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wxString on Sat, 18 Aug 2012 18:07:57 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe zwei wxString die eine heisst wxString SommerValue und die andere hat den Name wxString SchneeValue. Nun möchte ich diese zu in ein char konvetieren.</p>
<pre><code class="language-cpp">char test [25] = SchneeValue+SommerValue;
</code></pre>
<p>aber dies Funktioniert nicht;</p>
<p>Gruss Mattias A380</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243172</guid><dc:creator><![CDATA[Matthias A380]]></dc:creator><pubDate>Sat, 18 Aug 2012 18:07:57 GMT</pubDate></item><item><title><![CDATA[Reply to wxString on Sat, 18 Aug 2012 18:28:36 GMT]]></title><description><![CDATA[<p>Matthias A380 schrieb:</p>
<blockquote>
<p>[...] die eine heisst wxString SommerValue und die andere hat den Name wxString SchneeValue. [...]</p>
</blockquote>
<p>Inkonsistent. Entweder <code>SummerValue</code> und <code>SnowValue</code> oder <code>SommerWert</code> und <code>SchneeWert</code> . Willst du nicht vielleicht &quot;Winter&quot; statt &quot;Schnee&quot;? Oder es sind Beispiele ohne realen Background: <code>foo</code> und <code>bar</code> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Matthias A380 schrieb:</p>
<blockquote>
<p>[...] aber dies Funktioniert nicht;</p>
</blockquote>
<p>&quot;funktioniert nicht&quot; ist keine Fehlerbeschreibung.</p>
<p>Du willst</p>
<pre><code class="language-cpp">char test[ 25 ] = {};
std::strcpy( test, SchneeValue.mb_str() );
std::strcat( test, SommerValue.mb_str() );
</code></pre>
<p>und die Gewissheit, daß 24 + '\0' ausreichend für deine Belange sind.</p>
<p>// edit: tagsoup detected <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243177</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Sat, 18 Aug 2012 18:28:36 GMT</pubDate></item></channel></rss>