<?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[Pfad angeben]]></title><description><![CDATA[<p>Ich hab ein programm womit ich eine Datei öffnen will</p>
<pre><code class="language-cpp">ifstream datei(&quot;C:\test\591.cfg&quot;);
</code></pre>
<p>Aber er findet sie nie.Sie ist aber dort.Daher meine frage wie gebe ich den Pfad richtig an?</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/122136/pfad-angeben</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 02:47:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/122136.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Sep 2005 19:01:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pfad angeben on Fri, 30 Sep 2005 19:02:33 GMT]]></title><description><![CDATA[<p>Ich hab ein programm womit ich eine Datei öffnen will</p>
<pre><code class="language-cpp">ifstream datei(&quot;C:\test\591.cfg&quot;);
</code></pre>
<p>Aber er findet sie nie.Sie ist aber dort.Daher meine frage wie gebe ich den Pfad richtig an?</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/883864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/883864</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Fri, 30 Sep 2005 19:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Fri, 30 Sep 2005 19:06:17 GMT]]></title><description><![CDATA[<p>Da der Backslash in Zeichen- und Zeichenkettenliteralen eine Escapesequenz einleitet, musst du zwei Backslashes hinschreiben, wenn du hinterher einen im String haben willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/883868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/883868</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Fri, 30 Sep 2005 19:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Fri, 30 Sep 2005 19:15:54 GMT]]></title><description><![CDATA[<p>Danke jetzt funktioniert es endlich.</p>
<p>Achso noch eine Frage wie benutze ich die Ascii tabelle.Also wie ich das<br />
nun ausgebe?</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/883878</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/883878</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Fri, 30 Sep 2005 19:15:54 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Fri, 30 Sep 2005 20:15:09 GMT]]></title><description><![CDATA[<p>Die Ascii-Tabelle sind doch die ersten 127 Zeichen die du in einem char (Zeichen werden als Zahl gespeichert und bei der Ausgabe als Zeichen übersetz) speicherst. Die sind festgelegt.<br />
Ausgeben einfach über std::cout.</p>
<pre><code class="language-cpp">include &lt;iostream&gt;
using namespace std;
int main(){
  cout &lt;&lt; &quot;abcde&quot;;
  return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/883898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/883898</guid><dc:creator><![CDATA[imhotep]]></dc:creator><pubDate>Fri, 30 Sep 2005 20:15:09 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Fri, 30 Sep 2005 20:15:47 GMT]]></title><description><![CDATA[<p>Ich danchte mehr an ä ö und so aber eben grad(22:14) hab ich die lösung gefunden:<br />
\ö \ä usw.</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/883899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/883899</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Fri, 30 Sep 2005 20:15:47 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sat, 01 Oct 2005 10:59:06 GMT]]></title><description><![CDATA[<p>wenn du den ascii-code eines zeichens haben willst, dann setzte das einzelne zeichen in einfache anführungsstriche, zB 'ä'. dieser ausdruck wird vom compiler wie eine int-konstante behandelt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884045</guid><dc:creator><![CDATA[Konfusius]]></dc:creator><pubDate>Sat, 01 Oct 2005 10:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sat, 01 Oct 2005 19:03:50 GMT]]></title><description><![CDATA[<p>Also folgendes mit dem ascii code. Ich weiß nicht warum aber beim einen Programm<br />
klappt z.b. so ein Pfeil (&gt;)(ausgemahlt)aber beim anderen baut er wieder mist.<br />
Meine Frage kenn jemand ein gute Ascii Tabelle zun downloaden(pdf,word,txt,usw.).<br />
Und dann bräuchte ich auch mal eine anleitung wie ich sowas verwende.Also wie<br />
ich die zeichen benutze.</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884306</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884306</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sat, 01 Oct 2005 19:03:50 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sat, 01 Oct 2005 19:31:07 GMT]]></title><description><![CDATA[<p>Also ich hab jetzt die hex zeichen.Problem:<br />
ich gebe ein (qellcode):<br />
k\84mpft</p>
<p>die ausgabe:</p>
<p>k84mpft</p>
<p>Was mach ich falsch?</p>
<p>mfg.<br />
Stefan</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884314</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884314</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sat, 01 Oct 2005 19:31:07 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sun, 02 Oct 2005 09:24:55 GMT]]></title><description><![CDATA[<p>Stefan311 schrieb:</p>
<blockquote>
<p>Ich hab ein programm womit ich eine Datei öffnen will</p>
<pre><code class="language-cpp">ifstream datei(&quot;C:\test\591.cfg&quot;);
</code></pre>
<p>Aber er findet sie nie.Sie ist aber dort.Daher meine frage wie gebe ich den Pfad richtig an?</p>
<p>mfg.<br />
Stefan</p>
</blockquote>
<p>Du kannst es auch so schreiben:</p>
<pre><code class="language-cpp">ifstream datei(&quot;C:/test/591.cfg&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/884452</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884452</guid><dc:creator><![CDATA[hehejo]]></dc:creator><pubDate>Sun, 02 Oct 2005 09:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sun, 02 Oct 2005 10:36:39 GMT]]></title><description><![CDATA[<p>Danke werd ich woll in den nächsten sachen dann so machen.<br />
wenn ich &lt;fstream&gt; includiere kennt er ifstream nicht mehr.warum?<br />
es klappt nur mit &lt;fstream.h&gt;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884473</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sun, 02 Oct 2005 10:36:39 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sun, 02 Oct 2005 11:51:40 GMT]]></title><description><![CDATA[<p>Benutze am besten boost::filesystem, das konvertiert dir den Pfad je Platform immer um und du kannst auch mehr machen als nur lesen und schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884512</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Sun, 02 Oct 2005 11:51:40 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sun, 02 Oct 2005 12:14:25 GMT]]></title><description><![CDATA[<p>welche includes brauch ich?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/884519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884519</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Sun, 02 Oct 2005 12:14:25 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Sun, 02 Oct 2005 12:22:06 GMT]]></title><description><![CDATA[<p>Du brauchst die Boost-Libraries, sollte jeder fortgeschrittene C++ler eigentlich haben.</p>
<p><a href="http://www.boost.org" rel="nofollow">http://www.boost.org</a></p>
<p>Spezielle Hilfe zu <a href="http://www.boost.org/libs/filesystem/doc/index.htm" rel="nofollow">boost::filesystem</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/884523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884523</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Sun, 02 Oct 2005 12:22:06 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Mon, 03 Oct 2005 08:19:29 GMT]]></title><description><![CDATA[<p>Danke ich werde es mir anschauen.<br />
Bei mir mact der nur mist.Z.b.:</p>
<pre><code class="language-cpp">for(int i=0;i&lt;3;i++)
{
file &lt;&lt; option[i];
}
</code></pre>
<p>so ungefähr steht es bei einem Beispiel programm<br />
auf deren seite.<br />
bei mir kommt immer eine meldung das das nicht mit denn &lt;&lt; geht.<br />
Ein anderes programm von denen wollte ich compilieren aber am ende kan undifined referece to boost::filesystem.<br />
Ich weiß nicht was ich falsch mache. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Ich brauche hilfe. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/884875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884875</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Mon, 03 Oct 2005 08:19:29 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Mon, 03 Oct 2005 09:07:06 GMT]]></title><description><![CDATA[<p>Stefan311 schrieb:</p>
<blockquote>
<p>Danke werd ich woll in den nächsten sachen dann so machen.<br />
wenn ich &lt;fstream&gt; includiere kennt er ifstream nicht mehr.warum?<br />
es klappt nur mit &lt;fstream.h&gt;.</p>
</blockquote>
<pre><code class="language-cpp">#include &lt;fstream&gt;
using namespace std;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/884898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/884898</guid><dc:creator><![CDATA[hehejo]]></dc:creator><pubDate>Mon, 03 Oct 2005 09:07:06 GMT</pubDate></item><item><title><![CDATA[Reply to Pfad angeben on Tue, 04 Oct 2005 21:05:56 GMT]]></title><description><![CDATA[<p>using namesspace std;<br />
hab ich immer drin wegen cout.<br />
So einlesen klappt fast.<br />
Folgendes der array hat drei werte(4 mit0).<br />
die will ich aus ner datei lesen.<br />
aber er pakt immer mehere zahlen in ein kästchen des arrays(zb. 1100 in option[0])<br />
das soll er aber nicht.weil in jedem kästchen nur ein wert sein soll.Weiss jemand<br />
wie man das machen kann?(zb. option[0]=1,[option[1]=0,option[2]=1...in der datei= 1010)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/885214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/885214</guid><dc:creator><![CDATA[Stefan311]]></dc:creator><pubDate>Tue, 04 Oct 2005 21:05:56 GMT</pubDate></item></channel></rss>