<?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[fstream.h | vor-springen in datei]]></title><description><![CDATA[<p>hallo,</p>
<p>ich benutze die fstream.h um aus einer datei zu lesen.<br />
wie kann ich z.B. 150 zeichen vor-gehen?</p>
<p>ich möchte nicht jedesmal z.B. mit:</p>
<pre><code>in.read(buf,150);
</code></pre>
<p>150 zeichen vor-gehen da ich ja wenn es größere sprünge sind, ich auch so<br />
eine große variable brauche!</p>
<p>wie kann ich das also machen?</p>
<p>danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/152063/fstream-h-vor-springen-in-datei</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 20:50:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/152063.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Jul 2006 14:44:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fstream.h | vor-springen in datei on Sun, 02 Jul 2006 14:44:14 GMT]]></title><description><![CDATA[<p>hallo,</p>
<p>ich benutze die fstream.h um aus einer datei zu lesen.<br />
wie kann ich z.B. 150 zeichen vor-gehen?</p>
<p>ich möchte nicht jedesmal z.B. mit:</p>
<pre><code>in.read(buf,150);
</code></pre>
<p>150 zeichen vor-gehen da ich ja wenn es größere sprünge sind, ich auch so<br />
eine große variable brauche!</p>
<p>wie kann ich das also machen?</p>
<p>danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090169</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090169</guid><dc:creator><![CDATA[Babel]]></dc:creator><pubDate>Sun, 02 Jul 2006 14:44:14 GMT</pubDate></item><item><title><![CDATA[Reply to fstream.h | vor-springen in datei on Sun, 02 Jul 2006 15:51:07 GMT]]></title><description><![CDATA[<p>Dateizeiger setzen z.B.</p>
<pre><code class="language-cpp">in.seekg( 0, ios_base::beg);
</code></pre>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090211</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090211</guid><dc:creator><![CDATA[haase]]></dc:creator><pubDate>Sun, 02 Jul 2006 15:51:07 GMT</pubDate></item><item><title><![CDATA[Reply to fstream.h | vor-springen in datei on Sun, 02 Jul 2006 16:18:39 GMT]]></title><description><![CDATA[<p>In C war es noch fseek nun ist es in C++ seekg.</p>
<p>Es wir dabei als erster Parameter der gewünschte Offset in Long angegeben und als zweiter den absoluten Einsprungspunkt:</p>
<p>SEEK_SET<br />
SEEK_CUR<br />
SEEK_END</p>
<p><a href="http://www.cppreference.com/stdio/fseek.html" rel="nofollow">http://www.cppreference.com/stdio/fseek.html</a></p>
<p><a href="http://www.cppreference.com/cppio/seekg.html" rel="nofollow">http://www.cppreference.com/cppio/seekg.html</a></p>
<p>Eine Datei öffnet man über fstreams:</p>
<p><a href="http://www.cppreference.com/cppio/open.html" rel="nofollow">http://www.cppreference.com/cppio/open.html</a></p>
<p>MFG winexec*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090231</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090231</guid><dc:creator><![CDATA[winexec*]]></dc:creator><pubDate>Sun, 02 Jul 2006 16:18:39 GMT</pubDate></item></channel></rss>