<?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[[ifstream] wert davor und danach]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich lese mit ifstream eine Datei aus und suche mit find() in ihr. Nun will ich aber den Wert, der vor dem gesuchten steht, haben. Wie mache ich das am besten?</p>
<p>Hier mal meine Dateistruktur:</p>
<pre><code>1/Buch 4/Zeitung 8/98
</code></pre>
<p>Danke schon mal</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/249685/ifstream-wert-davor-und-danach</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 10:08:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/249685.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Sep 2009 15:58:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ifstream] wert davor und danach on Thu, 10 Sep 2009 15:58:53 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich lese mit ifstream eine Datei aus und suche mit find() in ihr. Nun will ich aber den Wert, der vor dem gesuchten steht, haben. Wie mache ich das am besten?</p>
<p>Hier mal meine Dateistruktur:</p>
<pre><code>1/Buch 4/Zeitung 8/98
</code></pre>
<p>Danke schon mal</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1776022</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1776022</guid><dc:creator><![CDATA[Stromberg11]]></dc:creator><pubDate>Thu, 10 Sep 2009 15:58:53 GMT</pubDate></item><item><title><![CDATA[Reply to [ifstream] wert davor und danach on Thu, 10 Sep 2009 16:02:35 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>du bekommst von find eine Position innerhalb des strings zurück. Jetzt schau dir am besten mal <a href="http://www.cplusplus.com/reference/string/string/substr/" rel="nofollow">string::substr</a> an. Das sollte dir weiterhelfen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1776025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1776025</guid><dc:creator><![CDATA[KPC]]></dc:creator><pubDate>Thu, 10 Sep 2009 16:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to [ifstream] wert davor und danach on Thu, 10 Sep 2009 16:50:15 GMT]]></title><description><![CDATA[<p>danke, hat wunderbar geklappt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1776046</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1776046</guid><dc:creator><![CDATA[Stromberg11]]></dc:creator><pubDate>Thu, 10 Sep 2009 16:50:15 GMT</pubDate></item></channel></rss>