<?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[fprintf();]]></title><description><![CDATA[<p>hallo,<br />
gibt es in C++ so ähnliche Anweisung für:</p>
<pre><code>fprintf(stderr,&quot;Fehlermeldung: %s.&quot;,strerror(errno));
</code></pre>
<p>?</p>
<p>dank vorher!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/147105/fprintf</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 15:40:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/147105.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 May 2006 22:37:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fprintf(); on Sat, 13 May 2006 22:37:00 GMT]]></title><description><![CDATA[<p>hallo,<br />
gibt es in C++ so ähnliche Anweisung für:</p>
<pre><code>fprintf(stderr,&quot;Fehlermeldung: %s.&quot;,strerror(errno));
</code></pre>
<p>?</p>
<p>dank vorher!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1057338</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1057338</guid><dc:creator><![CDATA[damo]]></dc:creator><pubDate>Sat, 13 May 2006 22:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to fprintf(); on Sat, 13 May 2006 22:46:53 GMT]]></title><description><![CDATA[<p>std::cerr&lt;&lt;&quot;Fehlermeldung: &quot;&lt;&lt;strerror(errno)&lt;&lt;&quot;.&quot;;</p>
<p>Diese hier.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1057343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1057343</guid><dc:creator><![CDATA[endline]]></dc:creator><pubDate>Sat, 13 May 2006 22:46:53 GMT</pubDate></item><item><title><![CDATA[Reply to fprintf(); on Sat, 13 May 2006 23:11:36 GMT]]></title><description><![CDATA[<p>vielen Dank endline <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
fprintf() ist schon klar, aber noch eine Frage:<br />
gibt es in C++ so ähnliche Funktion für: strerror()? z.B. throw oder error() ?<br />
ich verstehe strerror() nicht ganz, sorry. wie kann man unter &quot;errno&quot; verstehen?<br />
ich habe gelesen, &quot;errno&quot; wird automatisch gezeugt. d.h. strerror ist fast immer mit errno gebunden?</p>
<p>dank sehr! :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1057347</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1057347</guid><dc:creator><![CDATA[damo]]></dc:creator><pubDate>Sat, 13 May 2006 23:11:36 GMT</pubDate></item><item><title><![CDATA[Reply to fprintf(); on Sun, 14 May 2006 00:31:33 GMT]]></title><description><![CDATA[<p>Du magst versucht sein, zukuenftig die MSDN nach solchen Begriffen zudurchsuchen. Die Ergebnisse sind immer sehr vielversprechend. Kostprobe:</p>
<blockquote>
<p>_doserrno, errno, _sys_errlist, and _sys_nerr:<br />
These global variables hold error codes used by the perror and strerror functions for printing error messages.<br />
errno is set on an error in a system-level call. Because errno holds the value for the last call that set it, this value may be changed by succeeding calls. Always check errno immediately before and after a call that may set it.</p>
</blockquote>
<p>In C++ kommen hier Exceptions zum Einsatz. Sollte dir ein Begriff, eine Funktion oder irgendwas unklar erscheinen, kannst du hier nachsehen:<br />
<a href="http://msdn.microsoft.com/" rel="nofollow">http://msdn.microsoft.com/</a></p>
<p>Sonst hier:<br />
<a href="http://google.com/" rel="nofollow">http://google.com/</a></p>
<p>Viel Spass</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1057365</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1057365</guid><dc:creator><![CDATA[endline]]></dc:creator><pubDate>Sun, 14 May 2006 00:31:33 GMT</pubDate></item><item><title><![CDATA[Reply to fprintf(); on Sun, 14 May 2006 08:55:54 GMT]]></title><description><![CDATA[<p>vielen Dank, ich speichere diese nutzliche Links :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1057414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1057414</guid><dc:creator><![CDATA[damo]]></dc:creator><pubDate>Sun, 14 May 2006 08:55:54 GMT</pubDate></item></channel></rss>