<?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[hex in string umwandeln]]></title><description><![CDATA[<p>Hallo.</p>
<p>Ich habe eine kleine Ausgabe:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char)0x61 &lt;&lt; endl;
</code></pre>
<p>Diese gibt &quot;a&quot; aus, was es auch soll.<br />
Wenn ich nun aber dies mache:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char)0x6162 &lt;&lt; endl;
</code></pre>
<p>Wird nur &quot;b&quot; statt &quot;ab&quot; ausgegeben.<br />
Und das hier gibt eine Fehlermeldung:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char*)0x6162 &lt;&lt; endl;
</code></pre>
<p>Was muss ich machen damit &quot;ab&quot; ausgegeben wird?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/228297/hex-in-string-umwandeln</link><generator>RSS for Node</generator><lastBuildDate>Tue, 29 Sep 2026 15:15:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/228297.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Nov 2008 15:25:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 15:25:25 GMT]]></title><description><![CDATA[<p>Hallo.</p>
<p>Ich habe eine kleine Ausgabe:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char)0x61 &lt;&lt; endl;
</code></pre>
<p>Diese gibt &quot;a&quot; aus, was es auch soll.<br />
Wenn ich nun aber dies mache:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char)0x6162 &lt;&lt; endl;
</code></pre>
<p>Wird nur &quot;b&quot; statt &quot;ab&quot; ausgegeben.<br />
Und das hier gibt eine Fehlermeldung:</p>
<pre><code class="language-cpp">cout &lt;&lt; (char*)0x6162 &lt;&lt; endl;
</code></pre>
<p>Was muss ich machen damit &quot;ab&quot; ausgegeben wird?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621215</guid><dc:creator><![CDATA[hexzustring]]></dc:creator><pubDate>Wed, 26 Nov 2008 15:25:25 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 15:28:47 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">cout &lt;&lt; (char)0x61 &lt;&lt; (char)0x62 &lt;&lt; endl;
</code></pre>
<p>EDIT:</p>
<p>oder:</p>
<pre><code class="language-cpp">cout &lt;&lt; &quot;ab&quot; &lt;&lt; endl;
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621219</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621219</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Wed, 26 Nov 2008 15:28:47 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 15:35:22 GMT]]></title><description><![CDATA[<p>_matze schrieb:</p>
<blockquote>
<pre><code class="language-cpp">cout &lt;&lt; (char)0x61 &lt;&lt; (char)0x62 &lt;&lt; endl;
</code></pre>
</blockquote>
<p>Würde ziemlich unübersichtlich werden wenn ich längere Strings benutze.</p>
<p>_matze schrieb:</p>
<blockquote>
<pre><code class="language-cpp">cout &lt;&lt; &quot;ab&quot; &lt;&lt; endl;
</code></pre>
</blockquote>
<p>So will ich es ja gerade nicht.</p>
<p>Ich will mit 0xXXXXXXXXXX arbeiten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621221</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621221</guid><dc:creator><![CDATA[hexzustring]]></dc:creator><pubDate>Wed, 26 Nov 2008 15:35:22 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 15:38:02 GMT]]></title><description><![CDATA[<p>hexzustring schrieb:</p>
<blockquote>
<p>Ich will mit 0xXXXXXXXXXX arbeiten.</p>
</blockquote>
<p>Wieso? Du musst verstehen, dass 0x6162 ein ganz anderer Wert ist und nix mit den ASCII-Codes von 'a' und 'b' zu tun hat...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621223</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621223</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Wed, 26 Nov 2008 15:38:02 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 16:32:32 GMT]]></title><description><![CDATA[<p>Und um dir die Übersicht noch mehr zu versauen, also auch abraten es so zu machen:<br />
In C++ hat man eigene Casts. Deine Casts sind C-Cast und von ihnen wird abgeraden. In C++ würde dies so aussehen:</p>
<pre><code class="language-cpp">std::cout &lt;&lt; static_cast&lt;char&gt;(0x61)
          &lt;&lt; static_cast&lt;char&gt;(0x62)
          &lt;&lt; std::endl;
</code></pre>
<p>Aber ich denke die Frage ist durchaus berechtigt -&gt; Wofür???</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621250</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 26 Nov 2008 16:32:32 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 16:49:39 GMT]]></title><description><![CDATA[<p>Weiß nicht wofür Du das brauchst aber kannst es ja so probieren.</p>
<pre><code class="language-cpp">char test1[] = {0x62, 0x63, 0};
   std::cout &lt;&lt; test1 &lt;&lt; std::endl;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1621264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621264</guid><dc:creator><![CDATA[templäd]]></dc:creator><pubDate>Wed, 26 Nov 2008 16:49:39 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Wed, 26 Nov 2008 21:15:18 GMT]]></title><description><![CDATA[<p>ich habe mal gehört, dass sich so erzeugte strings (0x8C, ...) nicht so einfach im fertigen Programmcode finden lassen - was den Vorteil hat, dass der Anfänger-Cracker schon daran verzweifeln kann, die Stelle im Programm zu finden, an der der Fehler XYZ ausgegeben wird... Und vor allem, dass Passwörter (zu Datenbanken o.ä.) nicht gefunden werden können, wenn man das programm mit nem Texteditor angeguckt... korrigiert mich, wenn ich mich täusche</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621454</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621454</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 26 Nov 2008 21:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Thu, 27 Nov 2008 06:35:22 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>ich habe mal gehört, dass sich so erzeugte strings (0x8C, ...) nicht so einfach im fertigen Programmcode finden lassen - was den Vorteil hat, dass der Anfänger-Cracker schon daran verzweifeln kann, die Stelle im Programm zu finden, an der der Fehler XYZ ausgegeben wird... Und vor allem, dass Passwörter (zu Datenbanken o.ä.) nicht gefunden werden können, wenn man das programm mit nem Texteditor angeguckt... korrigiert mich, wenn ich mich täusche</p>
<p>bb</p>
</blockquote>
<p>Also wenn Passwörter so hardgecodet werden hast du ein anderes Problem.. Vor allem wird das dann nicht mit einem Texteditor angeschaut, wohl eher mit einem Hex Editor..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621528</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 27 Nov 2008 06:35:22 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Thu, 27 Nov 2008 07:24:15 GMT]]></title><description><![CDATA[<p>unskilled schrieb:</p>
<blockquote>
<p>ich habe mal gehört, dass sich so erzeugte strings (0x8C, ...) nicht so einfach im fertigen Programmcode finden lassen - was den Vorteil hat, dass der Anfänger-Cracker schon daran verzweifeln kann, die Stelle im Programm zu finden, an der der Fehler XYZ ausgegeben wird... Und vor allem, dass Passwörter (zu Datenbanken o.ä.) nicht gefunden werden können, wenn man das programm mit nem Texteditor angeguckt... korrigiert mich, wenn ich mich täusche</p>
<p>bb</p>
</blockquote>
<p>Im fertig kompilierten Programm macht es keinen Unterschied ob du</p>
<pre><code class="language-cpp">char s[] = &quot;Ein Passwort&quot;;
cout &lt;&lt; s;
</code></pre>
<p>oder</p>
<pre><code class="language-cpp">char s[] = {0x62, 0x..., ... }
cout &lt;&lt; s;
</code></pre>
<p>benutzt. Die ASCII Zeichen werden in beiden Fällen auf die selbe Art und Weise im Programm abgespeichert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621549</guid><dc:creator><![CDATA[ip]]></dc:creator><pubDate>Thu, 27 Nov 2008 07:24:15 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Thu, 27 Nov 2008 14:05:14 GMT]]></title><description><![CDATA[<p>templäd schrieb:</p>
<blockquote>
<pre><code class="language-cpp">char test1[] = {0x62, 0x63, 0};
   std::cout &lt;&lt; test1 &lt;&lt; std::endl;
</code></pre>
</blockquote>
<p>Das klappt wunderbar, vielen Dank!</p>
<p>Dravere schrieb:</p>
<blockquote>
<p>Aber ich denke die Frage ist durchaus berechtigt -&gt; Wofür???</p>
</blockquote>
<p>Unskilled hat es Wunderbar erklärt.</p>
<p>ip schrieb:</p>
<blockquote>
<p>Die ASCII Zeichen werden in beiden Fällen auf die selbe Art und Weise im Programm abgespeichert.</p>
</blockquote>
<p>Also, wenn ich mein Prog mit einem HEX-Editor öffne, wird die Methode von templäd NICHT angezeit. Zumindest kann ich den String nicht finden.</p>
<p>Gibt es denn eine elegantere Lösung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621824</guid><dc:creator><![CDATA[hexzustring]]></dc:creator><pubDate>Thu, 27 Nov 2008 14:05:14 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Thu, 27 Nov 2008 15:38:59 GMT]]></title><description><![CDATA[<p>ab und an weiß ich halt doch mal was ^^</p>
<p>naja: es gibt viel bessere Lösungen ^^<br />
z.Bsp. das Passwort in ne andere Datei legen - natürlich verschlüsselt...</p>
<p>Allerdings hast du so auch wieder ein Problem:<br />
Wenn der Client es entschlüsseln kann, dann kann es auch der Cracker, der sich deinen Client anguckt... Also bleibt dir wohl nur eine Verbindung zu einem Server aufzubauen, der die Querys/... selbst macht - und du somit das Pwd nicht mehr im Client brauchst - eine andere Lsg. gibts imho nicht...</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621919</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Thu, 27 Nov 2008 15:38:59 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Thu, 27 Nov 2008 15:55:44 GMT]]></title><description><![CDATA[<p>ip schrieb:</p>
<blockquote>
<p>Im fertig kompilierten Programm macht es keinen Unterschied ob du</p>
<pre><code class="language-cpp">char s[] = &quot;Ein Passwort&quot;;
cout &lt;&lt; s;
</code></pre>
<p>oder</p>
<pre><code class="language-cpp">char s[] = {0x62, 0x..., ... }
cout &lt;&lt; s;
</code></pre>
<p>benutzt. Die ASCII Zeichen werden in beiden Fällen auf die selbe Art und Weise im Programm abgespeichert.</p>
</blockquote>
<p>Hauptsache, ich stell iwelche behauptungen auf, aber hab 0 Ahnung...</p>
<p>Quelltext:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

int main()
{
	char A[] = &quot;Mein leicht zu findender String&quot;;
	char B[] = {'M', 'e', 'i', 'n', ' ', 'a', 'n', 'd', 'e', 'r', 'e', 'r', ' ', 'S', 't', 'r', 'i', 'n', 'g', '\0'};

	std::cout &lt;&lt; A &lt;&lt; &quot;\r\n&quot; &lt;&lt; B;
}
</code></pre>
<p>der Programm-Code in notepad nach dem Compilieren mit VS,<br />
Optionen:</p>
<pre><code>/O2 /Oi /GL /D &quot;_MBCS&quot; /FD /EHsc /MD /Gy /Fo&quot;Release\\&quot; /Fd&quot;Release\vc90.pdb&quot; /W3 /nologo /c /Zi /TP /errorReport:prompt
</code></pre>
<pre><code>MZ       ÿÿ  ¸       @                                   ð   º ´	Í!¸LÍ!This program cannot be run in DOS mode.

$       š¼•ÞÝûÃÞÝûÃÞÝûÃÀnÃßÝûÃÀxÃÊÝûÃÀÃÜÝûÃÀhÃÛÝûÃù€ÃÜÝûÃÞÝúÃâÝûÃÀqÃßÝûÃÀjÃßÝûÃRichÞÝûÃ                        PE  L pÂ.I        à 	           m           @                      `     õÚ   @                           #  P    @  °                   P  ”  ð                              H!  @               Ð                           .text   -                          `.rdata  &lt;	       
                 @  @.data   Œ   0                    @  À.rsrc   °   @                    @  @.reloc  ü   P      &quot;              @  B                                                                                                                                                                                                                                                                                                                                                U‹ìƒäøƒì8¡ 0@ 3Ä‰D$4VW¹   ¾$!@ |$ó¥±n°rˆD$ˆD$ˆD$D$PQhD!@ ²eQˆL$ˆL$ˆL$)L$,ˆT$ˆT$ ˆT$&quot;‹T @ QRÆD$ MÆD$&quot;iÆD$$ ÆD$%aÆD$'dÆD$, ÆD$-SÆD$.tÆD$0iÆD$2gÆD$3 è\  ƒÄPèS  ƒÄPèJ  ‹L$DƒÄ_^3Ì3Àèô  ‹å]ÃÌÌÌÌjÿhØ@ d¡    PW¡ 0@ 3ÄPD$d£    ‹|$‰7‹‹H‹L1(…ÉtÿH @ ÇD$    ‹‹BÆƒx u‹@,…Àt‹Èÿ&lt; @ ‹‹Qƒ|2 ”ÀˆG‹Ç‹L$d‰
    Y_ƒÄÂ ÌÌÌÌÌÌÌÌÌÌÌÌÌjÿhØ@ d¡    PV¡ 0@ 3ÄPD$d£    ‹t$ÇD$    ÿX @ „Àu‹ÿL @ ÇD$ÿÿÿÿ‹‹‹Q‹D(…Àt‹ÈÿD @ ‹L$d‰
    Y^ƒÄÂ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ‹ ‹‹Q‹D(…Àt‹Èÿ%D @ ÃÌÌÌÌÌÌÌÌU‹ìjÿh@ d¡    PƒìSVW¡ 0@ 3ÅPEôd£    ‰eð‹u‹E3Û‰]ìP¤$    Š@„Éuù+Â‹ø‹‹H‹D1;Ã~;Ç~+Ç‹ØUàRègþÿÿÇEü    €}ä u	ÇEì   ëyÆEü‹‹H‹D1%À  ƒø@t4…Û~*‹‹BŠL00Æ‹@(ˆMè‹UèR‹Èÿ@ @ ƒøÿ…–   ƒMìƒ}ì u‹‹H‹U‹L1(WRÿP @ ;Çt~ÇEì   ‹‹@Æ3É‰H‰Mü‹Mì‹j Q‹JÎÿ8 @ ÇEü   ÿX @ „Àu	‹MàÿL @ ÇEüÿÿÿÿ‹Eà‹‹Q‹L(…ÉtÿD @ ‹Æ‹Môd‰
    Y_^[‹å]ÃKé:ÿÿÿd$ …Û~…‹‹HŠT101‹@(ˆUè‹MèQ‹Èÿ@ @ ƒøÿu	ƒMìéYÿÿÿKëÍ‹E‹‹JjjÈÿ8 @ ÇEü    ¸´@ Ã‹ué&lt;ÿÿÿ;
 0@ uóÃé¬  h¶@ è¤  ¡h3@ Ç$40@ ÿ5d3@ £40@ h$0@ h(0@ h 0@ ÿ¼ @ ƒÄ£00@ …À}jèº  YÃjh &quot;@ è*  3Û‰]üd¡   ‹p‰]ä¿|3@ SVWÿ @ ;Ãt;Æu3öF‰uäëhè  ÿ  @ ëÚ3öF¡x3@ ;Æu
jè]  Yë;¡x3@ …Àu,‰5x3@ hè @ hÜ @ è²  YY…ÀtÇEüþÿÿÿ¸ÿ   éÝ   ‰5&lt;0@ ¡x3@ ;ÆuhØ @ hÐ @ èw  YYÇx3@    9]äuSWÿ0 @ 9ˆ3@ thˆ3@ èŽ  Y…Àt
SjSÿˆ3@ ¡$0@ ‹
¨ @ ‰ÿ5$0@ ÿ5(0@ ÿ5 0@ èÛúÿÿƒÄ£80@ 9,0@ u7Pÿ¬ @ ‹Eì‹‹	‰MàPQè  YYÃ‹eè‹Eà£80@ 3Û9,0@ uPÿ´ @ 9&lt;0@ uÿ¸ @ ÇEüþÿÿÿ¡80@ è  Ã¸MZ  f9  @ t3ÀëM¡&lt; @ €  @ 8PE  ué·Hù  tù  uÕƒ¸„   vÌ3É9ˆø   ëƒxtv¼3É9ˆè   •Á‹Áj£,0@ ÿd @ jÿÿ` @ YY£€3@ £„3@ ÿ @ ‹
p3@ ‰ÿ” @ ‹
l3@ ‰¡˜ @ ‹ £t3@ èW  è·  ƒ=0@  uhõ@ ÿÄ @ Yèr  ƒ=0@ ÿu	jÿÿœ @ Y3ÀÃè†  éŸýÿÿ‹ÿU‹ìì(  £H1@ ‰
D1@ ‰@1@ ‰&lt;1@ ‰581@ ‰=41@ fŒ`1@ fŒ
T1@ fŒ01@ fŒ,1@ fŒ%(1@ fŒ-$1@ œX1@ ‹E £L1@ ‹E£P1@ E£\1@ ‹…àüÿÿÇ˜0@   ¡P1@ £L0@ Ç@0@ 	 ÀÇD0@    ¡ 0@ ‰…Øüÿÿ¡0@ ‰…Üüÿÿÿ @ £0@ jèJ  Yj ÿ @ h!@ ÿ @ ƒ=0@  ujè&amp;  Yh	 Àÿ @ Pÿ @ ÉÃ‹ÿU‹ì‹E‹ 8csmàu*ƒxu$‹@= “t=!“t=&quot;“t= @™uèÛ  3À]Â h}@ ÿ @ 3ÀÃÌÿ%À @ jh@&quot;@ èl  ÿ5„3@ ‹5€ @ ÿÖY‰Eäƒøÿuÿuÿ| @ Yëgjèœ  Yƒeü ÿ5„3@ ÿÖ‰Eäÿ5€3@ ÿÖYY‰EàEàPEäPÿu‹5` @ ÿÖYPè_  ‰EÜÿuäÿÖ£„3@ ÿuàÿÖƒÄ£€3@ ÇEüþÿÿÿè	   ‹EÜè&quot;  Ãjè#  YÃ‹ÿU‹ìÿuèNÿÿÿ÷ØÀ÷ØYH]Ã‹ÿV¸&quot;@ ¾&quot;@ W‹ø;Æs‹…ÀtÿÐƒÇ;þrñ_^Ã‹ÿV¸&quot;@ ¾&quot;@ W‹ø;Æs‹…ÀtÿÐƒÇ;þrñ_^Ãÿ%° @ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌ‹ÿU‹ì‹M¸MZ  f9t3À]Ã‹A&lt;Á8PE  uï3Ò¹  f9H”Â‹Â]ÃÌÌÌÌÌÌÌÌÌÌÌ‹ÿU‹ì‹E‹H&lt;È·ASV·q3ÒWD…öv‹}‹H;ùr	‹XÙ;ûr
BƒÀ(;Örè3À_^[]ÃÌÌÌÌÌÌÌÌÌÌÌÌ‹ÿU‹ìjþh`&quot;@ h¥@ d¡    PƒìSVW¡ 0@ 1Eø3ÅPEðd£    ‰eèÇEü    h  @ è*ÿÿÿƒÄ…ÀtU‹E-  @ Ph  @ èPÿÿÿƒÄ…Àt;‹@$Áè÷ÐƒàÇEüþÿÿÿ‹Mðd‰
    Y_^[‹å]Ã‹Eì‹‹3Ò=  À”Â‹ÂÃ‹eèÇEüþÿÿÿ3À‹Mðd‰
    Y_^[‹å]ÃÌÿ%¤ @ ÿ%  @ ÌÌh¥@ dÿ5    ‹D$‰l$l$+àSVW¡ 0@ 1Eü3ÅP‰eèÿuø‹EüÇEüþÿÿÿ‰EøEðd£    Ã‹Mðd‰
    Y__^[‹å]QÃ‹ÿU‹ìÿuÿuÿuÿuh¼@ h 0@ èç   ƒÄ]Ã‹ÿVh   h   3öVèÙ   ƒÄ…Àt
