<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Vittbookpro</title>
		<link>http://vittbookpro.com/</link>
		<description></description>
		<lastBuildDate>Thu, 21 May 2020 13:02:24 GMT</lastBuildDate>
		<generator>uCoz Web-Service</generator>
		<atom:link href="https://vittbookpro.ucoz.com/news/rss" rel="self" type="application/rss+xml" />
		
		<item>
			<title>Important Notice: Discontinuing our services.</title>
			<description>&lt;p&gt;It&apos;s indeed sad that we&apos;ve stopped our operations for the past two years. We&apos;re trying our best to bring back the services you enjoyed in a new-fashioned way which promotes our community farther.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Though we&apos;ve stopped our services past 2 years ago, it was brought to my attention that some users are using our modules for fraud and are monetizing our content for their gain.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Therefore, with immediate effect, all the users registered after our exit are terminated and our earlier community of 12589 users will be archived and uneditable in the database.&lt;/p&gt;

&lt;p&gt;All the web content, blogs, entries, videos, and sessions will be DELETED except for our basic game programs. Those programs were my first pillars to start this revolution. That bondage prevents me from the deletion of those programs and this website as a whole.&lt;/p&gt;</description>
			<content:encoded>&lt;p&gt;It&apos;s indeed sad that we&apos;ve stopped our operations for the past two years. We&apos;re trying our best to bring back the services you enjoyed in a new-fashioned way which promotes our community farther.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Though we&apos;ve stopped our services past 2 years ago, it was brought to my attention that some users are using our modules for fraud and are monetizing our content for their gain.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Therefore, with immediate effect, all the users registered after our exit are terminated and our earlier community of 12589 users will be archived and uneditable in the database.&lt;/p&gt;

