<?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[Meine Anfangsproblemchen]]></title><description><![CDATA[<p>Hi Leute, ich habe echt keinen bock nen Flame zu kassieren also entschuldige ich mich schonmal für die Fehler die ich bisher begangen habe. Vieleicht habe ich in das falsche Forum gepostet! Tut mir leid *duck*.</p>
<p>Also ich bin totaler c++ neuling (ca. 2 Tage ;)) und mir machen Anfäger Probleme zu schaffen.</p>
<p>Ich habe das Problem das ich gerne eine Variable an einen String dranhängen würde.</p>
<p>Beispiel:</p>
<p>variable 1 ist : path (Inhalt: &quot;pfad/&quot;)<br />
varibale 2 ist: file (Inhalt: &quot;dateiname.zx&quot;)</p>
<p>So nun habe ich die Variablen und würde sie gerne hintereinander legen. In PHP würde das jetzt so gehen: ( kein flame plz :D)</p>
<p>$new_var = <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>p</mi><mi>a</mi><mi>t</mi><mi>h</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">path.</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.8888799999999999em;vertical-align:-0.19444em;"></span><span class="base textstyle uncramped"><span class="mord mathit">p</span><span class="mord mathit">a</span><span class="mord mathit">t</span><span class="mord mathit">h</span><span class="mord mathrm">.</span></span></span></span>file;<br />
oder $path .= $file;</p>
<p>in beiden Fällen würde jetzt &quot;pfad/dateiname.zx&quot; rauskommen.</p>
<p>Könnt ihr mir bitte diese 2 Beispiele auf C++ anwänden?</p>
<p>lg level9</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/185919/meine-anfangsproblemchen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 11:18:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/185919.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Jul 2007 00:26:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Meine Anfangsproblemchen on Tue, 03 Jul 2007 00:26:45 GMT]]></title><description><![CDATA[<p>Hi Leute, ich habe echt keinen bock nen Flame zu kassieren also entschuldige ich mich schonmal für die Fehler die ich bisher begangen habe. Vieleicht habe ich in das falsche Forum gepostet! Tut mir leid *duck*.</p>
<p>Also ich bin totaler c++ neuling (ca. 2 Tage ;)) und mir machen Anfäger Probleme zu schaffen.</p>
<p>Ich habe das Problem das ich gerne eine Variable an einen String dranhängen würde.</p>
<p>Beispiel:</p>
<p>variable 1 ist : path (Inhalt: &quot;pfad/&quot;)<br />
varibale 2 ist: file (Inhalt: &quot;dateiname.zx&quot;)</p>
<p>So nun habe ich die Variablen und würde sie gerne hintereinander legen. In PHP würde das jetzt so gehen: ( kein flame plz :D)</p>
<p>$new_var = <span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi>p</mi><mi>a</mi><mi>t</mi><mi>h</mi><mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">path.</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.8888799999999999em;vertical-align:-0.19444em;"></span><span class="base textstyle uncramped"><span class="mord mathit">p</span><span class="mord mathit">a</span><span class="mord mathit">t</span><span class="mord mathit">h</span><span class="mord mathrm">.</span></span></span></span>file;<br />
oder $path .= $file;</p>
<p>in beiden Fällen würde jetzt &quot;pfad/dateiname.zx&quot; rauskommen.</p>
<p>Könnt ihr mir bitte diese 2 Beispiele auf C++ anwänden?</p>
<p>lg level9</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317232</guid><dc:creator><![CDATA[level9]]></dc:creator><pubDate>Tue, 03 Jul 2007 00:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to Meine Anfangsproblemchen on Tue, 03 Jul 2007 01:19:22 GMT]]></title><description><![CDATA[<p>Hallo</p>
<pre><code class="language-cpp">AnsiString path = &quot;pfad/&quot;;
AnsiString file = &quot;dateiname.zx&quot;;
AnsiString gesamt = path + file
</code></pre>
<p>Und übrigens sfds</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1317241</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1317241</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 03 Jul 2007 01:19:22 GMT</pubDate></item></channel></rss>