<?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[case unsensitive mit umlautÄn?]]></title><description><![CDATA[<pre><code class="language-cpp">bool isupper(char ch)
{
	return (ch&gt;=65 &amp;&amp; ch&lt;=90);
}
bool islower(char ch)
{
	return (ch&gt;=97 &amp;&amp; ch&lt;=122);
}

///

int SearchChar(int firstpos, char *lpStrContent, char *lpStrString)
{
	for(int i=firstpos;i&lt;strlen(lpStrContent);++i)
	{
		for(int x=0;x&lt;strlen(lpStrString);++x)
		{
			if(isupper(lpStrContent[i+x]) &amp;&amp; islower(lpStrString[x]))
			{
				if(lpStrContent[i+x]+32 != lpStrString[x])
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
			else if(islower(lpStrContent[i+x]) &amp;&amp; isupper(lpStrString[x]))
			{
				if(lpStrContent[i+x] != lpStrString[x]+32)
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
			else
			{
				if(lpStrContent[i+x] != lpStrString[x])
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
		}
	}
	return -1;
}
</code></pre>
<p>hier werden aber leider die umlaute nich beachtet...wie kann ich die mit einbeziehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/78044/case-unsensitive-mit-umlautän</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 00:55:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/78044.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 27 Jun 2004 12:54:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to case unsensitive mit umlautÄn? on Sun, 27 Jun 2004 12:54:19 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">bool isupper(char ch)
{
	return (ch&gt;=65 &amp;&amp; ch&lt;=90);
}
bool islower(char ch)
{
	return (ch&gt;=97 &amp;&amp; ch&lt;=122);
}

///

int SearchChar(int firstpos, char *lpStrContent, char *lpStrString)
{
	for(int i=firstpos;i&lt;strlen(lpStrContent);++i)
	{
		for(int x=0;x&lt;strlen(lpStrString);++x)
		{
			if(isupper(lpStrContent[i+x]) &amp;&amp; islower(lpStrString[x]))
			{
				if(lpStrContent[i+x]+32 != lpStrString[x])
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
			else if(islower(lpStrContent[i+x]) &amp;&amp; isupper(lpStrString[x]))
			{
				if(lpStrContent[i+x] != lpStrString[x]+32)
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
			else
			{
				if(lpStrContent[i+x] != lpStrString[x])
				{
					x=strlen(lpStrString);
				}
				else if(x==strlen(lpStrString)-1)
				{
					return i;
				}
			}
		}
	}
	return -1;
}
</code></pre>
<p>hier werden aber leider die umlaute nich beachtet...wie kann ich die mit einbeziehen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548887</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548887</guid><dc:creator><![CDATA[pixartist]]></dc:creator><pubDate>Sun, 27 Jun 2004 12:54:19 GMT</pubDate></item><item><title><![CDATA[Reply to case unsensitive mit umlautÄn? on Sun, 27 Jun 2004 12:58:52 GMT]]></title><description><![CDATA[<p>Was hindert dich daran vorgefertigte Funktionen zu verwenden? (strstr)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548897</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548897</guid><dc:creator><![CDATA[Aziz]]></dc:creator><pubDate>Sun, 27 Jun 2004 12:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to case unsensitive mit umlautÄn? on Sun, 27 Jun 2004 14:05:36 GMT]]></title><description><![CDATA[<p>uppala gibts da was? ^^ ich guck mal nach strstr im msdn ^^<br />
edit:ja desis ja case sensitive ...<br />
edit2: strstrI<br />
<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="😞"
    /> mensch jetzt hab ich mir sone mühe gegeben ^^<br />
edit3: aber bei meiner funktion kann ich nen einstiegspunkt angeben....</p>
<p>also kann mir trotzdem jemand nen tip geben in welcher range die umlöäüöäte liegen? thx</p>
<p>äh btw</p>
<pre><code>D:\Programme\C++ files\MSDev98\MyProjects\test\main.cpp(86) : error C2065: 'StrStr' : nichtdeklarierter Bezeichner
D:\Programme\C++ files\MSDev98\MyProjects\test\main.cpp(87) : error C2065: 'StrStrI' : nichtdeklarierter Bezeichner
</code></pre>
<p>edit und wieso gibt strstr() nen char zurück????????????</p>
]]></description><link>https://www.c-plusplus.net/forum/post/548931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/548931</guid><dc:creator><![CDATA[pixartist]]></dc:creator><pubDate>Sun, 27 Jun 2004 14:05:36 GMT</pubDate></item></channel></rss>