VVVVVèÂ   ƒÄ^Ã3ÀÃ‹ÿU‹ìƒì¡ 0@ ƒeø ƒeü SW¿Næ@»»  ÿÿ;Çt
…Ãt	÷Ð£0@ ë`VEøPÿ, @ ‹uü3uøÿ( @ 3ðÿ$ @ 3ðÿ  @ 3ðEðPÿ @ ‹Eô3Eð3ð;÷u¾Oæ@»ë…óu‹ÆÁàð‰5 0@ ÷Ö‰50@ ^_[ÉÃÿ%h @ ÿ%l @ ÿ%p @ ÿ%t @ ÿ%x @ ÿ%„ @ ÿ%ˆ @ ÿ%Œ @ ÿ%È @ ÌÌÌÌÌÌÌÌÌÌÌÌ‹Eéöÿÿ‹T$Bü‹Jø3ÈèÓ÷ÿÿ¸„&quot;@ éËÿÿÿÌÌÌÌÌÌÌÌÌÌÌÌÌEàPèWõÿÿÃEàéÎõÿÿ‹T$B‹JÜ3Èè™÷ÿÿ¸ì&quot;@ é‘ÿÿÿ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (  (  2(  F(  Z(  v(  ”(  ¨(  Â(  Ò(  è(  þ(  ö'      &amp;  Ò%  ’%  P%  %  Ò$  Ž$  0$  l$      $'  6'  H'  ^'  ~'  ˆ'  –'  ž'  ¨'  º'  Ô'  æ'  '  '  ö&amp;  Ì&amp;  ¾&amp;  ²&amp;  ¦&amp;  ž&amp;  &amp;  ˆ&amp;  ~&amp;  n&amp;  `&amp;  â&amp;  &amp;)          Ë@         Œ@ ¿@             pÂ.I       c   !    @0@ ˜0@ bad allocation  Mein leicht zu findender String 
  H                                                            0@  &quot;@    RSDS&amp;­^@9”ÃA   c:\Users\Tommy\Documents\Visual Studio 2008\Projects\test\Release\test.pdb              ¥  Ø                        þÿÿÿ    Ðÿÿÿ    þÿÿÿ&lt;@ P@     þÿÿÿ    Ìÿÿÿ    þÿÿÿ    p@     þÿÿÿ    Øÿÿÿ    þÿÿÿ@ @ ÿÿÿÿÐ@ &quot;“   |&quot;@                        ÿÿÿÿ @                 ÿÿÿÿ
