<?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[schleife mit tastendruck unterbrechen]]></title><description><![CDATA[<p>ich würde gern mal wissen ob man mit purem c++ eine schleife per tastendruck unterbrechen kann.</p>
<p>also das er irgendetwas amcht bis man eine taste drückt...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/216120/schleife-mit-tastendruck-unterbrechen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 15:45:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/216120.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Jun 2008 12:24:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Thu, 19 Jun 2008 12:24:41 GMT]]></title><description><![CDATA[<p>ich würde gern mal wissen ob man mit purem c++ eine schleife per tastendruck unterbrechen kann.</p>
<p>also das er irgendetwas amcht bis man eine taste drückt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1532206</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1532206</guid><dc:creator><![CDATA[*-**-*73]]></dc:creator><pubDate>Thu, 19 Jun 2008 12:24:41 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Thu, 19 Jun 2008 12:38:51 GMT]]></title><description><![CDATA[<p>Wenn boost zu purem C++ zählt, ja <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/1532215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1532215</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Thu, 19 Jun 2008 12:38:51 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Thu, 19 Jun 2008 12:49:45 GMT]]></title><description><![CDATA[<p>Board-Suche bemüht? Einen Thread mit (fast) exakt dem selben Titel gabs im ANSI-C Board vor einiger Zeit...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1532224</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1532224</guid><dc:creator><![CDATA[Xantus]]></dc:creator><pubDate>Thu, 19 Jun 2008 12:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Fri, 20 Jun 2008 12:19:51 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;conio.h&gt;
//...
while (true)
{
    // Berechnungen
    if ( _kbhit() )
         break;
    // blabla
}
// rest...
</code></pre>
<p>und wenn man nur gezielte tasten abfragen möchte</p>
<pre><code class="language-cpp">if ( _kbhit() )
{
    char c = _getch();    // eventuell statt char en int hinsetzen...
    if ( c == 'a' )
        break;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1532809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1532809</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Fri, 20 Jun 2008 12:19:51 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Fri, 20 Jun 2008 18:52:47 GMT]]></title><description><![CDATA[<p>kbhit ist also pures c++ ?</p>
<p>:schland:</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1533020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1533020</guid><dc:creator><![CDATA[sosososo]]></dc:creator><pubDate>Fri, 20 Jun 2008 18:52:47 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Sat, 21 Jun 2008 07:29:15 GMT]]></title><description><![CDATA[<p>keine ahnung</p>
<p>ist mir aber auch egal...</p>
<p>so würde es gehn, aber mit echt komplett purem C++ kann man heutzutage wahrscheinlich eh nix mehr machen da C immer irgendwo beigemischt wird...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1533137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1533137</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Sat, 21 Jun 2008 07:29:15 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Sat, 21 Jun 2008 07:30:32 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>so würde es gehn, aber mit echt komplett purem C++ kann man heutzutage wahrscheinlich eh nix mehr machen da C immer irgendwo beigemischt wird...</p>
</blockquote>
<p><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="😃"
    /> <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/1533138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1533138</guid><dc:creator><![CDATA[lolott]]></dc:creator><pubDate>Sat, 21 Jun 2008 07:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to schleife mit tastendruck unterbrechen on Sat, 21 Jun 2008 10:27:58 GMT]]></title><description><![CDATA[<p>nur das _kbhit weder Standard-C noch Standard-C++ ist, sonder aus der conio.h stammt (ursprünglich wohl von Borland).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1533196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1533196</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Sat, 21 Jun 2008 10:27:58 GMT</pubDate></item></channel></rss>