<?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[Log-Klasse]]></title><description><![CDATA[<p>Hallo, ich schreibe mit meiner Log Klasse in eine Datei habe jedoch ein Problem und zuwar möchte ich nicht 15:25:9 sondern 15:25:<strong>0</strong>9 bei der Uhrzeit haben, wie mache ich das am Besten? Schließlich will ich auch <strong>nicht</strong> später 15:25:019 haben... Danke im Voraus</p>
<pre><code class="language-cpp">File &lt;&lt; TmNow-&gt;tm_mday &lt;&lt; &quot;.&quot; &lt;&lt; ( TmNow-&gt;tm_mon + 1 ) &lt;&lt; &quot;.&quot; &lt;&lt;
( TmNow-&gt;tm_year + 1900 ) &lt;&lt; &quot;, &quot; &lt;&lt; TmNow-&gt;tm_hour &lt;&lt; &quot;:&quot; &lt;&lt;
TmNow-&gt;tm_min &lt;&lt; &quot;:&quot; &lt;&lt; TmNow-&gt;tm_sec &lt;&lt; &quot;\t:\t&quot; &lt;&lt; ToAdd &lt;&lt; std::endl;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/182547/log-klasse</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 00:09:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182547.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 May 2007 13:26:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Log-Klasse on Sat, 26 May 2007 13:26:37 GMT]]></title><description><![CDATA[<p>Hallo, ich schreibe mit meiner Log Klasse in eine Datei habe jedoch ein Problem und zuwar möchte ich nicht 15:25:9 sondern 15:25:<strong>0</strong>9 bei der Uhrzeit haben, wie mache ich das am Besten? Schließlich will ich auch <strong>nicht</strong> später 15:25:019 haben... Danke im Voraus</p>
<pre><code class="language-cpp">File &lt;&lt; TmNow-&gt;tm_mday &lt;&lt; &quot;.&quot; &lt;&lt; ( TmNow-&gt;tm_mon + 1 ) &lt;&lt; &quot;.&quot; &lt;&lt;
( TmNow-&gt;tm_year + 1900 ) &lt;&lt; &quot;, &quot; &lt;&lt; TmNow-&gt;tm_hour &lt;&lt; &quot;:&quot; &lt;&lt;
TmNow-&gt;tm_min &lt;&lt; &quot;:&quot; &lt;&lt; TmNow-&gt;tm_sec &lt;&lt; &quot;\t:\t&quot; &lt;&lt; ToAdd &lt;&lt; std::endl;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1292649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1292649</guid><dc:creator><![CDATA[Logging]]></dc:creator><pubDate>Sat, 26 May 2007 13:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to Log-Klasse on Sat, 26 May 2007 13:42:41 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>als einfachstes den entsprechenden Integerwert auf &lt; 10 überprüfen, dann vorher eine &quot;0&quot; mit schieben.<br />
Für allgemeine Zwecke sind die Manipulatoren <a href="http://www.cppreference.com/cppio/width.html" rel="nofollow">width</a> und <a href="http://www.cppreference.com/cppio/fill.html" rel="nofollow">fill</a> zu verwenden.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1292652</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1292652</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Sat, 26 May 2007 13:42:41 GMT</pubDate></item><item><title><![CDATA[Reply to Log-Klasse on Sun, 27 May 2007 11:13:36 GMT]]></title><description><![CDATA[<p>naja oder mit sprintf wenn du das benutzen möchtest.</p>
<p>%2i füllt dir nen Integer auf 2 Stellen auf und schreibts dir halt innen buffer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1293032</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1293032</guid><dc:creator><![CDATA[tremml]]></dc:creator><pubDate>Sun, 27 May 2007 11:13:36 GMT</pubDate></item><item><title><![CDATA[Reply to Log-Klasse on Sun, 27 May 2007 19:18:02 GMT]]></title><description><![CDATA[<p>In dem Fall wäre wohl eher &quot;%02d&quot; angebracht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1293328</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1293328</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Sun, 27 May 2007 19:18:02 GMT</pubDate></item></channel></rss>