@ @           “@             È&quot;@ &quot;“   ¨&quot;@    Ø&quot;@                ˜#          T&amp;  8   À#          r'  `   `#          )                          (  (  2(  F(  Z(  v(  ”(  ¨(  Â(  Ò(  è(  þ(  ö'      &amp;  Ò%  ’%  P%  %  Ò$  Ž$  0$  l$      $'  6'  H'  ^'  ~'  ˆ'  –'  ž'  ¨'  º'  Ô'  æ'  '  '  ö&amp;  Ì&amp;  ¾&amp;  ²&amp;  ¦&amp;  ž&amp;  &amp;  ˆ&amp;  ~&amp;  n&amp;  `&amp;  â&amp;  &amp;)      ‚?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A  ä?uncaught_exception@std@@YA_NXZ v?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z  |?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ  W?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ  Ð?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ  s?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z !?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ D?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z  MSVCP90.dll _amsg_exit  Ÿ __getmainargs ,_cexit  |_exit f _XcptFilter Ìexit    __initenv _initterm _initterm_e &lt;_configthreadlocale ã __setusermatherr  _adjust_fdiv  Ë __p__commode  Ï __p__fmode  j_encode_pointer à __set_app_type  K_crt_debugger_hook  C ?terminate@@YAXXZ MSVCR90.dll æ_unlock – __dllonexit v_lock _onexit `_decode_pointer s_except_handler4_common _invoke_watson  ?_controlfp_s  ½InterlockedExchange !Sleep ºInterlockedCompareExchange  -TerminateProcess  ©GetCurrentProcess &gt;UnhandledExceptionFilter  SetUnhandledExceptionFilter ÑIsDebuggerPresent TQueryPerformanceCounter fGetTickCount  ­GetCurrentThreadId  ªGetCurrentProcessId OGetSystemTimeAsFileTime KERNEL32.dll  s __CxxFrameHandler3                                                                                                                                                                                                      Næ@»±¿Dÿÿÿÿÿÿÿÿþÿÿÿ   !@                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        €                 0  €              	  H   X@  V  ä      &lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;
  &lt;trustInfo xmlns=&quot;urn:schemas-microsoft-com:asm.v3&quot;&gt;
    &lt;security&gt;
      &lt;requestedPrivileges&gt;
        &lt;requestedExecutionLevel level=&quot;asInvoker&quot; uiAccess=&quot;false&quot;&gt;&lt;/requestedExecutionLevel&gt;
      &lt;/requestedPrivileges&gt;
    &lt;/security&gt;
  &lt;/trustInfo&gt;
  &lt;dependency&gt;
    &lt;dependentAssembly&gt;
      &lt;assemblyIdentity type=&quot;win32&quot; name=&quot;Microsoft.VC90.CRT&quot; version=&quot;9.0.21022.8&quot; processorArchitecture=&quot;x86&quot; publicKeyToken=&quot;1fc8b3b9a1e18e3b&quot;&gt;&lt;/assemblyIdentity&gt;
    &lt;/dependentAssembly&gt;
  &lt;/dependency&gt;
