<?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[Ofstream - Kleines Prob!?]]></title><description><![CDATA[<p>Wie evlt. einige gesehen haben versuche ich ein kleines Programm zu schreiben um eine txt datei zu formatieren .. naja ich dachte mir &quot;back to the roots und alles von unten an noch ma durch kauen&quot; ..</p>
<p>so ich hab jetzt eine simple txt datei mit 2 &quot;absätzen&quot;.</p>
<p>1. Abs &quot; Hallo &quot;<br />
2. Abs &quot; Hallo du! &quot;</p>
<p>--------------------</p>
<p>die 2te datei soll so aussehen:</p>
<p>1. Abs &quot; hello &quot;<br />
2. Abs &quot; hello you! &quot;</p>
<p>--------------------</p>
<p>Aber das hello you wird nicht komplett übertragen sondern nur das hello vom anfang des satzes!!! :// und auch direkt an das erste hello dran.</p>
<pre><code>#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin, zeile)) //zeilenweise einlesen

{

if(zeile.find(&quot;Hallo&quot;,0)!=string::npos)

{

fout &lt;&lt; &quot;hello&quot;;

}

else if(zeile.find(&quot;Hallo du!&quot;,0) !=string::npos)

{

fout &lt;&lt; &quot;hello you!&quot;;

}

}
    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/129302/ofstream-kleines-prob</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 06:50:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/129302.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Dec 2005 13:40:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 13:40:32 GMT]]></title><description><![CDATA[<p>Wie evlt. einige gesehen haben versuche ich ein kleines Programm zu schreiben um eine txt datei zu formatieren .. naja ich dachte mir &quot;back to the roots und alles von unten an noch ma durch kauen&quot; ..</p>
<p>so ich hab jetzt eine simple txt datei mit 2 &quot;absätzen&quot;.</p>
<p>1. Abs &quot; Hallo &quot;<br />
2. Abs &quot; Hallo du! &quot;</p>
<p>--------------------</p>
<p>die 2te datei soll so aussehen:</p>
<p>1. Abs &quot; hello &quot;<br />
2. Abs &quot; hello you! &quot;</p>
<p>--------------------</p>
<p>Aber das hello you wird nicht komplett übertragen sondern nur das hello vom anfang des satzes!!! :// und auch direkt an das erste hello dran.</p>
<pre><code>#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin, zeile)) //zeilenweise einlesen

{

if(zeile.find(&quot;Hallo&quot;,0)!=string::npos)

{

fout &lt;&lt; &quot;hello&quot;;

}

else if(zeile.find(&quot;Hallo du!&quot;,0) !=string::npos)

{

fout &lt;&lt; &quot;hello you!&quot;;

}

}
    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/940211</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940211</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Mon, 12 Dec 2005 13:40:32 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 13:47:44 GMT]]></title><description><![CDATA[<p>Erstens: In der zweiten Zeile kommt auch das Wort &quot;Hallo&quot; vor, also greift dort das obere if() - eventuell solltest du die beiden if()'s vertauschen.<br />
Zweitens: die Streams setzen dir nur einen Zeilenwechsel ein, wenn du sie darum bittest - dazu kannst du entweder ein '\n' oder endl an den operator&lt;&lt;() übergeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940228</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 12 Dec 2005 13:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 13:49:21 GMT]]></title><description><![CDATA[<p>kk - dachte geht evlt. auch anders ^^!</p>
<p>hm, ich weiss das man zeilenweiße auslesen kann aber das funzt irgendwie net? wie geht das</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940231</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940231</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Mon, 12 Dec 2005 13:49:21 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 13:51:59 GMT]]></title><description><![CDATA[<p>wie gesagt, du mußt deinem Programm sagen, wo die Zeilenwechsel hinkommen:</p>
<pre><code class="language-cpp">fout&lt;&lt;&quot;Hallo\n&quot;;     // \n = ENTER
</code></pre>
<pre><code class="language-cpp">fout&lt;&lt;&quot;Hallo&quot;&lt;&lt;endl; // endl = &quot;End Line&quot; = Zeilenwechsel
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/940238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940238</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 12 Dec 2005 13:51:59 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 14:01:49 GMT]]></title><description><![CDATA[<p>ne ich mein, das program muss ja die vorhandene TEXT1 datei einlesen um dann die if fragen durchlaufen zu lassen, und da kann man doch irgendwie zeilenweiße die bedingungen durchlaufen lassen oder nisch?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940250</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Mon, 12 Dec 2005 14:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 14:06:10 GMT]]></title><description><![CDATA[<p>Worauf willst du denn hinaus? bei deiner &quot;if()...else if()...&quot; Konstruktion wird in jedem Schleifendurchlauf die erste Bedinungung genommen, die wahr ergibt. Deshalb sagte ich ja, du solltest die Bedingungen vertauschen:</p>
<pre><code class="language-cpp">if(zeile.find(&quot;Hallo du!&quot;)!=string::npos)
  fout &lt;&lt; &quot;hello you!\n&quot;;
else if(zeile.find(&quot;Hallo&quot;)!=string::npos)
  fout &lt;&lt; &quot;hello&quot;;
</code></pre>
<p>(btw könntest du auch auf == vergleichen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940255</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940255</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Mon, 12 Dec 2005 14:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 14:15:43 GMT]]></title><description><![CDATA[<p>hm jo ich habs getestet, aber dann geht irgendwie garnichts mehr?</p>
<p>edit etz gehts ^^</p>
<p>hab ma den CODEBLOCKS IDE verwendet .. arbeite normal mit dev c++! Soll ich bei codeblocks bleiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940262</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940262</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Mon, 12 Dec 2005 14:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Mon, 12 Dec 2005 14:21:38 GMT]]></title><description><![CDATA[<p>Andere Frage!</p>
<p>Ich hab ja ne Ifabfarge nach z.B. dem Wort HUND .. wenn in der datei hundeundkatzen.dat das wort HUND vorkommt woll es durch KATZE ersetzt werden! wie geht das?</p>
<p>Einlesen von hundeundkatzen.dat<br />
hunde durch katzen im text ersetzen!</p>
<p>Ausgeben von hundeundkatzen2.dat<br />
all right :)!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940276</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940276</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Mon, 12 Dec 2005 14:21:38 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 07:58:18 GMT]]></title><description><![CDATA[<p>Mein Code:</p>
<pre><code>#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin, zeile)) //zeilenweise einlesen

{

int sp_pos=zeile.find(' ');

string nummer=zeile.substr(0,sp_pos);//erster Abschnitt

zeile.erase(3,sp_pos+1);              //Restzeile

if(zeile.find(&quot;Hallo du!&quot;,0)!=string::npos)

{

  fout &lt;&lt; &quot;hello you!\n&quot;;

}

else if(zeile.find(&quot;Hallo&quot;,0)!=string::npos)

{

  fout &lt;&lt; &quot;hello&quot; &lt;&lt; endl;

}

else if(zeile.find(&quot;(compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;,0)!=string::npos)

{

    fout &lt;&lt; &quot;Wish This Were FireFox&quot;;

}

}
    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
<p>Gestern hat er noch wörter usw. ersetzt aber als ich dann irgendwie ich glaube es war bei der 3 IF abfrage .. als die diese einfügte ging irgendwie nix mehr die ausgegebene Datei is ständig leer :/!</p>
<p>und eig. sollen alle daten in die ausgegebene datei übernommen. Nur halt auch ausgetauscht oO</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940770</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940770</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 07:58:18 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 08:01:15 GMT]]></title><description><![CDATA[<p>Eventuell solltest du hinter dem letzten if()-Block noch ein &quot;else fout&lt;&lt;zeile&lt;&lt;endl;&quot; anhängen, damit er nicht erkannte Zeilen unverändert übernimmt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940771</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940771</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 13 Dec 2005 08:01:15 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 08:09:11 GMT]]></title><description><![CDATA[<p>ui danke :)! etz is da irgendwie nur nen prob! :| die ausgabe sieht jetzt so aus:</p>
<pre><code>12渱搀漀眀猀㬀 唀㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 攀渀ⴀ唀匀㬀 爀瘀㨀㄀⸀㜀⸀㔀⤀ 䜀攀挀欀漀⼀㈀　　㐀㄀㄀　㜀 䘀椀爀攀昀漀砀⼀㄀⸀　∀ഀഀ
228mpatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
਍㈀㠀㠀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀㬀 䤀 圀椀猀栀 吀栀椀猀 圀攀爀攀 䘀椀爀攀昀漀砀⸀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
355mpatible; MSIE 6.0; Windows NT 5.0)&quot;
਍㄀㤀　洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀⤀∀ഀഀ
135mpatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
਍㐀㤀　洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀⤀∀ഀഀ
150mpatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
਍㈀㌀㔀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
220mpatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
਍㈀㈀㜀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀㬀 䤀 圀椀猀栀 吀栀椀猀 圀攀爀攀 䘀椀爀攀昀漀砀⸀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
465mpatible; MSIE 6.0; Windows NT 5.1)&quot;
਍㌀㠀㤀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀⤀∀ഀഀ
277mpatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
਍㐀㈀㄀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀　㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
492mpatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
਍㌀㈀㄀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
510mpatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
਍㈀㤀㈀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀㬀 䤀 圀椀猀栀 吀栀椀猀 圀攀爀攀 䘀椀爀攀昀漀砀⸀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
269mpatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
਍㐀㠀㄀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀⤀∀ഀഀ
172mpatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
਍㈀㔀㜀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀㬀 䤀 圀椀猀栀 吀栀椀猀 圀攀爀攀 䘀椀爀攀昀漀砀⸀㬀 ⸀一䔀吀 䌀䰀刀 ㄀⸀㄀⸀㐀㌀㈀㈀⤀∀ഀഀ
548mpatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)&quot;
਍㄀㐀㐀洀瀀愀琀椀戀氀攀㬀 䴀匀䤀䔀 㘀⸀　㬀 圀椀渀搀漀眀猀 一吀 㔀⸀㄀㬀 匀嘀㄀⤀∀ഀഀ
</code></pre>
<p>nur das die ganzen zahlen usw. chinesishe zeichen bzw. so kontainer ergeben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940774</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 08:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 09:02:25 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin, zeile)) //zeilenweise einlesen

