<?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[Eingabe mit sternchen versehen]]></title><description><![CDATA[<p>Guten Tag,<br />
Kann mir vll jemand erklären wie man eine eingabe mit sternchen versehen kann.<br />
Programmierung ist c++ console.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/284176/eingabe-mit-sternchen-versehen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 05:30:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/284176.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Mar 2011 12:26:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 12:26:40 GMT]]></title><description><![CDATA[<p>Guten Tag,<br />
Kann mir vll jemand erklären wie man eine eingabe mit sternchen versehen kann.<br />
Programmierung ist c++ console.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2040794</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040794</guid><dc:creator><![CDATA[Free_styler]]></dc:creator><pubDate>Sun, 27 Mar 2011 12:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 13:02:54 GMT]]></title><description><![CDATA[<p>Versehe die Frage nicht, darum rate ich:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;

int main()
{
    std::cout &lt;&lt; &quot;*****: &quot;;

    std::string eingabe;
    std::cin &gt;&gt; eingabe;

    std::cout &lt;&lt; eingabe;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2040818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040818</guid><dc:creator><![CDATA[HighLigerBiMBam]]></dc:creator><pubDate>Sun, 27 Mar 2011 13:02:54 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 13:06:46 GMT]]></title><description><![CDATA[<p>Ich glaube, er meint ein Passwort-Feld. Das kann man einfach mit einer Schleife und <code>std::cin.get</code> realisieren.</p>
<p>MfG, EOutOfResources</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2040824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040824</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 27 Mar 2011 13:06:46 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 13:08:21 GMT]]></title><description><![CDATA[<p>EOutOfResources schrieb:</p>
<blockquote>
<p>Ich glaube, er meint ein Passwort-Feld. Das kann man einfach mit einer Schleife und <code>std::cin.get</code> realisieren.</p>
<p>MfG, EOutOfResources</p>
</blockquote>
<p>Wie denn das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2040825</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040825</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sun, 27 Mar 2011 13:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 13:23:40 GMT]]></title><description><![CDATA[<p>Sorry, ich meine natürlich <code>getch()</code> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2040836</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040836</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sun, 27 Mar 2011 13:23:40 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 16:12:58 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;conio.h&gt;

using namespace std;

int main()
{
   string str;
   char c;
   while ( (c = _getch()) != 23 )
   {
       cout &lt;&lt; &quot;*&quot;;
       str += c;
   }

   cout &lt;&lt; str &lt;&lt; endl;
   return 0x0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2040898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2040898</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Sun, 27 Mar 2011 16:12:58 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabe mit sternchen versehen on Sun, 27 Mar 2011 19:35:10 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;conio.h&gt;

using namespace std;

int main()
{
   string str;
   char c;
   while ( (c = _getch()) != 23 )
   {
       cout &lt;&lt; &quot;*&quot;;
       str += c;
   }

   cout &lt;&lt; str &lt;&lt; endl;
   return 0x0;
}
</code></pre>
</blockquote>
<p>Dazu gibt es '\n', damit man nicht 13 mit 23 verwechselt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2041000</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2041000</guid><dc:creator><![CDATA[wxSkip]]></dc:creator><pubDate>Sun, 27 Mar 2011 19:35:10 GMT</pubDate></item></channel></rss>