&lt;/assembly&gt;PAPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDING   X  
00=0b0Ó0à01*1c1p11›1º1ó122³2Ú233!3&gt;3~3£3¯3¾3Ì3Ö3Ý3ã3è3í3ò3÷3ý34444=4X4b4u44„4‰4«4°4¹4¾4Ë4Ü4â4é4ý455555)5/585W5_5h5n5v5‚5”5Ÿ5¥5î5ô5ü566666&quot;6)606@6H6N6Z6e6ƒ6‰66•6›6¡6¨6¯6¶6½6Ä6Ë6Ò6Ú6â6ê6ö6ÿ67
777(74797I7N7T7Z7p7w7À7Æ7Ð7×7â7è7ü78848J8W8”8™8º8¿8Þ8ˆ99Ÿ9½9Ñ9×9@:F:M:j:·:¼:;$;1;=;E;M;Y;};…;;–;œ;¢;¨;®;´;º;À;ê;$&lt;      0   Ô0à0ä011„1ˆ14282X2t2x2€2Œ2¬2Ä2Ô2è2ô2ü2 0     0
</code></pre>
<p>Siehe da - in Zeile 21 steht der String genau so drin... Hab gerad keinen Hex-Editor da, sonst hätte ich auch mal geguckt, wie schwer es denn nun wirklich ist, den anders erzeugten String zu suchen - aber wie schon oben beschrieben - es ist alles andere als unmöglich ^^</p>
<p>bb</p>
<p>edit: hatte nen '\0' vergessen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1621929</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1621929</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Thu, 27 Nov 2008 15:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Fri, 28 Nov 2008 06:29:56 GMT]]></title><description><![CDATA[<p>Das hat gar nichts mit dem zu tun, was ip gesagt hat.</p>
<p>Nur weil Notepad dort &quot;zufällig&quot; das richtige ausgibt, heisst das nicht, dass es anderst gespeichert wird.<br />
Binär wird beides genau gleich behandelt. Und das wollte er damit sagen. Und wer aus dem Grund, dass man irgendwas in einem Texteditor finden kann meint seine strings in Hex zu schreiben, der hat definiv einen an der Waffel..<br />
Entweder man verschlüsselt das gerade anständig, oder man lässt es bleiben. Jeden, den es interessieren könnte, was in deinem Programm abläuft hat einen Hexeditor installiert und wird den auch eher öffen, als Notepad..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1622248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1622248</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Fri, 28 Nov 2008 06:29:56 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Fri, 28 Nov 2008 06:45:33 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>Binär wird beides genau gleich behandelt. Und das wollte er damit sagen.</p>
</blockquote>
<p>Nicht zwangsläufig. Ich habe schon Compiler erlebt, die bei A einen String aus dem Datenbereich auf den Stack kopieren (dann sieht man den String im Datenbereich natürlich als Bytefolge), bei B aber für jedes einzelne Byte eine Move-Anweisung generieren.</p>
<blockquote>
<p>Und wer aus dem Grund, dass man irgendwas in einem Texteditor finden kann meint seine strings in Hex zu schreiben, der hat definiv einen an der Waffel..</p>
</blockquote>
<p>Diese Ansicht teile ich dennoch uneingeschränkt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1622253</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1622253</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Fri, 28 Nov 2008 06:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Fri, 28 Nov 2008 07:27:42 GMT]]></title><description><![CDATA[<p>LordJaxom schrieb:</p>
<blockquote>
<p>drakon schrieb:</p>
<blockquote>
<p>Binär wird beides genau gleich behandelt. Und das wollte er damit sagen.</p>
</blockquote>
<p>Nicht zwangsläufig. Ich habe schon Compiler erlebt, die bei A einen String aus dem Datenbereich auf den Stack kopieren (dann sieht man den String im Datenbereich natürlich als Bytefolge), bei B aber für jedes einzelne Byte eine Move-Anweisung generieren.</p>
</blockquote>
<p>Hmm. Interessant. Aber ja, ich habe sowieso vergessen zu sagen, dass es nicht das geringste mit C++ zu tun hat. Das ganze ist, wie du richtig sagst Implementierungsspezifisch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1622264</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1622264</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Fri, 28 Nov 2008 07:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to hex in string umwandeln on Fri, 28 Nov 2008 09:13:40 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>LordJaxom schrieb:</p>
<blockquote>
<p>drakon schrieb:</p>
<blockquote>
<p>Binär wird beides genau gleich behandelt. Und das wollte er damit sagen.</p>
</blockquote>
<p>Nicht zwangsläufig. Ich habe schon Compiler erlebt, die bei A einen String aus dem Datenbereich auf den Stack kopieren (dann sieht man den String im Datenbereich natürlich als Bytefolge), bei B aber für jedes einzelne Byte eine Move-Anweisung generieren.</p>
</blockquote>
<p>Hmm. Interessant. Aber ja, ich habe sowieso vergessen zu sagen, dass es nicht das geringste mit C++ zu tun hat. Das ganze ist, wie du richtig sagst Implementierungsspezifisch.</p>
</blockquote>
<p>Das habe ich auch niemals behauptet - ansonsten trifft das, was LordJaxom sagt für die Mehrheit der Compiler zu (ich hab zumindest noch keinen gesehen, der es anders macht - aber das muss ja nichts heißen ^^)...</p>
<p>bb...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1622308</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1622308</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Fri, 28 Nov 2008 09:13:40 GMT</pubDate></item></channel></rss>