<?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[Bedingt Dateien kopieren mit fstream]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe mir eine Routine mit fstream geschrieben, mit der ich Dateien von X nach Y kopiere. Jetzt möchte ich, falls die Datei schon existiert, abfragen ob die zu kopierende Datei neuer ist und nur dann die Zieldatei überschreiben.</p>
<p>Bei den streams hab ich nichts gefunden wie ich das Datei- oder Erstellungsdatum abfragen kann. Wie macht man das mit streams ?</p>
<p>Danke und Gruß</p>
<p>WoWe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/161244/bedingt-dateien-kopieren-mit-fstream</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 18:09:23 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/161244.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Oct 2006 18:19:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bedingt Dateien kopieren mit fstream on Wed, 04 Oct 2006 18:19:17 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe mir eine Routine mit fstream geschrieben, mit der ich Dateien von X nach Y kopiere. Jetzt möchte ich, falls die Datei schon existiert, abfragen ob die zu kopierende Datei neuer ist und nur dann die Zieldatei überschreiben.</p>
<p>Bei den streams hab ich nichts gefunden wie ich das Datei- oder Erstellungsdatum abfragen kann. Wie macht man das mit streams ?</p>
<p>Danke und Gruß</p>
<p>WoWe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1149435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1149435</guid><dc:creator><![CDATA[WoWe]]></dc:creator><pubDate>Wed, 04 Oct 2006 18:19:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bedingt Dateien kopieren mit fstream on Wed, 04 Oct 2006 18:42:48 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>gar nicht, sowas ist nicht vom C++ standard erfasst. Dazu brauchst du plattformabhängige Funktionen (Windows -&gt; WinAPI), oder plattformunabhängige Wrapper (boost::filesystem)</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1149449</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1149449</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 04 Oct 2006 18:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to Bedingt Dateien kopieren mit fstream on Wed, 04 Oct 2006 18:59:56 GMT]]></title><description><![CDATA[<p>So'n Müll auch, trotzdem danke !</p>
<p>WoWe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1149455</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1149455</guid><dc:creator><![CDATA[WoWe]]></dc:creator><pubDate>Wed, 04 Oct 2006 18:59:56 GMT</pubDate></item></channel></rss>