{

int sp_pos=zeile.find(' ');

string nummer=zeile.substr(0,sp_pos); //erster Abschnitt

zeile.erase(0,sp_pos++);              //Restzeile

if(zeile.find(&quot;Hallo du!&quot;,0)!=string::npos)

{

  fout &lt;&lt; &quot;hello you!\n&quot;;

}

else if(zeile.find(&quot;Hallo&quot;,0)!=string::npos)

{

  fout &lt;&lt; &quot;hello\n&quot; &lt;&lt; endl;

}

else if(zeile.find(&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)&quot;,0)!=string::npos)

{

    fout &lt;&lt; nummer &lt;&lt; &quot; &quot; &lt;&lt; zeile &lt;&lt; endl;

}

else fout &lt;&lt; zeile &lt;&lt; endl;

}

    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
<p>brauch schon wieder hilfe :{</p>
<p>Ich hab da jetzt nen prob... mal wieder -.-!</p>
<p>Ich hab es bis vor kurzem hinbekommen die Datei halbwegs so auszuschreiben wies gewollt ist...</p>
<p>NUMMER - NEUE ZEIELE<br />
NUMMER - ALTE ZEILE WENN KEINE ABFRAGE</p>
<p>... jetzt hab ich weiter probiert und nun gehts schon wieder nicht MAN! ich flipp aus :/!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940799</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 09:02:25 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 10:12:12 GMT]]></title><description><![CDATA[<p>keinen nen tipp? Was ich da falsch mache oda so <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/940838</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940838</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 10:12:12 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 11:45:34 GMT]]></title><description><![CDATA[<p>Wenn du die Nummer haben willst, mußt du sie auch ausgeben <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> (ein fout&lt;&lt;nummer&lt;&lt;&quot; - &quot;; vor dem Beginn der if()-Abfragen dürfte da reichen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/940924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/940924</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 13 Dec 2005 11:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 13:08:03 GMT]]></title><description><![CDATA[<p>hae wie(so) vor der if abfrage <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="😕"
    /> <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>
]]></description><link>https://www.c-plusplus.net/forum/post/941008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941008</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 13:08:03 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 13:47:14 GMT]]></title><description><![CDATA[<p>Wenn du es nach den if-Blöcken schreibst, landet die Zeilennummer an der falschen Stelle in der Ausgabedatei <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>alternativ kannst du auch die Ausgabe in jedem if-Block ergänzen:</p>
<pre><code>if(bed1)
  [b]fout&lt;&lt;nummer&lt;&lt;&quot; - &quot;[/b]&lt;&lt;ersatz1;
else if(bed2)
  [b]fout&lt;&lt;nummer&lt;&lt;&quot; - &quot;[/b]&lt;&lt;ersatz2;
else if...
  ...
else
  [b]fout&lt;&lt;nummer&lt;&lt;&quot; - &quot;[/b]&lt;&lt;zeile;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/941063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941063</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Tue, 13 Dec 2005 13:47:14 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 14:06:51 GMT]]></title><description><![CDATA[<p>so hab ich das doch :)!</p>
<p>aber.. ich lesee DATEI1 ein ins programm</p>
<p>'NUMMER' &gt; 'BROWSERTYP BEZEICHNUNG'</p>
<p>-------------------------</p>
<p>dann werden die if fragen durchgeklappert ... normaler weiße müsse es so ausehen</p>
<p>== 'NUMMER' &gt; 'KURZE BROWSERBESCHREIBUNG' ==</p>
<p>--- sieht aber so aus ---</p>
<p>'BROWSERTYP' 'BEZEICHNUNG'</p>
<p><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="😕"
    /> <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="😕"
    /> <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="😕"
    /> <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="😕"
    /> <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>EDIT;// Ich zeig nochma den Aktuellen Code:</p>
<p>( Die erste IF frage: Da hab ich was getestet klappt aber auch nicht.. und die 2te if abfrage ist so wie ichs von anfang an hatte)</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin, zeile)) //zeilenweise einlesen