&lt;p&gt;All the web content, blogs, entries, videos, and sessions will be DELETED except for our basic game programs. Those programs were my first pillars to start this revolution. That bondage prevents me from the deletion of those programs and this website as a whole.&lt;/p&gt;</content:encoded>
			<link>https://vittbookpro.ucoz.com/news/important_notice_discontinuing_our_services/2020-05-21-8</link>
			<dc:creator>Chinnu</dc:creator>
			<guid>https://vittbookpro.ucoz.com/news/important_notice_discontinuing_our_services/2020-05-21-8</guid>
			<pubDate>Thu, 21 May 2020 13:02:24 GMT</pubDate>
		</item>
		<item>
			<title>C++ Program for MINESWEEPER</title>
			<description>// MINESWEEPER &lt;br /&gt; void main() &lt;br /&gt; { &lt;br /&gt; int b; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;Enter number of squares per side (2 - 10)&quot; &lt;&lt; endl; &lt;br /&gt; cin &gt;&gt; b; &lt;br /&gt; }while(b &lt; 1 &amp;&amp; b &gt;= 10); &lt;br /&gt; int board[b][b]; //0 - 8 = # of mines, 9 is mine &lt;br /&gt; int revealed[b][b]; //1 is revealed &lt;br /&gt; int i = 0; &lt;br /&gt; int j = 0; &lt;br /&gt; int x = 0; &lt;br /&gt; int y = 0; &lt;br /&gt; int z; //number of mines &lt;br /&gt; int q; &lt;br /&gt; int t = 0; //game over input &lt;br /&gt; int dead = 0; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;How many mines? (1 - &quot; &lt;&lt; ((b*b)-1) &lt;&lt; &quot;)&quot; &lt;&lt; endl; &lt;br /&gt; cin &gt;&gt; z; &lt;br /&gt; }while(z &lt;= 0 &amp;&amp; z &gt;= ((b*b)-1)); &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; board[i][j] = 0; &lt;br /&gt; i = random(i, b); &lt;br /&gt; j = random(j, b); &lt;br /&gt; cout &lt;&lt; &quot;Generating board...&quot; &lt;&lt; endl; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; i+=3; &lt;br /&gt; j+=6; &lt;br /&gt; x = random(i, b); &lt;br /&gt; y = random(j, b); &lt;br /&gt; if(board[y][x] != 9) &lt;br /&gt; { &lt;br /&gt; board[y][x] = 9; &lt;br...</description>
			<content:encoded>// MINESWEEPER &lt;br /&gt; void main() &lt;br /&gt; { &lt;br /&gt; int b; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;Enter number of squares per side (2 - 10)&quot; &lt;&lt; endl; &lt;br /&gt; cin &gt;&gt; b; &lt;br /&gt; }while(b &lt; 1 &amp;&amp; b &gt;= 10); &lt;br /&gt; int board[b][b]; //0 - 8 = # of mines, 9 is mine &lt;br /&gt; int revealed[b][b]; //1 is revealed &lt;br /&gt; int i = 0; &lt;br /&gt; int j = 0; &lt;br /&gt; int x = 0; &lt;br /&gt; int y = 0; &lt;br /&gt; int z; //number of mines &lt;br /&gt; int q; &lt;br /&gt; int t = 0; //game over input &lt;br /&gt; int dead = 0; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;How many mines? (1 - &quot; &lt;&lt; ((b*b)-1) &lt;&lt; &quot;)&quot; &lt;&lt; endl; &lt;br /&gt; cin &gt;&gt; z; &lt;br /&gt; }while(z &lt;= 0 &amp;&amp; z &gt;= ((b*b)-1)); &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; board[i][j] = 0; &lt;br /&gt; i = random(i, b); &lt;br /&gt; j = random(j, b); &lt;br /&gt; cout &lt;&lt; &quot;Generating board...&quot; &lt;&lt; endl; &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; i+=3; &lt;br /&gt; j+=6; &lt;br /&gt; x = random(i, b); &lt;br /&gt; y = random(j, b); &lt;br /&gt; if(board[y][x] != 9) &lt;br /&gt; { &lt;br /&gt; board[y][x] = 9; &lt;br /&gt; z--; &lt;br /&gt; if((y-1) &gt;= 0) &lt;br /&gt; if(board[y-1][x] != 9) &lt;br /&gt; board[y-1][x]++; &lt;br /&gt; if((y-1) &gt;= 0 &amp;&amp; (x-1) &gt;= 0) &lt;br /&gt; if(board[y-1][x-1] != 9) &lt;br /&gt; board[y-1][x-1]++; &lt;br /&gt; if((x-1) &gt;= 0) &lt;br /&gt; if(board[y][x-1] != 9) &lt;br /&gt; board[y][x-1]++; &lt;br /&gt; if((y+1) &lt; b) &lt;br /&gt; if(board[y+1][x] != 9) &lt;br /&gt; board[y+1][x]++; &lt;br /&gt; if((y+1) &lt; b &amp;&amp; (x+1) &lt; b) &lt;br /&gt; if(board[y+1][x+1] != 9) &lt;br /&gt; board[y+1][x+1]++; &lt;br /&gt; if((x+1) &lt; b) &lt;br /&gt; if(board[y][x+1] != 9) &lt;br /&gt; board[y][x+1]++; &lt;br /&gt; if((y-1) &gt;= 0 &amp;&amp; (x+1) &lt; b) &lt;br /&gt; if(board[y-1][x+1] != 9) &lt;br /&gt; board[y-1][x+1]++; &lt;br /&gt; if((y+1) &lt; b &amp;&amp; (x-1) &gt;= 0) &lt;br /&gt; if(board[y+1][x-1] != 9) &lt;br /&gt; board[y+1][x-1]++; &lt;br /&gt; } &lt;br /&gt; }while(z&gt;0); &lt;br /&gt; for(i = 0; i &lt; b; i++) &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; revealed[i][j]=0; &lt;br /&gt; //board creation end &lt;br /&gt; //ask for input/check squares loop &lt;br /&gt; do &lt;br /&gt; { &lt;br /&gt; system (&quot;clear&quot;); &lt;br /&gt; q = 0; &lt;br /&gt; z = 0; &lt;br /&gt; cout &lt;&lt; &quot; &quot;; &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; cout &lt;&lt; i &lt;&lt; &quot; &quot;; &lt;br /&gt; cout &lt;&lt; endl; &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; { &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; { &lt;br /&gt; if(j==0) &lt;br /&gt; cout &lt;&lt; i &lt;&lt; &quot; |&quot;; &lt;br /&gt; if(revealed[i][j]==1) &lt;br /&gt; reveal(board[i][j]); &lt;br /&gt; else &lt;br /&gt; cout &lt;&lt; &quot;_|&quot;; &lt;br /&gt; if(j==(b-1)) &lt;br /&gt; cout &lt;&lt; endl; &lt;br /&gt; if(board[i][j]!=9 &amp;&amp; revealed[i][j]==1) &lt;br /&gt; q++; &lt;br /&gt; if(board[i][j] == 9) &lt;br /&gt; z++; &lt;br /&gt; } &lt;br /&gt; } &lt;br /&gt; if(q &gt;= ((b*b) - z)) &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;You win!&quot; &lt;&lt; endl; &lt;br /&gt; dead = 1; &lt;br /&gt; } &lt;br /&gt; if(dead == 0) &lt;br /&gt; { &lt;br /&gt; cout &lt;&lt; &quot;X: &quot;; &lt;br /&gt; cin &gt;&gt; x; &lt;br /&gt; cout &lt;&lt; &quot;Y: &quot;; &lt;br /&gt; cin &gt;&gt; y; &lt;br /&gt; } &lt;br /&gt; if(board[y][x] == 9) &lt;br /&gt; { &lt;br /&gt; system (&quot;clear&quot;); &lt;br /&gt; cout &lt;&lt; &quot;You hit a mine!&quot; &lt;&lt; endl; &lt;br /&gt; cout &lt;&lt; &quot; &quot;; &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; cout &lt;&lt; i &lt;&lt; &quot; &quot;; &lt;br /&gt; cout &lt;&lt; endl; &lt;br /&gt; dead = 1; &lt;br /&gt; for(i=0; i&lt;b; i++) &lt;br /&gt; { &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; { &lt;br /&gt; if(j==0) &lt;br /&gt; cout &lt;&lt; i &lt;&lt; &quot; |&quot;; &lt;br /&gt; if(board[i][j]==9) &lt;br /&gt; revealed[i][j]=1; &lt;br /&gt; if(revealed[i][j]==1) &lt;br /&gt; reveal(board[i][j]); &lt;br /&gt; else &lt;br /&gt; cout &lt;&lt; &quot;_|&quot;; &lt;br /&gt; if(j==(b-1)) &lt;br /&gt; cout &lt;&lt; endl; &lt;br /&gt; } &lt;br /&gt; } &lt;br /&gt;&lt;br /&gt; } &lt;br /&gt; if(board[y][x]==0) &lt;br /&gt; { &lt;br /&gt; revealed[y][x] = 1; &lt;br /&gt; for(i=0;i&lt;b;i++) &lt;br /&gt; { &lt;br /&gt; for(j=0;j&lt;b;j++) &lt;br /&gt; { &lt;br /&gt; if(i&gt;(y-2)&amp;&amp;i&lt;(y+2)) &lt;br /&gt; if(j&gt;(x-2)&amp;&amp;j&lt;(x+2)) &lt;br /&gt; if(board[i][j]!=9) &lt;br /&gt; revealed[i][j]=1; &lt;br /&gt; } &lt;br /&gt; } &lt;br /&gt; } &lt;br /&gt; if(board[y][x]&gt;0 &amp;&amp; board[y][x]&lt;9) &lt;br /&gt; revealed[y][x] = 1; &lt;br /&gt; } while(dead == 0); &lt;br /&gt; if (dead == 1) &lt;br /&gt; replay(); &lt;br /&gt; } &lt;br /&gt;&lt;br /&gt; void replay() &lt;br /&gt; { &lt;br /&gt; char a; &lt;br /&gt; cout &lt;&lt; &quot;1) Replay 2) Quit&quot; &lt;&lt; endl; &lt;br /&gt; cin &gt;&gt; a; &lt;br /&gt; switch(a) &lt;br /&gt; { &lt;br /&gt; case &apos;1&apos;: &lt;br /&gt; main(); &lt;br /&gt; break; &lt;br /&gt; case &apos;2&apos;: &lt;br /&gt; cout &lt;&lt; &quot;Quit&quot; &lt;&lt; endl; &lt;br /&gt; break; &lt;br /&gt; default: &lt;br /&gt; cout &lt;&lt; &quot;Invalid input&quot; &lt;&lt; endl; &lt;br /&gt; replay(); &lt;br /&gt; break; &lt;br /&gt; } &lt;br /&gt; } &lt;br /&gt;&lt;br /&gt; void reveal(int x) &lt;br /&gt; { &lt;br /&gt; if(x == 0) &lt;br /&gt; cout &lt;&lt; &quot;o|&quot;; &lt;br /&gt; else if(x == 9) &lt;br /&gt; cout &lt;&lt; &quot;x|&quot;; &lt;br /&gt; else &lt;br /&gt; cout &lt;&lt; x &lt;&lt; &quot;|&quot;; &lt;br /&gt; } &lt;br /&gt;&lt;br /&gt; int random(int i, int b) &lt;br /&gt; { &lt;br /&gt; long ran; &lt;br /&gt; int t = time(0); &lt;br /&gt; int s; &lt;br /&gt; srand(t); &lt;br /&gt; s = ran; &lt;br /&gt; ran = rand(); &lt;br /&gt; ran &gt;&gt;= ran / (ran * i) + (i * 1337); &lt;br /&gt; ran = ran % b; &lt;br /&gt; return ran; &lt;br /&gt; }</content:encoded>
			<link>https://vittbookpro.ucoz.com/news/c_program_for_minesweeper/2014-06-13-7</link>
			<dc:creator>Chinnu1</dc:creator>
			<guid>https://vittbookpro.ucoz.com/news/c_program_for_minesweeper/2014-06-13-7</guid>
			<pubDate>Fri, 13 Jun 2014 17:07:12 GMT</pubDate>
		</item>
		<item>
			<title>C++ Program for HANGMAN</title>
			<description>&lt;div&gt;
