<?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[std::cin.sync()]]></title><description><![CDATA[<p>Grüsse zusammen,</p>
<p>Ich wollte den anderen Thread nicht zu sehr stören, deshalb habe ich kurzerhand einen neuen eröffnet. Es geht um das folgende:</p>
<p>Erhard Henkes schrieb:</p>
<blockquote>
<p>Warum sync() funktionieren kann, aber leider nicht portabel ist:</p>
<blockquote>
<p>When this works, it works beautifully. The bad news is that the C++ standard doesn't require sync to do anything like discarding extraneous characters. This solution is non-portable.</p>
</blockquote>
<p><a href="http://www.daniweb.com/forums/thread90228.html" rel="nofollow">http://www.daniweb.com/forums/thread90228.html</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1543856.html#1543856" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-1543856.html#1543856</a></p>
<p>Kann mir wer Platformen und Compiler nennen, welche das nicht unterstützen? Soweit ich es in Erinnerung habe, lief dies bei mir unter Windows mit MSVC2005, GCC und unter Linux (bzw. Ubuntu) mit GCC und dem Intel Compiler (Fragt mich aber beim GCC und Intel nicht nach den Versionen ...).</p>
<p>Und gibt es dazu Änderungen im neuen C++ Standard? Der Sinn dieser Funktion ist ja sonst wirklich ein wenig umstritten.</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/217604/std-cin-sync</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 14:45:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/217604.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jul 2008 09:00:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to std::cin.sync() on Wed, 09 Jul 2008 09:00:49 GMT]]></title><description><![CDATA[<p>Grüsse zusammen,</p>
<p>Ich wollte den anderen Thread nicht zu sehr stören, deshalb habe ich kurzerhand einen neuen eröffnet. Es geht um das folgende:</p>
<p>Erhard Henkes schrieb:</p>
<blockquote>
<p>Warum sync() funktionieren kann, aber leider nicht portabel ist:</p>
<blockquote>
<p>When this works, it works beautifully. The bad news is that the C++ standard doesn't require sync to do anything like discarding extraneous characters. This solution is non-portable.</p>
</blockquote>
<p><a href="http://www.daniweb.com/forums/thread90228.html" rel="nofollow">http://www.daniweb.com/forums/thread90228.html</a> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-p-is-1543856.html#1543856" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-p-is-1543856.html#1543856</a></p>
<p>Kann mir wer Platformen und Compiler nennen, welche das nicht unterstützen? Soweit ich es in Erinnerung habe, lief dies bei mir unter Windows mit MSVC2005, GCC und unter Linux (bzw. Ubuntu) mit GCC und dem Intel Compiler (Fragt mich aber beim GCC und Intel nicht nach den Versionen ...).</p>
<p>Und gibt es dazu Änderungen im neuen C++ Standard? Der Sinn dieser Funktion ist ja sonst wirklich ein wenig umstritten.</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1543992</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1543992</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 09 Jul 2008 09:00:49 GMT</pubDate></item></channel></rss>