<?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 platte voll ist]]></title><description><![CDATA[<p>ich nutze fopen um eine datei zu öffnen.</p>
<p>ich würde aber auch gern wissen warum es nicht geklappt hat.<br />
z.b. weil die platte voll ist.</p>
<p>wie kann ich das prüfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135592/prüfen-ob-platte-voll-ist</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 01:16:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135592.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Feb 2006 09:21:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to prüfen ob platte voll ist on Fri, 03 Feb 2006 09:21:42 GMT]]></title><description><![CDATA[<p>ich nutze fopen um eine datei zu öffnen.</p>
<p>ich würde aber auch gern wissen warum es nicht geklappt hat.<br />
z.b. weil die platte voll ist.</p>
<p>wie kann ich das prüfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984778</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984778</guid><dc:creator><![CDATA[asr]]></dc:creator><pubDate>Fri, 03 Feb 2006 09:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to prüfen ob platte voll ist on Fri, 03 Feb 2006 09:27:08 GMT]]></title><description><![CDATA[<p>Mit C++-Mitteln dürfte das etwas schwierig sein - aber schau mal bei der API deines Betriebssystems nach, ob du etwas detailliertere Informationen zu deiner Festplatte rauskitzeln kannst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984783</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984783</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 03 Feb 2006 09:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to prüfen ob platte voll ist on Fri, 03 Feb 2006 10:00:32 GMT]]></title><description><![CDATA[<p>perror<br />
strerror<br />
errno</p>
<p>sind meines Wissens in ANSI-C enthalten (stdio.h), also auch im C++-Standard. Das geht dann ungefähr so:</p>
<pre><code class="language-cpp">fopen ...
if (fehler aufgetreten) {
  perror(&quot;fopen&quot;); // Ausgabe in etwa: &quot;fopen: No space left on device&quot;
}
</code></pre>
<p>perror bekommt seine Fehlertexte über strerror(errno), was man bei Bedarf auch selbst auswerten kann.</p>
<p>errno ist eine globale Variable, in der die Fehlernummer der letzten fehlerhaften Operation steht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984810</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Fri, 03 Feb 2006 10:00:32 GMT</pubDate></item><item><title><![CDATA[Reply to prüfen ob platte voll ist on Fri, 03 Feb 2006 10:09:34 GMT]]></title><description><![CDATA[<p>Allerdings ist afaik nicht garantiert, daß fopen() im Fehlerfall errno setzt (ANSI Standard sind nur ERANGE und EDOM als Werte).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984815</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984815</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 03 Feb 2006 10:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to prüfen ob platte voll ist on Fri, 03 Feb 2006 11:48:27 GMT]]></title><description><![CDATA[<p>es heißt:</p>
<p>wo ich bin he<strong>rr</strong>scht chaos</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984912</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984912</guid><dc:creator><![CDATA[besserwisser]]></dc:creator><pubDate>Fri, 03 Feb 2006 11:48:27 GMT</pubDate></item></channel></rss>