&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;
&lt;font face=&quot;Verdana, Tahoma, Arial&quot;&gt;&lt;span style=&quot;white-space: normal; background-color: rgba(255, 255, 255, 0);&quot;&gt;&lt;span class=&quot;pre&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
#include &lt;iostream&amp;gt;

#include &lt;cstdlib&amp;gt;

#include&lt;ctime&amp;gt;

#include &lt;string&amp;gt;

&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;using namespace&lt;/span&gt; std&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; int&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;
&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
int&lt;/span&gt; letterFill&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;&lt;span class=&quot;type&quot; sty...</description>
			<content:encoded>&lt;div&gt;
&lt;pre style=&quot;margin-top: 0px; margin-bottom: 0px; padding: 0px;&quot;&gt;
&lt;font face=&quot;Verdana, Tahoma, Arial&quot;&gt;&lt;span style=&quot;white-space: normal; background-color: rgba(255, 255, 255, 0);&quot;&gt;&lt;span class=&quot;pre&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
#include &lt;iostream&amp;gt;

#include &lt;cstdlib&amp;gt;

#include&lt;ctime&amp;gt;

#include &lt;string&amp;gt;

&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;using namespace&lt;/span&gt; std&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; int&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;
&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
int&lt;/span&gt; letterFill&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;char&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; string&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; string&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;amp;);
&lt;/span&gt;
&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
int&lt;/span&gt;&lt;span class=&quot;keyword&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; main&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; ()

