<?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[Fehler beim Dateieinlesen]]></title><description><![CDATA[<p>Hallo<br />
Für ein Projekt ist es notwendig aus einer Datei Zahlen in ein array einzulesen.<br />
es kommt aber die Fehlermeldung</p>
<p>1&gt;LINK : fatal error LNK1168: &quot;D:\Christian\Fachhochschule+mathe\info\nullstellensuche\Debug\nullstellensuche.exe&quot; kann nicht zum Schreiben geöffnet werden.</p>
<p>#include &lt;fstream&gt;#include &lt;iostream&gt;#include&lt;ctime&gt;#include &quot;poly.h&quot;</p>
<p>using namespace std;<br />
void main(void)<br />
{<br />
long double u,v,x,eps;<br />
cout&lt;&lt; &quot;Geben sie u ein\n&quot;;<br />
cin &gt;&gt; u;<br />
cout&lt;&lt; &quot;Geben sie v ein\n&quot;;<br />
cin &gt;&gt; v;<br />
cout&lt;&lt; &quot;Geben sie x0 ein\n&quot;;<br />
cin &gt;&gt; x;<br />
cout&lt;&lt; &quot;Geben sie eps ein\n&quot;;<br />
cin &gt;&gt; eps;<br />
int m,l,i;<br />
ifstream f(&quot;test.txt&quot;);<br />
f&gt;&gt; m;<br />
long double *a=new long double[m+1];<br />
poly z(m,a);<br />
for(i=0;i&lt;m+2;i++)<br />
{<br />
f&gt;&gt;a[i];<br />
}<br />
f&gt;&gt; l;<br />
long double *b=new long double[l+1];<br />
poly n(l,b);<br />
for(i=0;i&lt;l+2;i++)<br />
{<br />
f&gt;&gt;b[i];<br />
}<br />
}<br />
Habe ich die Datei im Falschen Ordner? Was bedeutet der Fehler und wie korregiere ich ihn?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/299883/fehler-beim-dateieinlesen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 01:47:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/299883.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Feb 2012 13:09:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler beim Dateieinlesen on Mon, 20 Feb 2012 13:09:07 GMT]]></title><description><![CDATA[<p>Hallo<br />
Für ein Projekt ist es notwendig aus einer Datei Zahlen in ein array einzulesen.<br />
es kommt aber die Fehlermeldung</p>
<p>1&gt;LINK : fatal error LNK1168: &quot;D:\Christian\Fachhochschule+mathe\info\nullstellensuche\Debug\nullstellensuche.exe&quot; kann nicht zum Schreiben geöffnet werden.</p>
<p>#include &lt;fstream&gt;#include &lt;iostream&gt;#include&lt;ctime&gt;#include &quot;poly.h&quot;</p>
<p>using namespace std;<br />
void main(void)<br />
{<br />
long double u,v,x,eps;<br />
cout&lt;&lt; &quot;Geben sie u ein\n&quot;;<br />
cin &gt;&gt; u;<br />
cout&lt;&lt; &quot;Geben sie v ein\n&quot;;<br />
cin &gt;&gt; v;<br />
cout&lt;&lt; &quot;Geben sie x0 ein\n&quot;;<br />
cin &gt;&gt; x;<br />
cout&lt;&lt; &quot;Geben sie eps ein\n&quot;;<br />
cin &gt;&gt; eps;<br />
int m,l,i;<br />
ifstream f(&quot;test.txt&quot;);<br />
f&gt;&gt; m;<br />
long double *a=new long double[m+1];<br />
poly z(m,a);<br />
for(i=0;i&lt;m+2;i++)<br />
{<br />
f&gt;&gt;a[i];<br />
}<br />
f&gt;&gt; l;<br />
long double *b=new long double[l+1];<br />
poly n(l,b);<br />
for(i=0;i&lt;l+2;i++)<br />
{<br />
f&gt;&gt;b[i];<br />
}<br />
}<br />
Habe ich die Datei im Falschen Ordner? Was bedeutet der Fehler und wie korregiere ich ihn?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2183425</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2183425</guid><dc:creator><![CDATA[zahlenfreund]]></dc:creator><pubDate>Mon, 20 Feb 2012 13:09:07 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler beim Dateieinlesen on Mon, 20 Feb 2012 13:18:06 GMT]]></title><description><![CDATA[<p>Das heißt, dass er dein Programm nach dem Erstellen nicht auf die Platte schreiben kann, z.B. weil die exe-Datei noch geöffnet ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2183429</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2183429</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Mon, 20 Feb 2012 13:18:06 GMT</pubDate></item></channel></rss>