<?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[Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot;]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich schreiber gerade mit fout Messwerte in eine Datei. Leider landen in dern Datei nur Messwerte mit der Genauigkeit von 2 Kommastellen. Ich brauch aber drei. Was muss ich da machen?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/221354/ich-brauch-mehr-kommastellen-bei-quot-fout-quot</link><generator>RSS for Node</generator><lastBuildDate>Tue, 06 Oct 2026 10:05:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/221354.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Aug 2008 08:18:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:18:15 GMT]]></title><description><![CDATA[<p>Hallo zusammen,<br />
ich schreiber gerade mit fout Messwerte in eine Datei. Leider landen in dern Datei nur Messwerte mit der Genauigkeit von 2 Kommastellen. Ich brauch aber drei. Was muss ich da machen?</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572745</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572745</guid><dc:creator><![CDATA[wolf8886]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:29:10 GMT]]></title><description><![CDATA[<p>Was soll fout sein?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572749</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572749</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:29:10 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:32:17 GMT]]></title><description><![CDATA[<p>fout funktioniert wie cout nur landet das ganze in einer Datei die ich zuvor geöffnet habe.<br />
MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572753</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572753</guid><dc:creator><![CDATA[wolf8886]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:33:26 GMT]]></title><description><![CDATA[<p>Also ein fstream?? Zeig halt mal ein bisschen mehr Code.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572754</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572754</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:33:26 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:33:32 GMT]]></title><description><![CDATA[<p>Er meint wohl ofstream</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572755</guid><dc:creator><![CDATA[zerberos]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:38:05 GMT]]></title><description><![CDATA[<p>fstream geht genauso:)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572762</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572762</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:38:05 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Thu, 28 Aug 2008 08:53:47 GMT]]></title><description><![CDATA[<p>wolf8886 schrieb:</p>
<blockquote>
<p>fout funktioniert wie cout nur landet das ganze in einer Datei die ich zuvor geöffnet habe.<br />
MfG</p>
</blockquote>
<p>Aha, dann sag doch gleich dass Du floats in einen ostream schreibst, dann versteht man Dich auch.</p>
<p>`#include &lt;iomanip&gt;</p>
<p>std::setprecision</p>
<p>std::setw</p>
<p>std::setfill</p>
<p>#include &lt;ios&gt;</p>
<p>std::fixed</p>
<p>std::scientific</p>
<p>`</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1572778</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1572778</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Thu, 28 Aug 2008 08:53:47 GMT</pubDate></item><item><title><![CDATA[Reply to Ich brauch mehr Kommastellen bei &amp;quot;fout&amp;quot; on Fri, 29 Aug 2008 10:26:35 GMT]]></title><description><![CDATA[<p>fout &lt;&lt; setprecision(3) &lt;&lt; messwert &lt;&lt; endl;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1573477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1573477</guid><dc:creator><![CDATA[berniebutt]]></dc:creator><pubDate>Fri, 29 Aug 2008 10:26:35 GMT</pubDate></item></channel></rss>