{&lt;/span&gt;

 string name&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 char&lt;/span&gt; letter&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 int&lt;/span&gt; num_of_wrong_guesses&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 string word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 string words&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;[] =
 {&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;india&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;pakistan&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;nepal&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;malaysia&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;philippines&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;australia&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;iran&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;ethiopia&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;oman&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 &quot;indonesia&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 };&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;

 //choose and copy a word from array of words randomly
&lt;/span&gt; srand&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;time&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;NULL&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 int&lt;/span&gt; n&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;rand&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;()%&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; 10&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;words&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;n&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 
 // Initialize the secret word with the * character.
&lt;/span&gt; string unknown&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;length&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(),&lt;/span&gt;&lt;span class=&quot;char&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&apos;*&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // welcome the user

&lt;/span&gt; cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;nWelcome to hangman...Guess a country Name&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;nEach letter is represented by a star.&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;
&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;nYou have to type only one letter in one try&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;nYou have &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot; tries to try and guess the word.&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;
&lt;/span&gt;cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // Loop until the guesses are used up

&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; while&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;num_of_wrong_guesses&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)

 {&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;n&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; unknown&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;n&amp;#92;nGuess a letter: &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cin&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &amp;gt;&amp;gt;&lt;/span&gt; letter&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // Fill secret word with letter if the guess is correct,

 // otherwise increment the number of wrong guesses.

&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; if&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;letterFill&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;letter&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; unknown&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)==&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)

{
&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;Whoops! That letter isn&apos;t in there!&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;
 num_of_wrong_guesses&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;++;

 }&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 else
&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
 {&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;You found a letter! Isn&apos;t that exciting!&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;

 }&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // Tell user how many guesses has left.

&lt;/span&gt; cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;You have &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; -&lt;/span&gt; num_of_wrong_guesses&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot; guesses left.&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // Check if user guessed the word.

