<?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[Prüfen ob Datei vorhanden]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir einer sagen wie ich es hinkriege zu prüfen ob eine datei vorhanden is ehe ich sie nochmal erzeuge und somit eventuell überschreibe? Danke für jegliche antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/199361/prüfen-ob-datei-vorhanden</link><generator>RSS for Node</generator><lastBuildDate>Sat, 03 Oct 2026 12:53:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/199361.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Dec 2007 21:33:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Prüfen ob Datei vorhanden on Sat, 01 Dec 2007 21:33:46 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir einer sagen wie ich es hinkriege zu prüfen ob eine datei vorhanden is ehe ich sie nochmal erzeuge und somit eventuell überschreibe? Danke für jegliche antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1413596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1413596</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Sat, 01 Dec 2007 21:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob Datei vorhanden on Sat, 01 Dec 2007 21:41:42 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">std::ifstream in(&quot;DeineDatei.dat&quot;, std::ios::in);
if(!in.good()) // Datei existiert nicht
else in.close(); // Datei existiert, gleich wieder schließen.
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1413599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1413599</guid><dc:creator><![CDATA[CodeOriginator]]></dc:creator><pubDate>Sat, 01 Dec 2007 21:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob Datei vorhanden on Sat, 01 Dec 2007 21:41:46 GMT]]></title><description><![CDATA[<p>boost.filesystem bietet die Funktion exists(std::string) an, damit kannst du überprüfen ob die Datei auf die der übergebene Pfad zeigt existiert.<br />
Allerdings benötigst du dazu die boost-Bibliotheken, die aber eigentlich von jedem &quot;ordentlichen&quot; Entwickler genutzt werden sollten^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1413600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1413600</guid><dc:creator><![CDATA[The-Kenny]]></dc:creator><pubDate>Sat, 01 Dec 2007 21:41:46 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob Datei vorhanden on Sat, 01 Dec 2007 21:50:40 GMT]]></title><description><![CDATA[<p>danke hat mir geholfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1413603</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1413603</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Sat, 01 Dec 2007 21:50:40 GMT</pubDate></item></channel></rss>