<?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[Problem bei einer printf-Anweisung]]></title><description><![CDATA[<p>Hi,<br />
habe folgendes geschrieben:</p>
<p>int store(char *datName, Ergebnis *e){<br />
FILE *pfile=fopen(&quot;ergebnis.txt&quot;, &quot;w&quot;);<br />
if(!pfile){<br />
printf(&quot;what a fuck&quot;, &quot;ergebnis.txt&quot;);<br />
return 0;<br />
}<br />
fprintf(pfile,&quot;MaxX = P(%f,%f)\nMinX = P(%f,%f)\nMaxY = P(%f,%f)\nMinY = P(%f,%f)&quot;,<br />
e-&gt;pxMax-&gt;x,e-&gt;pxMax-&gt;y,e-&gt;pxMin-&gt;x,e-&gt;pxMin-&gt;y,e-&gt;pyMax-&gt;x,e-&gt;pyMax-&gt;y,e-&gt;pyMin-&gt;x,e-&gt;pyMin-&gt;y);<br />
fclose(pfile);<br />
return 1;<br />
}<br />
das problem ist, das ich nicht verstehe, was auch nicht von mir ist, weshalb ich<br />
&quot;fprintf(pfile,&quot;MaxX = P(%f,%f)\nMinX = P(%f,%f) ... &quot; am Anfang das &quot;pfile&quot; schreibe????<br />
Freue mich auf Antworten und Hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/244325/problem-bei-einer-printf-anweisung</link><generator>RSS for Node</generator><lastBuildDate>Sat, 19 Sep 2026 11:15:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/244325.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Jun 2009 15:18:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem bei einer printf-Anweisung on Sun, 28 Jun 2009 15:18:01 GMT]]></title><description><![CDATA[<p>Hi,<br />
habe folgendes geschrieben:</p>
<p>int store(char *datName, Ergebnis *e){<br />
FILE *pfile=fopen(&quot;ergebnis.txt&quot;, &quot;w&quot;);<br />
if(!pfile){<br />
printf(&quot;what a fuck&quot;, &quot;ergebnis.txt&quot;);<br />
return 0;<br />
}<br />
fprintf(pfile,&quot;MaxX = P(%f,%f)\nMinX = P(%f,%f)\nMaxY = P(%f,%f)\nMinY = P(%f,%f)&quot;,<br />
e-&gt;pxMax-&gt;x,e-&gt;pxMax-&gt;y,e-&gt;pxMin-&gt;x,e-&gt;pxMin-&gt;y,e-&gt;pyMax-&gt;x,e-&gt;pyMax-&gt;y,e-&gt;pyMin-&gt;x,e-&gt;pyMin-&gt;y);<br />
fclose(pfile);<br />
return 1;<br />
}<br />
das problem ist, das ich nicht verstehe, was auch nicht von mir ist, weshalb ich<br />
&quot;fprintf(pfile,&quot;MaxX = P(%f,%f)\nMinX = P(%f,%f) ... &quot; am Anfang das &quot;pfile&quot; schreibe????<br />
Freue mich auf Antworten und Hilfe!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1734129</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1734129</guid><dc:creator><![CDATA[INIING66]]></dc:creator><pubDate>Sun, 28 Jun 2009 15:18:01 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei einer printf-Anweisung on Sun, 28 Jun 2009 15:21:35 GMT]]></title><description><![CDATA[<p>Falsches Forum. Das gehört eher ins C-Forum.</p>
<p>Aber dennoch hier:<br />
<a href="http://www.cplusplus.com/reference/clibrary/cstdio/fprintf/" rel="nofollow">http://www.cplusplus.com/reference/clibrary/cstdio/fprintf/</a></p>
<p>Das ist ein Handle für das File, in das geschrieben werden soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1734135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1734135</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Sun, 28 Jun 2009 15:21:35 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei einer printf-Anweisung on Mon, 29 Jun 2009 05:39:33 GMT]]></title><description><![CDATA[<p>Und wenn es doch C++ sein soll, dann noch der allgemeine Hinweis, Streams zu benutzen:</p>
<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-244091-and-start-is-11.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-244091-and-start-is-11.html</a><br />
<a href="http://magazin.c-plusplus.net/artikel/Ein-%20und%20Ausgabe%20in%20CPlusPlus%20-%20IO-Streams" rel="nofollow">http://magazin.c-plusplus.net/artikel/Ein- und Ausgabe in CPlusPlus - IO-Streams</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1734344</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1734344</guid><dc:creator><![CDATA[Roger Wilco]]></dc:creator><pubDate>Mon, 29 Jun 2009 05:39:33 GMT</pubDate></item></channel></rss>