<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6099632770968276569</id><updated>2011-04-21T12:30:12.035-07:00</updated><category term='reversing a string'/><category term='c code'/><category term='reverse'/><category term='palindrome.c'/><title type='text'>kinabuhing estudyante</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pagtuon.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pagtuon.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>inting</name><uri>http://www.blogger.com/profile/17181499089542754008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_AuihUCdvSbw/R5IYdXfz-YI/AAAAAAAAAAU/EvoJliJvHkM/S220/310315024l.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6099632770968276569.post-6368460725640439131</id><published>2008-05-18T04:08:00.000-07:00</published><updated>2008-05-18T04:17:46.927-07:00</updated><title type='text'>wrong spelling wrong!</title><content type='html'>here are some site with domain names almost the same&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;jjot.com and jjots.com&lt;/li&gt;&lt;li&gt;philippine.org and philippines.org&lt;/li&gt;&lt;li&gt;damn.net and damns.net&lt;/li&gt;&lt;li&gt;troubles.com and troubles.com&lt;/li&gt;&lt;li&gt;and some variations of friendster like friendster,friedstar.&lt;/li&gt;&lt;/ul&gt;so next time be careful of spelling coz where ever you are wrong spelling would never be correct!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6099632770968276569-6368460725640439131?l=pagtuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pagtuon.blogspot.com/feeds/6368460725640439131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6099632770968276569&amp;postID=6368460725640439131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/6368460725640439131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/6368460725640439131'/><link rel='alternate' type='text/html' href='http://pagtuon.blogspot.com/2008/05/wrong-spelling-wrong.html' title='wrong spelling wrong!'/><author><name>inting</name><uri>http://www.blogger.com/profile/17181499089542754008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_AuihUCdvSbw/R5IYdXfz-YI/AAAAAAAAAAU/EvoJliJvHkM/S220/310315024l.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6099632770968276569.post-4704381873953585868</id><published>2008-05-03T12:03:00.000-07:00</published><updated>2008-05-03T12:11:35.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reverse'/><category scheme='http://www.blogger.com/atom/ns#' term='c code'/><category scheme='http://www.blogger.com/atom/ns#' term='reversing a string'/><title type='text'>c code to reverse a string</title><content type='html'>&lt;span style="font-style: italic;"&gt;/*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;to reverse a string&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;stdio.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;string.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;stdlib.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;void stringReverse(char string[],int length);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;main()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int length;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    char text[80];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    printf("please enter the text:");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    gets(text);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    length=strlen(text);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    return EXIT_SUCCESS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;void stringReverse(char string[], int length)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int ctr=length-1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    while(ctr&gt;=0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        printf("%c", string[ctr]);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    printf("\n");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    return;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6099632770968276569-4704381873953585868?l=pagtuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pagtuon.blogspot.com/feeds/4704381873953585868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6099632770968276569&amp;postID=4704381873953585868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/4704381873953585868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/4704381873953585868'/><link rel='alternate' type='text/html' href='http://pagtuon.blogspot.com/2008/05/c-code-to-reverse-string.html' title='c code to reverse a string'/><author><name>inting</name><uri>http://www.blogger.com/profile/17181499089542754008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_AuihUCdvSbw/R5IYdXfz-YI/AAAAAAAAAAU/EvoJliJvHkM/S220/310315024l.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6099632770968276569.post-6091447458446438184</id><published>2008-05-03T11:58:00.000-07:00</published><updated>2008-05-03T12:03:36.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c code'/><category scheme='http://www.blogger.com/atom/ns#' term='palindrome.c'/><title type='text'>c code to determine if a string is a palindrome</title><content type='html'>its seems to be that most of my brain cells are unreachable at this moment so here are some stupid c code i have created. hehe.&lt;br /&gt;&lt;br /&gt;1. to determine if a string is a palindrome:&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;determines if a string is a palindrome&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;stdio.h&gt;&lt;br /&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;string.h&gt;&lt;br /&gt;&lt;/string.h&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;#include  &lt;stdlib.h&gt;&lt;string.h&gt;&lt;/string.h&gt;&lt;/stdlib.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;int isPalindrome(char string[],int length);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;main()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int length;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    char text[80];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    printf("please enter the text:");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    gets(text);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    length=strlen(text);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    if(isPalindrome(text, length))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        printf("yes it is a palindrome.\n");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    else &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        printf("sorry its not a palindrome.\n");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    return EXIT_SUCCESS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;int isPalindrome(char string[], int length)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int ctr=length-1; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int i;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    int value=0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    for(i=0;i&lt;=ctr/2;i++)     &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        if(string[i] != string[ctr])&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            break;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;        else value=1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;    return value;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;obviously the teacher will doubt if the code if its really yours when they saw the statement &lt;span style="font-style: italic;"&gt;return EXIT_SUCCESS&lt;/span&gt; so if your a beginner just like me try something else so that your teacher wont bother you. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6099632770968276569-6091447458446438184?l=pagtuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pagtuon.blogspot.com/feeds/6091447458446438184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6099632770968276569&amp;postID=6091447458446438184' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/6091447458446438184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6099632770968276569/posts/default/6091447458446438184'/><link rel='alternate' type='text/html' href='http://pagtuon.blogspot.com/2008/05/c-code-to-determine-if-string-is.html' title='c code to determine if a string is a palindrome'/><author><name>inting</name><uri>http://www.blogger.com/profile/17181499089542754008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp0.blogger.com/_AuihUCdvSbw/R5IYdXfz-YI/AAAAAAAAAAU/EvoJliJvHkM/S220/310315024l.jpg'/></author><thr:total>0</thr:total></entry></feed>
