<?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[Anzahl der Dezimalstellen bei std::ofstream]]></title><description><![CDATA[<p>Hallo,<br />
wie schaffe ich es, dass wenn ich z.B. die Zahl 5 habe der std::ofstream 05 schreibt, also jede Zahl zweistellig ausgegeben wird?<br />
Gibt es da schon eine Funktion in der STL, oder muss ich das irgendwie selber zusammenbasteln?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/285590/anzahl-der-dezimalstellen-bei-std-ofstream</link><generator>RSS for Node</generator><lastBuildDate>Fri, 21 Aug 2026 06:53:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/285590.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Apr 2011 22:12:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anzahl der Dezimalstellen bei std::ofstream on Sat, 23 Apr 2011 22:12:18 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wie schaffe ich es, dass wenn ich z.B. die Zahl 5 habe der std::ofstream 05 schreibt, also jede Zahl zweistellig ausgegeben wird?<br />
Gibt es da schon eine Funktion in der STL, oder muss ich das irgendwie selber zusammenbasteln?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2053409</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2053409</guid><dc:creator><![CDATA[Lexon123]]></dc:creator><pubDate>Sat, 23 Apr 2011 22:12:18 GMT</pubDate></item><item><title><![CDATA[Reply to Anzahl der Dezimalstellen bei std::ofstream on Sat, 23 Apr 2011 22:17:14 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">std::cout &lt;&lt; std::setfill('0') &lt;&lt; std::setw(2);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2053412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2053412</guid><dc:creator><![CDATA[EOutOfResources]]></dc:creator><pubDate>Sat, 23 Apr 2011 22:17:14 GMT</pubDate></item></channel></rss>