H
Big1one1 schrieb:
Also, hab zwar nun das Prog. bei dem ein Text eingelesen wird, jedoch mit kleinen Fehlern...
Und zwar wenn ich z.B. als Text: "Hallo hallo llo allo" eingebe, und nach "hallo" suche, findet er es 2 mal, was ja auch richtig ist!
gebe ich jedoch "llo" zur Suche ein, findet er es 4 mal...
Ich weiß gar nicht, was Du willst:
Wenn Du gefragt wirst: Wie of kommt "llo" in dem Satz vor?
Was antwortest Du denn dann?
"Hallo hallo llo allo"
Also von mir würdest Du da auch viermal genannt bekommen, und deshalb funktioniert Dein Programm auch genau richtig...