&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; if&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;==&lt;/span&gt;unknown&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)

 {&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;Yeah! You got it!&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 break&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;

 }

 }&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 if&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;num_of_wrong_guesses&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; ==&lt;/span&gt; MAX_TRIES&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)

 {&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;&amp;#92;nSorry, you lose...you&apos;ve been hanged.&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &quot;The word was : &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; word&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;

 }&lt;/span&gt;

 cin&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;ignore&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;

 cin&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; 0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;

}
&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;

/* Take a one character guess and the secret word, and fill in the
 unfinished guessword. Returns number of characters matched.
 Also, returns zero if the character is already guessed. */&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;


int&lt;/span&gt; letterFill&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;char&lt;/span&gt; guess&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; string secretword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt; string&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; &amp;amp;&lt;/span&gt;guessword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;)

{&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 int&lt;/span&gt; i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 int&lt;/span&gt; matches&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 int&lt;/span&gt; len&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;secretword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;length&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 for&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; 0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt; i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;&lt;/span&gt; len&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt; i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;++)

 {&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;

 // Did we already match this letter in a previous guess?

&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; if&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;guess&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; ==&lt;/span&gt; guessword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; 0&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;comment&quot; style=&quot;margin: 0px; padding: 0px; font-style: italic;&quot;&gt;
 // Is the guess in the secret word?

&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; if&lt;/span&gt;&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; (&lt;/span&gt;guess&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt; ==&lt;/span&gt; secretword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;])

 {&lt;/span&gt;

 guessword&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;i&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;] =&lt;/span&gt; guess&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;
 matches&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;++;

 }

 }&lt;/span&gt;&lt;span class=&quot;flow&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;

 return&lt;/span&gt; matches&lt;span class=&quot;operator&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;;

}&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/pre&gt;
&lt;/div&gt;</content:encoded>
			<link>https://vittbookpro.ucoz.com/news/c_program_for_hangman/2014-03-21-3</link>
			<dc:creator>Chinnu</dc:creator>
			<guid>https://vittbookpro.ucoz.com/news/c_program_for_hangman/2014-03-21-3</guid>
			<pubDate>Fri, 21 Mar 2014 12:48:14 GMT</pubDate>
		</item>
		<item>
			<title>C++ Program for TIC-TAC-TOE</title>
			<description>&lt;div class=&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot; id=&quot;tabs-2&quot;&gt;
&lt;pre&gt;
&lt;span class=&quot;pre&quot;&gt;#include &lt;iostream&amp;gt;
&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;using &lt;span class=&quot;n3y56lxor0i&quot; id=&quot;n3y56lxor0i_4&quot;&gt;namespace&lt;/span&gt;&lt;/span&gt; std&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

char&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] = {&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;o&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;1&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;2&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;3&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;4&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;5&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;6&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;7&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;8&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,...</description>
			<content:encoded>&lt;div class=&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot; id=&quot;tabs-2&quot;&gt;
&lt;pre&gt;
&lt;span class=&quot;pre&quot;&gt;#include &lt;iostream&amp;gt;
&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;using &lt;span class=&quot;n3y56lxor0i&quot; id=&quot;n3y56lxor0i_4&quot;&gt;namespace&lt;/span&gt;&lt;/span&gt; std&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

char&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] = {&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;o&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;1&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;2&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;3&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;4&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;5&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;6&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;7&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;8&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;char&quot;&gt;&apos;9&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;};&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

int&lt;/span&gt; checkwin&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;
void&lt;/span&gt; board&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

int&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt; main&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;()
{&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;
 int&lt;/span&gt; player&lt;span class=&quot;operator&quot;&gt; =&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;i&lt;span class=&quot;operator&quot;&gt;,&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

 char&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 do&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;
 {&lt;/span&gt;
 board&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;
 player&lt;span class=&quot;operator&quot;&gt;=(&lt;/span&gt;player&lt;span class=&quot;operator&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)?&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;Player &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; player&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;, enter a number: &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;
 cin&lt;span class=&quot;operator&quot;&gt; &amp;gt;&amp;gt;&lt;/span&gt; choice&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 mark&lt;span class=&quot;operator&quot;&gt;=(&lt;/span&gt;player&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;) ?&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;X&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; :&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;O&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;1&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;2&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;3&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;4&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;5&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;6&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;7&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;8&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;choice&lt;span class=&quot;operator&quot;&gt; ==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;9&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] =&lt;/span&gt; mark&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;
 {&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt;&lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;&quot;Invalid move &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 player&lt;span class=&quot;operator&quot;&gt;--;&lt;/span&gt;
 cin&lt;span class=&quot;operator&quot;&gt;.&lt;/span&gt;ignore&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;
 cin&lt;span class=&quot;operator&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;operator&quot;&gt;();
 }&lt;/span&gt;
 i&lt;span class=&quot;operator&quot;&gt;=&lt;/span&gt;checkwin&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;

 player&lt;span class=&quot;operator&quot;&gt;++;
 }&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;(&lt;/span&gt;i&lt;span class=&quot;operator&quot;&gt;==-&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;);&lt;/span&gt;
 board&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;(&lt;/span&gt;i&lt;span class=&quot;operator&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt;&lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;&quot;==&amp;gt;&amp;#92;aPlayer &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;&lt;&lt;--&lt;/span&gt;player&lt;span class=&quot;operator&quot;&gt;&lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;&quot; win &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt;&lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;&quot;==&amp;gt;&amp;#92;aGame draw&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cin&lt;span class=&quot;operator&quot;&gt;.&lt;/span&gt;ignore&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;
 cin&lt;span class=&quot;operator&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;operator&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 0&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;
}&lt;/span&gt;&lt;span class=&quot;comment&quot;&gt;

