<?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[Variable &#x2F; String wird auskommentiert]]></title><description><![CDATA[<p>Heyhó,</p>
<p>ich würde gern ein Packet an ein Server schicken.<br />
Mein Problem ist nun, dass das die hälfte des Packets auskommentiert wird.<br />
Könnte wer das Packet in eine Variable packen, ohne das Packet zu verfälschen?</p>
<p>Packet :</p>
<pre><code class="language-php">POST /Webservice/Service.asmx HTTP/1.1..Host: www.moviestarplanet.de..User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1..Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8..Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3..Accept-Encoding: gzip, deflate..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Connection: keep-alive..Cookie: __utma=63765683.145396778.1324722135.1325378934.1325596241.40; __utmz=63765683.1324722135.1.1.utmcsr=moviestarplanet.se|utmccn=(referral)|utmcmd=referral|utmcct=/; __utmb=63765683.6.10.1325596241; __utmc=63765683..Referer: http://cdn.moviestarplanet.de/Main_20111220_93824.swf..Content-type: text/xml; charset=utf-8..SOAPAction: &quot;http://moviestarplanet.com/Login2&quot;..Content-length: 411....&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:s=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;.  &lt;SOAP-ENV:Body&gt;.    &lt;tns:Login2 xmlns:tns=&quot;http://moviestarplanet.com/&quot;&gt;.      &lt;tns:username&gt; &lt;/tns:username&gt;.      &lt;tns:password&gt;&lt;/tns:password&gt;.    &lt;/tns:Login2&gt;.  &lt;/SOAP-ENV:Body&gt;.&lt;/SOAP-ENV:Envelope&gt;a
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/297622/variable-string-wird-auskommentiert</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 11:02:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/297622.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Jan 2012 14:16:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:16:13 GMT]]></title><description><![CDATA[<p>Heyhó,</p>
<p>ich würde gern ein Packet an ein Server schicken.<br />
Mein Problem ist nun, dass das die hälfte des Packets auskommentiert wird.<br />
Könnte wer das Packet in eine Variable packen, ohne das Packet zu verfälschen?</p>
<p>Packet :</p>
<pre><code class="language-php">POST /Webservice/Service.asmx HTTP/1.1..Host: www.moviestarplanet.de..User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1..Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8..Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3..Accept-Encoding: gzip, deflate..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Connection: keep-alive..Cookie: __utma=63765683.145396778.1324722135.1325378934.1325596241.40; __utmz=63765683.1324722135.1.1.utmcsr=moviestarplanet.se|utmccn=(referral)|utmcmd=referral|utmcct=/; __utmb=63765683.6.10.1325596241; __utmc=63765683..Referer: http://cdn.moviestarplanet.de/Main_20111220_93824.swf..Content-type: text/xml; charset=utf-8..SOAPAction: &quot;http://moviestarplanet.com/Login2&quot;..Content-length: 411....&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:s=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;.  &lt;SOAP-ENV:Body&gt;.    &lt;tns:Login2 xmlns:tns=&quot;http://moviestarplanet.com/&quot;&gt;.      &lt;tns:username&gt; &lt;/tns:username&gt;.      &lt;tns:password&gt;&lt;/tns:password&gt;.    &lt;/tns:Login2&gt;.  &lt;/SOAP-ENV:Body&gt;.&lt;/SOAP-ENV:Envelope&gt;a
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2163270</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163270</guid><dc:creator><![CDATA[Huhu;&amp;gt;]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:21:06 GMT]]></title><description><![CDATA[<p>jedes / zeichen muss du zu einem // machen, ansonsen wird es als kommentar angesehen. guck dir mal an was escape sequenzen sind...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2163278</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163278</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:21:06 GMT</pubDate></item><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:27:41 GMT]]></title><description><![CDATA[<p>Ist aber immernoch auskommentiert ;O</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2163282</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163282</guid><dc:creator><![CDATA[Huhu;&amp;gt;]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:27:41 GMT</pubDate></item><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:33:45 GMT]]></title><description><![CDATA[<p>dann es in teilstrings auf<br />
z.b.</p>
<pre><code class="language-cpp">std::string s1 = &quot;POST /Webservice/Service.asmx HTTP/1.1..Host: www.moviestarplanet.de..User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1..Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/&quot;;

std::string s2 = &quot;*;q=0.8..Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3..Accept-Encoding: gzip, deflate..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Connection: keep-alive..Cookie: __utma=63765683.145396778.1324722135.1325378934.1325596241.40; __utmz=63765683.1324722135.1.1.utmcsr=moviestarplanet.se|utmccn=(referral)|utmcmd=referral|utmcct=/; __utmb=63765683.6.10.1325596241; __utmc=63765683..Referer: http://cdn.moviestarplanet.de&quot;
+ &quot;/Main_20111220_93824.swf..Content-type: text/xml; charset=utf-8..SOAPAction: \&quot;http://moviestarplanet.com/Login2\&quot;..Content-length: 411....&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:s=\&quot;http://www.w3.org/2001/XMLSchema\&quot; xmlns:xsi=\&quot;http://www.w3.org/2001/XMLSchema-instance\&quot;&gt;.  &lt;SOAP-ENV:Body&gt;.&quot;
+ &quot;    &lt;tns:Login2 xmlns:tns=\&quot;http://moviestarplanet.com/\&quot;&gt;.      &lt;tns:username&gt; &lt;/tns:username&gt;.      &lt;tns:password&gt;&lt;/tns:password&gt;.    &lt;/tns:Login2&gt;.  &lt;/SOAP-ENV:Body&gt;.&lt;/SOAP-ENV:Envelope&gt;a	&quot;;

std::string url = s1 + s2;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2163284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163284</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:33:45 GMT</pubDate></item><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:34:03 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>jedes / zeichen muss du zu einem // machen, ansonsen wird es als kommentar angesehen. guck dir mal an was escape sequenzen sind...</p>
</blockquote>
<p>Nö, du darfst in String // benutzen so viel du lustig bist. Das Problem sind die &quot;. Die Lösung ist aber die gleiche: Escapesequenzen.</p>
<pre><code>&quot;POST /Webservice/Service.asmx HTTP/1.1..Host: www.moviestarplanet.de..User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1..Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8..Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3..Accept-Encoding: gzip, deflate..Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7..Connection: keep-alive..Cookie: __utma=63765683.145396778.1324722135.1325378934.1325596241.40; __utmz=63765683.1324722135.1.1.utmcsr=moviestarplanet.se|utmccn=(referral)|utmcmd=referral|utmcct=/; __utmb=63765683.6.10.1325596241; __utmc=63765683..Referer: http://cdn.moviestarplanet.de/Main_20111220_93824.swf..Content-type: text/xml; charset=utf-8..SOAPAction: \&quot;http://moviestarplanet.com/Login2\&quot;..Content-length: 411....&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=\&quot;http://schemas.xmlsoap.org/soap/envelope/\&quot; xmlns:s=\&quot;http://www.w3.org/2001/XMLSchema\&quot; xmlns:xsi=\&quot;http://www.w3.org/2001/XMLSchema-instance\&quot;&gt;.  &lt;SOAP-ENV:Body&gt;.    &lt;tns:Login2 xmlns:tns=\&quot;http://moviestarplanet.com/\&quot;&gt;.      &lt;tns:username&gt; &lt;/tns:username&gt;.      &lt;tns:password&gt;&lt;/tns:password&gt;.    &lt;/tns:Login2&gt;.  &lt;/SOAP-ENV:Body&gt;.&lt;/SOAP-ENV:Envelope&gt;a&quot;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2163287</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163287</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:34:03 GMT</pubDate></item><item><title><![CDATA[Reply to Variable &#x2F; String wird auskommentiert on Tue, 03 Jan 2012 14:34:33 GMT]]></title><description><![CDATA[<p>So ein Unsinn. In einem String wirds nichts auskommentiert. Wenn es dir so erscheint, dann ist irgendwas anderes falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2163288</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2163288</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Tue, 03 Jan 2012 14:34:33 GMT</pubDate></item></channel></rss>