{

string::size_type sp_pos = zeile.find(' ');

string nummer = zeile.substr(0,sp_pos); //erster Abschnitt

zeile.erase(0,sp_pos++);              //Restzeile

if(zeile.find(&quot;(compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)&quot;,0)!=string::npos)

{

       string FireFox17(&quot;Fire Fox 1.0.7&quot;);
       zeile.replace(sp_pos,FireFox17.length(),FireFox17);                     
       fout &lt;&lt; nummer &lt;&lt; ' ' &lt;&lt; zeile &lt;&lt; endl;               

}

else if(zeile.find(&quot;Mozilla/4.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)&quot;,0)!=string::npos)

{
       zeile = &quot;hallo3&quot;;
       fout &lt;&lt; nummer &lt;&lt; ' ' &lt;&lt; zeile &lt;&lt; endl;

}

else fout &lt;&lt; zeile &lt;&lt; endl;

}

    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/941085</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941085</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 14:06:51 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Tue, 13 Dec 2005 21:30:31 GMT]]></title><description><![CDATA[<p>Kann keiner helfen? Ich verzweifel echt <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/941497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941497</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Tue, 13 Dec 2005 21:30:31 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 08:36:38 GMT]]></title><description><![CDATA[<p>Ich frag nochma :/!</p>
<p>Kann mir hier keiner sagen wie ich eine Textzeile in einer Text datei lesen und ersetzen kann</p>
<p>z.B</p>
<p>Der hund und die Katze!</p>
<p>in</p>
<p>Hund und Katze!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/941654</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941654</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Wed, 14 Dec 2005 08:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 10:46:42 GMT]]></title><description><![CDATA[<p>Da eine Textdatei variable Satzlängen (zu Deutsch &quot;Textzeilen&quot;) enthält ist der einzig praktikable Weg das Schreiben einer neuen Textdatei mit den geänderten Zeilen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/941759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941759</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Wed, 14 Dec 2005 10:46:42 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 11:08:08 GMT]]></title><description><![CDATA[<p>na soweit sind wir doch schon längst</p>
<p>les dir ma meinen code duch und schau was ich falsch mache! Eig. sollte es so gehen aber tuts irgendwie net</p>
]]></description><link>https://www.c-plusplus.net/forum/post/941781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941781</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Wed, 14 Dec 2005 11:08:08 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 11:46:44 GMT]]></title><description><![CDATA[<p>dogeye schrieb:</p>
<blockquote>
<p>aber.. ich lesee DATEI1 ein ins programm</p>
<p>'NUMMER' &gt; 'BROWSERTYP BEZEICHNUNG'</p>
<p>dann werden die if fragen durchgeklappert ... normaler weiße müsse es so ausehen</p>
</blockquote>
<p>Direkt nach dem Auslesen dürfte beides zusammen in 'zeile' stehen - nach den Vorverarbeitungen (also am Beginn der if()-Kette) steht in 'nummer' die aktuelle Nummer und in 'zeile' der Teil 'BROWSERTYP BEZEICHNUNG'</p>
<blockquote>
<p>== 'NUMMER' &gt; 'KURZE BROWSERBESCHREIBUNG' ==</p>
</blockquote>
<p>Das erreicht du mit dem &quot;fout&lt;&lt;nummer&lt;&lt;' '&lt;&lt;...; innerhalb jedes if()-Abschnittes.</p>
<blockquote>
<p>'BROWSERTYP' 'BEZEICHNUNG'</p>
</blockquote>
<p>Erstens fehlt in der letzten Ausgabeanweisung (das unterste else) der Teil, der für die Nummern-Ausgabe zuständig ist. Und zweitens sehen deine Abfragen etwas zu spezifisch aus - wenn nur ein Zeichen nicht ganz stimmt, liefert die Bedingung false und du endest bei der Standard-Behandlung.</p>
<p>PS: Übrigens sind großes 'H' und kleines 'h' zwei verschiedene Zeichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/941816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941816</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 14 Dec 2005 11:46:44 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 11:51:07 GMT]]></title><description><![CDATA[<p>Ey sorry ich hab nen brett vorm kopf ich check ganix mehr wenn ich mir deine erleuterung so durch lese, lese ich das so als ob ich das schon habe im code? Oh man :/!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/941820</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941820</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Wed, 14 Dec 2005 11:51:07 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 12:03:55 GMT]]></title><description><![CDATA[<p>Ja, das habe ich aus deinem Code abgeleitet <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Dein Problem teilt sich in zwei Teile auf:<br />
a) dem letzten else fehlt die Ausgabe der Zeilennummer:</p>
<pre><code class="language-cpp">if()
  ...
else
  fout&lt;&lt;nummer&lt;&lt;' '&lt;&lt;zeile;//Default-Verhalten - wenn kein if() zugeschlagen hat
</code></pre>
<p>b) deine Vergleichsstrings sind möglicherweise zu spezifisch - da reicht schon ein Buchstabendreher oder ein vergessene Leerzeichen und find() findet den String nicht mehr wieder. (vielleicht wäre es angebracht, nach kürzeren Teilstücken zu suchen, notfalls mit &amp;&amp; kombiniert)</p>
<pre><code class="language-cpp">if(zeile.find(&quot;Hund&quot;)!=string::npos &amp;&amp; zeile.find(&quot;Katze&quot;)!=string::npos)
  //die Worte &quot;Hund&quot; UND &quot;Katze&quot; kommen vor
  fout&lt;&lt;nummer&lt;&lt;' '&lt;&lt;&quot;wie Hund und Katze\n&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/941834</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941834</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 14 Dec 2005 12:03:55 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 12:11:53 GMT]]></title><description><![CDATA[<p>hm jo das hab ich schon alles probiert :/!</p>
<pre><code class="language-cpp">#include &lt;cstdlib&gt;
#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main(int argc, char *argv[])

{

char fileName[80];

char buffer[255];

char newFileName[80];

cout &lt;&lt; &quot;Dateiname: &quot;; // Eingabe Welche Datei gelesen werden soll

cin &gt;&gt; fileName; // Variable für den Dateiname

cout &lt;&lt; &quot;Neuer Dateiname: &quot;;

cin &gt;&gt; newFileName;

ifstream fin(fileName); ofstream fout(newFileName);

string zeile;

while(getline(fin,zeile)) //zeilenweise einlesen

{

string::size_type sp_pos = zeile.find(' ');

string nummer = zeile.substr(1,sp_pos); //erster Abschnitt

zeile.erase(0,sp_pos+1);

if(sp_pos == (&quot;1.0.3705)&quot;,0)!=string::npos)

{
             zeile = &quot;FireFox 1.7&quot;;
             fout &lt;&lt; nummer &lt;&lt; ' ' &lt;&lt; zeile &lt;&lt; endl;

}

else if(sp_pos == (&quot;rv:1.7.5)&quot;,0)!=string::npos)

{
            zeile = &quot;hallo3&quot;;
            fout &lt;&lt; nummer &lt;&lt; ' ' &lt;&lt; zeile &lt;&lt; endl;

}

else        fout &lt;&lt; nummer &lt;&lt; ' ' &lt;&lt; zeile &lt;&lt; endl;

}

    system(&quot;PAUSE&quot;);
    return EXIT_SUCCESS;
}
</code></pre>
<p>das ist ein teil der Text datei: Wär kewl wenn du mal mein Proggy testen würdest evlt. siehst dann das was ich meine <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>
<pre><code>47	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
44	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; AtHome033; SV1)&quot;
558	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
73	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)&quot;
156	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)&quot;
54	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)&quot;
45	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
53	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
163	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
120	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)&quot;
358	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
48	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
122	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ESB{1AA6D75B-C13D-4056-C786-F394AF0C16C9}; ESB{17004370-938E-48BE-B146-8CAB5CC28F47}; SV1; .NET CLR 1.0.3705)&quot;
51	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
72	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
46	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&quot;
123	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; ZON)&quot;
90	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
94	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
76	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
430	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
93	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
236	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
50	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
71	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
49	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
117	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
100	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
97	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
333	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
401	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
127	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
104	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
52	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
113	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
512	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
487	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)&quot;
203	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
301	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
594	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
544	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)&quot;
403	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
509	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7&quot;
533	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
68	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
464	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
501	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
89	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Administrator; .NET CLR 1.1.4322)&quot;
456	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
110	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
107	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
101	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
591	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
70	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
563	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
98	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
109	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
112	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
485	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
69	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
468	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
111	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
106	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
405	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
99	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
102	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
373	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
280	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
86	&quot;Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)&quot;
162	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
84	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
201	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
331	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)&quot;
85	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
95	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
75	&quot;Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.11) Gecko/20050728&quot;
79	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
254	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&quot;
417	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
105	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7&quot;
81	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
87	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
103	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Het Net 4.0; SV1; .NET CLR 1.0.3705)&quot;
118	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
82	&quot;Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)&quot;
244	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
78	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705)&quot;
131	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
91	&quot;Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)&quot;
212	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
339	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705)&quot;
96	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
92	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
323	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
88	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
80	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
83	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
143	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
422	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
395	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
406	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
234	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
147	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; (R1 1.5))&quot;
382	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
167	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
319	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
215	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts-MyWay; .NET CLR 1.0.3705)&quot;
216	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
242	&quot;Mozilla/4.0 (compatible; MSIE 5.22; Mac_PowerPC)&quot;
543	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
498	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
168	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
556	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
290	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
202	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
404	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
230	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
393	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
265	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
211	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
595	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4&quot;
268	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
387	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
291	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
383	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
312	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
267	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
266	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
293	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
388	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
392	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
262	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
332	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
253	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
180	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
259	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
289	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
217	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; ZON)&quot;
121	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0&quot;
228	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
288	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
355	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)&quot;
190	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
135	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
490	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&quot;
150	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
235	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
220	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
227	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
465	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&quot;
389	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
277	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
421	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)&quot;
492	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
321	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
510	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)&quot;
292	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
269	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
481	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&quot;
172	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
257	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
548	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)&quot;
144	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
137	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.8) Gecko/20050511 Firefox/1.0.4&quot;
250	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
351	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
249	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
296	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; AtHome033)&quot;
270	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
132	&quot;Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7&quot;
283	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
460	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
445	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
491	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)&quot;
157	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7&quot;
138	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)&quot;
233	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
226	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
263	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
159	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
505	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
261	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
365	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
192	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
181	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705)&quot;
125	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
322	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
313	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MSOCD; SV1)&quot;
199	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
386	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
204	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
198	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)&quot;
119	&quot;Mozilla/5.0 (Macintosh; U; PPC Mac OS X; nl-nl) AppleWebKit/416.11 (KHTML, like Gecko) Safari/416.12&quot;
385	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
145	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
545	&quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.7.10) Gecko/20050717 Firefox/1.0.6&quot;
186	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
384	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; I Wish This Were Firefox.; .NET CLR 1.1.4322)&quot;
153	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
140	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
225	&quot;Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)&quot;
200	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)&quot;
191	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
148	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; provided by huisartsenposten; .NET CLR 1.1.4322)&quot;
161	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
173	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
170	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)&quot;
381	&quot;Mozilla/5.0 (Macintosh; U; PPC Mac OS X; nl-nl) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.11&quot;
166	&quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)&quot;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/941844</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941844</guid><dc:creator><![CDATA[PRIEST]]></dc:creator><pubDate>Wed, 14 Dec 2005 12:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to Ofstream - Kleines Prob!? on Wed, 14 Dec 2005 12:20:00 GMT]]></title><description><![CDATA[<p>dogeye schrieb:</p>
<blockquote>
<pre><code class="language-cpp">if(sp_pos == (&quot;1.0.3705)&quot;,0)!=string::npos)
</code></pre>
</blockquote>
<p>Wat'n das? Du fragst ab, ob sp_pos gleich Null ist und überprüfst das Ergebnis dieses Vergleichs (FALSE) mit string::npos.<br />
richtig sollte es wohl so heißen:</p>
<pre><code class="language-cpp">if(zeile.find(&quot;1.0.3705)&quot;)!=string::npos)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/941852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/941852</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 14 Dec 2005 12:20:00 GMT</pubDate></item></channel></rss>