<?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[string SoftCodierung]]></title><description><![CDATA[<p>Hallo und guten Abend</p>
<p>Ist es in C++ irgendwie möglich einen Text auch in &quot;SoftCodierung&quot; anzugeben?</p>
<p>In Delphi ist zum Beispiel das möglich</p>
<pre><code>Hard-Codierung
result:='wachs';

Soft-Codierung
result:=String(#119+#97+#99+#104+#115);
</code></pre>
<p>Danke</p>
<p>Gruss wachs</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/331009/string-softcodierung</link><generator>RSS for Node</generator><lastBuildDate>Thu, 02 Jul 2026 17:51:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/331009.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Feb 2015 21:15:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to string SoftCodierung on Thu, 05 Feb 2015 21:32:32 GMT]]></title><description><![CDATA[<p>Hallo und guten Abend</p>
<p>Ist es in C++ irgendwie möglich einen Text auch in &quot;SoftCodierung&quot; anzugeben?</p>
<p>In Delphi ist zum Beispiel das möglich</p>
<pre><code>Hard-Codierung
result:='wachs';

Soft-Codierung
result:=String(#119+#97+#99+#104+#115);
</code></pre>
<p>Danke</p>
<p>Gruss wachs</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2441450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2441450</guid><dc:creator><![CDATA[wachs]]></dc:creator><pubDate>Thu, 05 Feb 2015 21:32:32 GMT</pubDate></item><item><title><![CDATA[Reply to string SoftCodierung on Thu, 05 Feb 2015 22:16:24 GMT]]></title><description><![CDATA[<p>Ja. Natürlich nicht exakt diese Schreibweise, aber es gibt sogar eine ganze Reihe verschiedener Möglichkeiten:<br />
<code>'\xhhh'</code> : Zeichen der hexadezimalen Nummer hhh im zugrunde liegenden Zeichensatz (hhh darf 1 oder mehr Stellen haben)<br />
<code>'\ooo'</code> : Zeichen der oktalen Nummer ooo im zugrunde liegenden Zeichensatz (ooo darf 1-3 Stellen haben)<br />
<code>'\UNNNNNNNN'</code> : Zeichen mit der hexadezimalen Nummer NNNNNNNN im ISO/IEC 10646<br />
Zeichensatz (NNNNNNNN muss exakt 8 Stellen haben)<br />
<code>'\uNNNN'</code> : Zeichen mit der hexadezimalen Nummer 0000NNNN im ISO/IEC 10646<br />
Zeichensatz (NNNN muss exakt 4 Stellen haben)</p>
<p>Und wahrscheinlich noch mehr, die ich vergessen habe.</p>
<p>Diese Zeichen dürfen natürlich auch allesamt innerhalb eines Zeichenkettenliterals benutzt werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2441453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2441453</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 05 Feb 2015 22:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to string SoftCodierung on Thu, 05 Feb 2015 21:40:56 GMT]]></title><description><![CDATA[<p>Danke SeppJ</p>
<p>Das ist genau das was ich gesucht habe.</p>
<p>Gruss wachs</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2441454</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2441454</guid><dc:creator><![CDATA[wachs]]></dc:creator><pubDate>Thu, 05 Feb 2015 21:40:56 GMT</pubDate></item><item><title><![CDATA[Reply to string SoftCodierung on Thu, 05 Feb 2015 22:11:33 GMT]]></title><description><![CDATA[<p>SeppJ schrieb:</p>
<blockquote>
<p><code>'\xhhh'</code> : Zeichen der hexadezimalen Nummer hhh im zugrunde liegenden Zeichensatz (hhh darf 1-3 Stellen haben)</p>
</blockquote>
<p>[lex.ccon]/4 schrieb:</p>
<blockquote>
<p>The escape \xhhh consists of the backslash followed by x followed by one or more hexadecimal digits that are taken to specify the value of the desired character. <strong>There is no limit to the number of digits in a hexadecimal sequence.</strong></p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2441460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2441460</guid><dc:creator><![CDATA[divergentsequence]]></dc:creator><pubDate>Thu, 05 Feb 2015 22:11:33 GMT</pubDate></item><item><title><![CDATA[Reply to string SoftCodierung on Thu, 05 Feb 2015 22:16:07 GMT]]></title><description><![CDATA[<p>divergentsequence schrieb:</p>
<blockquote>
<p>SeppJ schrieb:</p>
<blockquote>
<p><code>'\xhhh'</code> : Zeichen der hexadezimalen Nummer hhh im zugrunde liegenden Zeichensatz (hhh darf 1-3 Stellen haben)</p>
</blockquote>
<p>[lex.ccon]/4 schrieb:</p>
<blockquote>
<p>The escape \xhhh consists of the backslash followed by x followed by one or more hexadecimal digits that are taken to specify the value of the desired character. <strong>There is no limit to the number of digits in a hexadecimal sequence.</strong></p>
</blockquote>
</blockquote>
<p>Stimmt, korrigiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2441461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2441461</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 05 Feb 2015 22:16:07 GMT</pubDate></item></channel></rss>