/*********************************************

 FUNCTION TO RETURN GAME STATUS
 1 FOR GAME IS OVER WITH RESULT
 -1 FOR GAME IS IN PROGRESS
 O GAME IS OVER AND NO RESULT
**********************************************/&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;

int&lt;/span&gt; checkwin&lt;span class=&quot;operator&quot;&gt;()
{&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] ==&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else if&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; (&lt;/span&gt;square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;1&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;2&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;3&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; 
 &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;4&apos;&lt;/span&gt; &lt;span class=&quot;operator&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;5&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;6&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; 
 &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;7&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;8&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &amp;amp;&amp;amp;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] !=&lt;/span&gt;&lt;span class=&quot;char&quot;&gt; &apos;9&apos;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;

 return&lt;/span&gt;&lt;span class=&quot;int&quot;&gt; 0&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;flow&quot;&gt;
 else
 return&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;
}&lt;/span&gt;&lt;span class=&quot;comment&quot;&gt;


/*******************************************************************
 FUNCTION TO DRAW BOARD OF TIC TAC TOE WITH PLAYERS MARK
********************************************************************/&lt;/span&gt;&lt;span class=&quot;type&quot;&gt;


void&lt;/span&gt; board&lt;span class=&quot;operator&quot;&gt;()
{&lt;/span&gt;
 system&lt;span class=&quot;operator&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;&quot;cls&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;);&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;&amp;#92;n&amp;#92;n&amp;#92;tTic Tac Toe&amp;#92;n&amp;#92;n&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;Player 1 (X) - Player 2 (O)&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;_____|_____|_____&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot;_____|_____|_____&quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;
 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; square&lt;span class=&quot;operator&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;int&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt;] &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;&lt;/span&gt;

 cout&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt;&lt;span class=&quot;string&quot;&gt; &quot; | | &quot;&lt;/span&gt;&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt; &lt;&lt;&lt;/span&gt; endl&lt;span class=&quot;operator&quot;&gt;;
}&lt;/span&gt;&lt;span class=&quot;comment&quot;&gt;

/*******************************************************************
 END OF PROJECT
********************************************************************/&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;</content:encoded>
			<link>https://vittbookpro.ucoz.com/news/c/2014-03-15-2</link>
			<dc:creator>Chinnu</dc:creator>
			<guid>https://vittbookpro.ucoz.com/news/c/2014-03-15-2</guid>
			<pubDate>Sat, 15 Mar 2014 16:53:02 GMT</pubDate>
		</item>
		<item>
			<title>Sai Vittal B</title>
			<description>&lt;p&gt;This is me who created this website.If you have any queries, reach me out at&amp;nbsp;Facebook profile name -&amp;nbsp;Sai Vittal B.&lt;/p&gt;</description>
			<content:encoded>&lt;p&gt;This is me who created this website.If you have any queries, reach me out at&amp;nbsp;Facebook profile name -&amp;nbsp;Sai Vittal B.&lt;/p&gt;</content:encoded>
			<link>https://vittbookpro.ucoz.com/news/sai_vittal_b/2012-09-01-1</link>
			<dc:creator>Chinnu</dc:creator>
			<guid>https://vittbookpro.ucoz.com/news/sai_vittal_b/2012-09-01-1</guid>
			<pubDate>Sat, 01 Sep 2012 04:38:00 GMT</pubDate>
		</item>
	</channel>
</rss>