<?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[backspace!?]]></title><description><![CDATA[<p>ich hab mal ne frage: ich will (leicht zu umgehen, aber egal!) so nen einfaches passwortding schreiben (hab ich schon)! und mir is die idee gekommen, dass wenn der benutzer das passwort eingegebn hat und &quot;enter&quot; gedrückt hat sich die zeile wo das passwort eben noch stand sich löscht und durch eine andere ersetzt wird, ich dacht das funzt mit \b (backspace) aber irgendwie is das nich die ganze wahrheit, denn wenn ich das gemacht schreibt der die zeile die eigentlich statt des eben eingegebenen passwortes stehen soll einfach drunter!? kann mich einer im folgenden sc berichtigen?</p>
<p>#include &lt;iostream&gt;<br />
#include &lt;string&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
string x, y;<br />
x = y;<br />
y = &quot;derdoedelon&quot;;<br />
cout &lt;&lt; &quot;das passwort bitte: \n&quot;;<br />
cin &gt;&gt; x;<br />
cout &lt;&lt; &quot;\b\b\b\b\b\b\b\b\b\b\b&quot;;<br />
if (x == y)</p>
<p>/*Ich könnt auch (x == &quot;derdoedelon&quot; nehmen, hab ich aber nich!*/</p>
<p>{<br />
cout &lt;&lt; &quot;hhhhhhhhhhh&quot;;<br />
}<br />
cin.get();<br />
cin.get();<br />
return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/129683/backspace</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 09:36:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/129683.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Dec 2005 18:58:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to backspace!? on Thu, 15 Dec 2005 18:58:07 GMT]]></title><description><![CDATA[<p>ich hab mal ne frage: ich will (leicht zu umgehen, aber egal!) so nen einfaches passwortding schreiben (hab ich schon)! und mir is die idee gekommen, dass wenn der benutzer das passwort eingegebn hat und &quot;enter&quot; gedrückt hat sich die zeile wo das passwort eben noch stand sich löscht und durch eine andere ersetzt wird, ich dacht das funzt mit \b (backspace) aber irgendwie is das nich die ganze wahrheit, denn wenn ich das gemacht schreibt der die zeile die eigentlich statt des eben eingegebenen passwortes stehen soll einfach drunter!? kann mich einer im folgenden sc berichtigen?</p>
<p>#include &lt;iostream&gt;<br />
#include &lt;string&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
string x, y;<br />
x = y;<br />
y = &quot;derdoedelon&quot;;<br />
cout &lt;&lt; &quot;das passwort bitte: \n&quot;;<br />
cin &gt;&gt; x;<br />
cout &lt;&lt; &quot;\b\b\b\b\b\b\b\b\b\b\b&quot;;<br />
if (x == y)</p>
<p>/*Ich könnt auch (x == &quot;derdoedelon&quot; nehmen, hab ich aber nich!*/</p>
<p>{<br />
cout &lt;&lt; &quot;hhhhhhhhhhh&quot;;<br />
}<br />
cin.get();<br />
cin.get();<br />
return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/943026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/943026</guid><dc:creator><![CDATA[big juli]]></dc:creator><pubDate>Thu, 15 Dec 2005 18:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to backspace!? on Thu, 15 Dec 2005 19:01:03 GMT]]></title><description><![CDATA[<p>\r für carriage return ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/943029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/943029</guid><dc:creator><![CDATA[GPC]]></dc:creator><pubDate>Thu, 15 Dec 2005 19:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to backspace!? on Thu, 15 Dec 2005 19:16:22 GMT]]></title><description><![CDATA[<p>hm okay das is gut aber immer wenn ich &quot;derdoedelon&quot; eingegebn habe rutscht der automatisch eine zeile tiefer, und dort macht der dann den anderen rest, aber der soll ja eben meine eingabe verändern, oder könntest du/ihr mir noch etwas genauer beschreiben wo ich das \r hinmachen muss oder wie ich generell diesen zeilenwechsel stoppe oder wie ich in die vorige zeile gehe!?</p>
<p>gruß julian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/943050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/943050</guid><dc:creator><![CDATA[big juli]]></dc:creator><pubDate>Thu, 15 Dec 2005 19:16:22 GMT</pubDate></item><item><title><![CDATA[Reply to backspace!? on Thu, 15 Dec 2005 19:28:18 GMT]]></title><description><![CDATA[<p>Hm, ich schätze mal du willst die Eingabe des Passworts verschleiern, oder?<br />
Falls ja, haben wir heut schon mal anders gemacht: <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-129623.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-129623.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/943071</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/943071</guid><dc:creator><![CDATA[GPC]]></dc:creator><pubDate>Thu, 15 Dec 2005 19:28:18 GMT</pubDate></item></channel></rss>