<?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[Frage zu einer Deklaration]]></title><description><![CDATA[<p>Warum steht dort _= ? wofür ist der unterstrich und das gleichheitszeichen?</p>
<p>int _=q;</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/253266/frage-zu-einer-deklaration</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 23:18:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/253266.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2009 17:22:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:22:13 GMT]]></title><description><![CDATA[<p>Warum steht dort _= ? wofür ist der unterstrich und das gleichheitszeichen?</p>
<p>int _=q;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800840</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800840</guid><dc:creator><![CDATA[declare]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:22:13 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:23:50 GMT]]></title><description><![CDATA[<p>declare schrieb:</p>
<blockquote>
<p>Warum steht dort _= ? wofür ist der unterstrich und das gleichheitszeichen?</p>
<p>int _=q;</p>
</blockquote>
<p>Sowas hab ich noch nie gesehen. Ist das Eventuell ein Marko-Hack?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800843</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800843</guid><dc:creator><![CDATA[asdasd]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:23:50 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:24:27 GMT]]></title><description><![CDATA[<p>Da hat sich jemand n Scherz erlaubt und seine Variable _ genannt. Ist das selber wie</p>
<pre><code class="language-cpp">int a = q;
</code></pre>
<p>- nur dass die Variable eben nicht a heißt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800844</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800844</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:26:25 GMT]]></title><description><![CDATA[<p>pumuckl schrieb:</p>
<blockquote>
<p>Da hat sich jemand n Scherz erlaubt und seine Variable _ genannt. Ist das selber wie</p>
<pre><code class="language-cpp">int a = q;
</code></pre>
<p>- nur dass die Variable eben nicht a heißt.</p>
</blockquote>
<p>An diese Möglichkeit hab ich gar nicht gedacht... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800846</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800846</guid><dc:creator><![CDATA[asdasdasd]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:26:25 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:33:21 GMT]]></title><description><![CDATA[<p>Wusste ich noch gar nicht das man auch einfach einen Unterstrich als Variable nehmen kann. ^^</p>
<p>Gibts es noch andere Zeichen die man als Variable bentuzen kann ausser normale Buchstaben ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800854</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800854</guid><dc:creator><![CDATA[declare]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:34:49 GMT]]></title><description><![CDATA[<p>declare schrieb:</p>
<blockquote>
<p>Wusste ich noch gar nicht das man auch einfach einen Unterstrich als Variable nehmen kann. ^^</p>
<p>Gibts es noch andere Zeichen die man als Variable bentuzen kann ausser normale Buchstaben ?</p>
</blockquote>
<p>Zahlen, allerdings nicht am Anfang</p>
<p>11bla wäre kein gültiger Name, aebr bla111 schon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800856</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800856</guid><dc:creator><![CDATA[asdsdasd]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:36:38 GMT]]></title><description><![CDATA[<p>Bezeichner dürfen sich aus unterstrichen, buchstaben a-z, A-Z und Ziffern zusammensetzen, wobei vorn keine Ziffer stehen darf. Ferner sind Bezeichner mit doppelten Unterstrichen für den Compiler bzw. dessen Standard-Bilbiothek reserviert.<br />
Sollte aber auch in jedem Tutorial/Anfängerbuch stehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800857</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:40:24 GMT]]></title><description><![CDATA[<blockquote>
<p>&gt; Ferner sind Bezeichner mit doppelten Unterstrichen [...]</p>
</blockquote>
<p>[krümelkacken]Naja, eher Bezeichner, die mit mindestens einem Unterstrich beginnen.[/krümelkacken]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800861</guid><dc:creator><![CDATA[Ad aCTa]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:46:14 GMT]]></title><description><![CDATA[<p>Ad aCTa schrieb:</p>
<blockquote>
<blockquote>
<p>&gt; Ferner sind Bezeichner mit doppelten Unterstrichen [...]</p>
</blockquote>
<p>[krümelkacken]Naja, eher Bezeichner, die mit mindestens einem Unterstrich beginnen.[/krümelkacken]</p>
</blockquote>
<p>Wenn schoon krümelkacken dann bitte richtig:</p>
<p>Der Standard schrieb:</p>
<blockquote>
<p>- Each name that contains a double underscore (_ _) or begins with an underscore followed by an uppercase<br />
letter (2.11) is reserved to the implementation for any use.<br />
— Each name that begins with an underscore is reserved to the implementation for use as a name in the<br />
global namespace.</p>
</blockquote>
<p>zu deutsch: jeder name mit doppelten Unterstrichen ist reserviert (wie gesagt)<br />
zusätzlich ist <em>im globalen namespace</em> jeder Name mit beginnendem Unterstrich reserviert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800867</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800867</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:46:45 GMT]]></title><description><![CDATA[<p>Ad aCTa schrieb:</p>
<blockquote>
<blockquote>
<p>&gt; Ferner sind Bezeichner mit doppelten Unterstrichen [...]</p>
</blockquote>
<p>[krümelkacken]Naja, eher Bezeichner, die mit mindestens einem Unterstrich beginnen.[/krümelkacken]</p>
</blockquote>
<p>wenn schon, dann aber auch richtig krümelkacken - dummerweise ist diese Aussage<br />
&quot;Ferner sind Bezeichner mit doppelten Unterstrichen&quot; vollkommen korrekt.<br />
zwar nicht ganz vollständig (_X = makros, _x = globale def)</p>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1800869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800869</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:46:45 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu einer Deklaration on Fri, 30 Oct 2009 17:51:17 GMT]]></title><description><![CDATA[<p>pumuckl schrieb:</p>
<blockquote>
<p>Ad aCTa schrieb:</p>
<blockquote>
<blockquote>
<p>&gt; Ferner sind Bezeichner mit doppelten Unterstrichen [...]</p>
</blockquote>
<p>[krümelkacken]Naja, eher Bezeichner, die mit mindestens einem Unterstrich beginnen.[/krümelkacken]</p>
</blockquote>
<p>Wenn schoon krümelkacken dann bitte richtig:</p>
<p>Der Standard schrieb:</p>
<blockquote>
<p>- Each name that contains a double underscore (_ _) or begins with an underscore <strong>followed by an uppercase<br />
letter</strong> (2.11) is reserved to the implementation for any use.<br />
— Each name that begins with an underscore is reserved to the implementation for use as a name in the<br />
global namespace.</p>
</blockquote>
<p>zu deutsch: jeder name mit doppelten Unterstrichen ist reserviert (wie gesagt)<br />
zusätzlich ist <em>im globalen namespace</em> jeder Name mit beginnendem Unterstrich reserviert.</p>
</blockquote>
<p>Jetzt reichts aber <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/1800871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1800871</guid><dc:creator><![CDATA[asdasdasd]]></dc:creator><pubDate>Fri, 30 Oct 2009 17:51:17 GMT</pubDate></item></channel></rss>