<?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[cin.getline]]></title><description><![CDATA[<p>hallo</p>
<p>Was mache ich falsch, wenn cin.getline &quot;übersprungen&quot; wird und die Funktion auf keine Eingabe wartet??</p>
<p>Hier der Code:<br />
[code]<br />
.<br />
.<br />
.<br />
char *pname;<br />
char name[50];</p>
<p>pname = name;</p>
<p>cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; &quot;Zu suchender Name: &quot;;</p>
<p>cin.clear();<br />
cin.getline(pname, 51);</p>
<p>now = searchkey(root, pname);<br />
.<br />
.<br />
.<br />
[/code)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/129357/cin-getline</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 05:00:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/129357.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Dec 2005 22:56:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cin.getline on Mon, 12 Dec 2005 22:56:22 GMT]]></title><description><![CDATA[<p>hallo</p>
<p>Was mache ich falsch, wenn cin.getline &quot;übersprungen&quot; wird und die Funktion auf keine Eingabe wartet??</p>
<p>Hier der Code:<br />
[code]<br />
.<br />
.<br />
.<br />
char *pname;<br />
char name[50];</p>
<p>pname = name;</p>
<p>cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; &quot;Zu suchender Name: &quot;;</p>
<p>cin.clear();<br />
cin.getline(pname, 51);</p>
<p>now = searchkey(root, pname);<br />
.<br />
.<br />
.<br />
[/code)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940710</guid><dc:creator><![CDATA[holh]]></dc:creator><pubDate>Mon, 12 Dec 2005 22:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to cin.getline on Tue, 13 Dec 2005 05:54:08 GMT]]></title><description><![CDATA[<p><a href="http://www.augustcouncil.com/~tgibson/tutorial/iotips.html#problems" rel="nofollow">http://www.augustcouncil.com/~tgibson/tutorial/iotips.html#problems</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/940737</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940737</guid><dc:creator><![CDATA[elise]]></dc:creator><pubDate>Tue, 13 Dec 2005 05:54:08 GMT</pubDate></item><item><title><![CDATA[Reply to cin.getline on Tue, 13 Dec 2005 07:07:17 GMT]]></title><description><![CDATA[<p>oder kurz: Da stehen noch Reste einer früheren Eingabe im Puffer. (btw, cin.clear() setzt nur eventuelle Fehlerflags zurück, um den Puffer zu leeren, benötigst du cin.ignore())</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940748</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940748</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 13 Dec 2005 07:07:17 GMT</pubDate></item></channel></rss>