<?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 aneinanderreihen]]></title><description><![CDATA[<p>Hi, ich hab wieder mal eine Frage:</p>
<p>Ich möchte 2 Strings aneinanderhängen nach folgendem Schema:</p>
<p>LPTSTR String1 = a;<br />
LPTSTR String2 =b;</p>
<p>jetzt soll LPTSTR String3 &quot;ab&quot; enthalten</p>
<p>Wie mache ich das am besten (ich benutze UNICODE)<br />
Vielen Dank<br />
noha</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/178515/strings-aneinanderreihen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 22:23:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/178515.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Apr 2007 19:56:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Strings aneinanderreihen on Wed, 11 Apr 2007 19:56:48 GMT]]></title><description><![CDATA[<p>Hi, ich hab wieder mal eine Frage:</p>
<p>Ich möchte 2 Strings aneinanderhängen nach folgendem Schema:</p>
<p>LPTSTR String1 = a;<br />
LPTSTR String2 =b;</p>
<p>jetzt soll LPTSTR String3 &quot;ab&quot; enthalten</p>
<p>Wie mache ich das am besten (ich benutze UNICODE)<br />
Vielen Dank<br />
noha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1264173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1264173</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Wed, 11 Apr 2007 19:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to Strings aneinanderreihen on Wed, 11 Apr 2007 20:16:31 GMT]]></title><description><![CDATA[<p>Was soll LPTSTR für nen Typ sein?</p>
<p>für Unicode kenne ich nur:</p>
<pre><code class="language-cpp">std::wstring a=L&quot;Hallo&quot;;
std::wstring b=L&quot; Welt&quot;;

std::wstring c = a + b;
</code></pre>
<p>oder eben <a href="http://man.cx/wcscat(3)" rel="nofollow">man: wcscat(3)</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1264186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1264186</guid><dc:creator><![CDATA[rüdiger]]></dc:creator><pubDate>Wed, 11 Apr 2007 20:16:31 GMT</pubDate></item><item><title><![CDATA[Reply to Strings aneinanderreihen on Wed, 11 Apr 2007 20:23:09 GMT]]></title><description><![CDATA[<p>ich würde auch anstatt LPTSTR std::wstring nehmen (läuft ja bei Unicode auf dasselbe raus) oder eben schnell so viel speicher reservieren dass alle TCHARS reinpassen und sie dann in einer schleife dort reinschreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1264191</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1264191</guid><dc:creator><![CDATA[$noppy]]></dc:creator><pubDate>Wed, 11 Apr 2007 20:23:09 GMT</pubDate></item><item><title><![CDATA[Reply to Strings aneinanderreihen on Wed, 11 Apr 2007 20:48:48 GMT]]></title><description><![CDATA[<p>danke wcscat() funktioniert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1264199</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1264199</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Wed, 11 Apr 2007 20:48:48 GMT</pubDate></item></channel></rss>