<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oue&#039;s profile &#187; C++</title>
	<atom:link href="http://www.aspgod.com/tag/c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.aspgod.com</link>
	<description>AI algorithm graphics programming blog Firefox ff</description>
	<lastBuildDate>Fri, 20 Jan 2012 16:59:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>string.Equals compare with string.Compare Asp.Net</title>
		<link>http://www.aspgod.com/aspnet/string-equals-compare-with-string-compare-asp-net.html</link>
		<comments>http://www.aspgod.com/aspnet/string-equals-compare-with-string-compare-asp-net.html#comments</comments>
		<pubDate>Fri, 28 Aug 2009 02:54:18 +0000</pubDate>
		<dc:creator>aspgod</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[case sensitive]]></category>
		<category><![CDATA[string compare]]></category>

		<guid isPermaLink="false">http://www.aspgod.com/myprofile/?p=320</guid>
		<description><![CDATA[When compare the string with not sure that the case of the string like (&#8220;aAa&#8221;, &#8220;aaa&#8221;, &#8220;AAA&#8221;). Normally I used the string.ToLower() to manage this problem but there&#8217;re many way to solved this. Look at my code below. 1 string.Compare&#40;s1, s2, true&#41; This function return integer. s1 > s2 then return 1 s1 < s2 [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>When compare the string with not sure that the case of the string like (&#8220;aAa&#8221;, &#8220;aaa&#8221;, &#8220;AAA&#8221;). Normally I used the string.ToLower() to manage this problem but there&#8217;re many way to solved this. Look at my code below.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Compare</span><span style="color: #008000;">&#40;</span>s1, s2, <span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span></pre></td></tr></table></div>

<p>This function return integer.<br />
s1 > s2 then return 1<br />
s1 < s2 then return -1<br />
s1 = s2 then return 0<br />
The 3rd pamerater is the "ignoreCase" then set it true to non-case sensitive</p>
<p><strong>Example</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #6666cc; font-weight: bold;">string</span> s1 <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;aAa&quot;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>s1<span style="color: #008000;">.</span><span style="color: #0000FF;">Equals</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;aaa&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span> <span style="color: #008080; font-style: italic;">// false because the case sensitive</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #008080; font-style: italic;">// do something</span>
<span style="color: #008000;">&#125;</span>
<span style="color: #0600FF; font-weight: bold;">else</span> <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>s1 <span style="color: #008000;">==</span> <span style="color: #666666;">&quot;aaa&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #008080; font-style: italic;">// false because the case sensitive</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #008080; font-style: italic;">// do something</span>
<span style="color: #008000;">&#125;</span>
<span style="color: #0600FF; font-weight: bold;">else</span> <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Compare</span><span style="color: #008000;">&#40;</span>s1, <span style="color: #666666;">&quot;aaa&quot;</span>, <span style="color: #0600FF; font-weight: bold;">true</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">==</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">&#41;</span> <span style="color: #008080; font-style: italic;">// true enable non-case sensitive</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #008080; font-style: italic;">// do something</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aspgod.com/aspnet/string-equals-compare-with-string-compare-asp-net.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double Linked List</title>
		<link>http://www.aspgod.com/project/ai/double-linked-list.html</link>
		<comments>http://www.aspgod.com/project/ai/double-linked-list.html#comments</comments>
		<pubDate>Fri, 24 Apr 2009 19:47:38 +0000</pubDate>
		<dc:creator>aspgod</dc:creator>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[data structure]]></category>

		<guid isPermaLink="false">http://www.aspgod.com/myprofile/?p=33</guid>
		<description><![CDATA[This project show how to keep the object with double linked list How to : The input parameter is 1. add &#8211; add text to linked list 2. remove &#8211; remove text from linked list 3. print &#8211; display result of linked list. the answer will sort by age Enter the command to operate with [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This project show how to keep the object with double linked list</p>
<p><img src="http://www.aspgod.com/file/images/doublellprog.png" alt="Double Linked List Example" /><span id="more-33"></span></p>
<p><strong>How to :</strong><br />
The input parameter is<br />
1. add &#8211; add text to linked list<br />
2. remove &#8211; remove text from linked list<br />
3. print &#8211; display result of linked list. the answer will sort by age<br />
Enter the command to operate with linked list.</p>
<p><strong>Tools &amp; Knowledge :</strong><br />
1. C++<br />
2. data structure<br />
3. double linked list<br />
4. pointer</p>
<p><strong>Reqirement : </strong><br />
1. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=en" target="_blank">Microsoft .Net Framework 2.0</a> (22.4 MB)<br />
2. windows</p>
<p><strong>Download :</strong><br />
1. <a href="http://www.aspgod.com/file/doublelinkedlist.rar">Double Linked List</a></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.aspgod.com/project/ai/double-linked-list.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

