<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUQBRX88fSp7ImA9WhRaFE0.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139</id><updated>2012-02-16T06:42:34.175-08:00</updated><category term="C++" /><title>Smart Productions</title><subtitle type="html">This place here is all about teaching you how to program. You do not need to have any background knowledge on how to program.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://iam4eversmart88.blogspot.com/" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SmartProductions" /><feedburner:info uri="smartproductions" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;D0ANSHg7eip7ImA9WhZWFUU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-4390193551804671815</id><published>2011-05-16T15:02:00.000-07:00</published><updated>2011-05-16T15:43:19.602-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-16T15:43:19.602-07:00</app:edited><title>Challenge Lesson 8 Source Code</title><content type="html">&lt;pre&gt;&lt;table border="1"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href="http://www.youtube.com/watch?v=aO0VBcCGiGo"&gt;Challenge 1&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style="font-size: large;"&gt;First Challenge&lt;/span&gt;

NOTE: for a fast copy, follow these steps in order:&lt;ol&gt;
&lt;li&gt;Click anywhere in the text box below (result will be a blinking vertical line in the text box
&lt;/li&gt;
&lt;li&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;/li&gt;
&lt;li&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/li&gt;
&lt;/ol&gt;
&lt;table border="2"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Solution 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;textarea cols="75" readonly="readonly" rows="27"&gt;#include &amp;lt;iostream&amp;gt;
using namespace std;

int main()
{
&amp;#09;double base = 0;
&amp;#09;double height = 0;
&amp;#09;double Rectangle_Area = 0;
&amp;#09;double Triangle_Area = 0;

&amp;#09;cout &amp;lt;&amp;lt; "Type in a length of a rectangle: ";
&amp;#09;cin &amp;gt;&amp;gt; base;
&amp;#09;cout &amp;lt;&amp;lt; "Type in a height of a rectangle: ";
&amp;#09;cin &amp;gt;&amp;gt; height;
&amp;#09;Rectangle_Area = base*height;

&amp;#09;cout &amp;lt;&amp;lt; "Type in a length of a triangle: ";
&amp;#09;cin &amp;gt;&amp;gt; base;
&amp;#09;cout &amp;lt;&amp;lt; "Type in a height of a triangle: ";
&amp;#09;cin &amp;gt;&amp;gt; height;
&amp;#09;Triangle_Area = base*height/2;

&amp;#09;cout &amp;lt;&amp;lt; endl &amp;lt;&amp;lt; "Area of Rectangle: " &amp;lt;&amp;lt; Rectangle_Area &amp;lt;&amp;lt; endl
&amp;#09;&amp;lt;&amp;lt; "Area of Triangle: " &amp;lt;&amp;lt; Triangle_Area &amp;lt;&amp;lt; endl &amp;lt;&amp;lt;
&amp;#09;"Sum of area: " &amp;lt;&amp;lt; Rectangle_Area + Triangle_Area &amp;lt;&amp;lt; endl;
&amp;#09;system("pause");
}
&lt;/textarea&gt;

&lt;table border="2"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Solution 2&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;textarea cols="75" readonly="readonly" rows="27"&gt;#include &amp;lt;iostream&amp;gt;
using namespace std;

int main()
{
&amp;#09;double Rectbase = 0;
&amp;#09;double Rectheight = 0;
&amp;#09;double Tribase = 0;
&amp;#09;double Triheight = 0;

&amp;#09;cout &amp;lt;&amp;lt; "Type in a length of a rectangle: ";
&amp;#09;cin &amp;gt;&amp;gt; Rectbase;
&amp;#09;cout &amp;lt;&amp;lt; "Type in a height of a rectangle: ";
&amp;#09;cin &amp;gt;&amp;gt; Rectheight;

&amp;#09;cout &amp;lt;&amp;lt; "Type in a length of a triangle: ";
&amp;#09;cin &amp;gt;&amp;gt; Tribase;
&amp;#09;cout &amp;lt;&amp;lt; "Type in a height of a triangle: ";
&amp;#09;cin &amp;gt;&amp;gt; Triheight;

&amp;#09;cout &amp;lt;&amp;lt; endl;
&amp;#09;cout &amp;lt;&amp;lt; "Area of Rectangle: " &amp;lt;&amp;lt; Rectbase*Rectheight &amp;#09;&amp;lt;&amp;lt; endl;
&amp;#09;cout &amp;lt;&amp;lt; "Area of Triangle: " &amp;lt;&amp;lt; Tribase*Triheight/2 &amp;#09;&amp;lt;&amp;lt; endl;
&amp;#09;cout &amp;lt;&amp;lt; "Sum of area: " &amp;lt;&amp;lt; Rectbase*Rectheight+Tribase*Triheight/2
&amp;#09;&amp;lt;&amp;lt; endl;
&amp;#09;system("pause");
}
&lt;/textarea&gt;
&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-4390193551804671815?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dwhsxy8Xfwq43OpLUjAtnsKB1pY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwhsxy8Xfwq43OpLUjAtnsKB1pY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dwhsxy8Xfwq43OpLUjAtnsKB1pY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwhsxy8Xfwq43OpLUjAtnsKB1pY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/fC3CIau3-QU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/4390193551804671815/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/05/challenge-lesson-8-source-code.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4390193551804671815?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4390193551804671815?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/fC3CIau3-QU/challenge-lesson-8-source-code.html" title="Challenge Lesson 8 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>5</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/05/challenge-lesson-8-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4NR347fyp7ImA9WhZWEEU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-4832267206875010161</id><published>2011-05-10T20:19:00.001-07:00</published><updated>2011-05-10T20:19:56.007-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T20:19:56.007-07:00</app:edited><title>Lesson 11 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=OjJsMA-dKRo"&gt;Lesson 11 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 11: Introduction to the if statement&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;if statements&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

The if statement will only take bool parameter (value inside the paranthesis).
The if statement will either skip or execute the following program statement depending on the boolean value of the if statement.
Run both of these pieces of code. refer to the video for the detailed explanation.
&lt;Textarea rows="11" cols="55" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 if(true)
 cout &lt;&lt; "my name is iam4eversmart88" &lt;&lt; endl;
 cout &lt;&lt; "what is your name";
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="11" cols="55" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 if(false)
 cout &lt;&lt; "my name is iam4eversmart88" &lt;&lt; endl;
 cout &lt;&lt; "what is your name";
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

the if statement can also refer to code blocks (code inside curly braces) to skip multiple lines of code.
&lt;Textarea rows="13" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 if(false)
 {
  cout &lt;&lt; "my name is iam4eversmart88" &lt;&lt; endl;
  cout &lt;&lt; "what is your name";
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

you can input variables into th if parameter.
You can also put in int, double, char, etc types but don't forget the rules of the boolean values that aren't true or false.
&lt;Textarea rows="14" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool Boolean=true;
 if(Boolean)
 {
  cout &lt;&lt; "my name is iam4eversmart88" &lt;&lt; endl;
  cout &lt;&lt; "what is your name";
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

Here are slightly more practical examples that might help you see why if statements are useful
&lt;Textarea rows="15" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool Boolean=true;
 float x=6.1;
 if(Boolean)
 {
  x=999.1;
 }
 cout &lt;&lt; x;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="15" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool Boolean=false;
 float x=6.1;
 if(Boolean)
 {
  x=999.1;
 }
 cout &lt;&lt; x;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-4832267206875010161?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pxq8fw5E_woWksAFSSY1yL_fyOg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pxq8fw5E_woWksAFSSY1yL_fyOg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pxq8fw5E_woWksAFSSY1yL_fyOg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pxq8fw5E_woWksAFSSY1yL_fyOg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/UeuflNNnAcw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/4832267206875010161/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/05/lesson-11-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4832267206875010161?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4832267206875010161?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/UeuflNNnAcw/lesson-11-source-code.html" title="Lesson 11 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/05/lesson-11-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMFQHo_eCp7ImA9WhZQGE4.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-3177929563077550706</id><published>2011-04-26T09:46:00.001-07:00</published><updated>2011-04-26T09:46:51.440-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-26T09:46:51.440-07:00</app:edited><title>Lesson 20 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=qptaps2YrVw"&gt;Lesson 20 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

&lt;FONT Size="5"&gt;Lesson 20: The while loop part 3: break statement&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in the text box below (result will be a blinking vertical line in the text box&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;A prime number algorithm&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

Here is an infinite loop that we have encountered in the past. This is a bug that can be very difficult to find.
&lt;Textarea rows="14" cols="50" readonly="readonly" style="background-color: #FFAB00"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int count=0;
 while(true)
 {
  cout &lt;&lt; count &lt;&lt; endl;
  count++;
 }
 system("pause");
 return 0;
}
&lt;/Textarea&gt;

We can add a condition in the while loop parameter that changes each time by using a counting variable.
&lt;Textarea rows="14" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int count=0;
 while(count &lt; 10)
 {
  cout &lt;&lt; count &lt;&lt; endl;
  count++;
 }
 system("pause");
 return 0;
}
&lt;/Textarea&gt;

&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Prime number algorithm&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

In this program, you will enter a positive Integer value for a, and it will tell you if that number is prime or not
&lt;Textarea rows="26" cols="70" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a, n=2;

 cout &lt;&lt; "Enter a number for a: ";
 cin &gt;&gt; a;
 while(n&lt;=a)
 {
  if(n==a)
  {
   cout &lt;&lt; a &lt;&lt; " is Prime!\n";
   break;
  }
  if(a%n==0)
  {
   cout &lt;&lt; a &lt;&lt; " is Divisible by" &lt;&lt; n &lt;&lt; endl;
   break;
  }
  n=n+1;
 }
 system("pause");
 return 0;
}
&lt;/Textarea&gt;

Here is the algorithm that prints off many prime numbers to the screen. Just enter an Integer value for x and it will print off that 

many random numbers.
&lt;Textarea rows="31" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=2, n=2, x;

 cout &lt;&lt; "Enter a number for x: ";
 cin &gt;&gt; x;
 while(a&lt;=x)
 {
  while(n&lt;=a)
  {
   if(n==a)
   {
    cout &lt;&lt; a &lt;&lt; " is Prime!\n";
    break;
   }
   if(a%n==0)
   {
    cout &lt;&lt; a &lt;&lt; " is Divisible by" &lt;&lt; n &lt;&lt; endl;
    break;
   }
   n=n+1;
  }
  a++;
  n=2;
 }
 system("pause");
 return 0;
}
&lt;/Textarea&gt;
from 2 to x is the range of values that will be printed. a is the variable we are testing to see if its prime or not. n is the divisor 

that determines if it really is prime or not.

Notice that when you escape from the second while loop, n has to be set back equal to 2 because in the we need to start off dividing the 

next number by 2 just as we have been doing for the first number.
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-3177929563077550706?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fYwlrnWq-RPW_xzLEDR0LdfL_b4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fYwlrnWq-RPW_xzLEDR0LdfL_b4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fYwlrnWq-RPW_xzLEDR0LdfL_b4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fYwlrnWq-RPW_xzLEDR0LdfL_b4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/Aq-ZAyoUFxY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/3177929563077550706/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-20-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3177929563077550706?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3177929563077550706?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/Aq-ZAyoUFxY/lesson-20-source-code.html" title="Lesson 20 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-20-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIARHs4fCp7ImA9WhZQGE4.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-9002215640322419557</id><published>2011-04-26T08:42:00.001-07:00</published><updated>2011-04-26T08:42:25.534-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-26T08:42:25.534-07:00</app:edited><title>Lesson 16 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=x3aApOyMzM0"&gt;Lesson 16 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

&lt;FONT Size="5"&gt;Lesson 16: The while loop&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/OL&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;beginning while loop examples&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
This will print my name 5 times to the screen
&lt;Textarea rows="14" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=0;
 while(a&lt;5)
 {
  cout &lt;&lt; "iam4eversmart88" &lt;&lt; endl;
  a = a + 1;
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

This program code will count from 0 to 24 
&lt;Textarea rows="14" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=0;
 while(a&lt;25)
 {
  cout &lt;&lt; a &lt;&lt; endl;
  a = a + 1;
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

This program will NEVER END. This is a common bug called the infinite loop 
&lt;Textarea rows="14" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=0;
 while(a&lt;=500)
 {
  cout &lt;&lt; a &lt;&lt; endl;
  a = 2*a;
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

This program will double the value of "a" and print it out to the screen until a is greater than 500
(NOTE: There is only 1 difference compared to the program above this one)
&lt;Textarea rows="14" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=1;
 while(a&lt;=500)
 {
  cout &lt;&lt; a &lt;&lt; endl;
  a = 2*a;
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

This program will dived a by 2 each time until a is 0;
&lt;Textarea rows="14" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int a=1000000;
 while(a&gt;0)
 {
  cout &lt;&lt; a &lt;&lt; endl;
  a = a/2;
 }
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-9002215640322419557?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wEbyw6tmPpv4uPPu2NGqGjsyVi0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEbyw6tmPpv4uPPu2NGqGjsyVi0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wEbyw6tmPpv4uPPu2NGqGjsyVi0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wEbyw6tmPpv4uPPu2NGqGjsyVi0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/V5MLpIpnAQ0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/9002215640322419557/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-16-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/9002215640322419557?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/9002215640322419557?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/V5MLpIpnAQ0/lesson-16-source-code.html" title="Lesson 16 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-16-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ACQH0-cCp7ImA9WhZQFkg.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-2847314776492712440</id><published>2011-04-24T08:42:00.001-07:00</published><updated>2011-04-24T08:42:41.358-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-24T08:42:41.358-07:00</app:edited><title>Lesson 10 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=Lua26mH57pA"&gt;Lesson 10 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 10: The bool (Boolean) type&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;small char programs&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

Boolean types can hold either &lt;B&gt;true&lt;/B&gt; or &lt;B&gt;false&lt;/B&gt;
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool smart=true;
 cout &lt;&lt; smart;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool smart=false;
 cout &lt;&lt; smart;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

If the value is set a number that is not equal to 0 the boolean value will be set to true
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool smart=13;
 cout &lt;&lt; smart;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

If the value is set to 0, the boolean value will be considered false.
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 bool smart=0;
 cout &lt;&lt; smart;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-2847314776492712440?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uUC8PQgpkX7Hk_ZauswgMHWH5fY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uUC8PQgpkX7Hk_ZauswgMHWH5fY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uUC8PQgpkX7Hk_ZauswgMHWH5fY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uUC8PQgpkX7Hk_ZauswgMHWH5fY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/LKYBvyUUPpo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/2847314776492712440/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-10-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/2847314776492712440?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/2847314776492712440?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/LKYBvyUUPpo/lesson-10-source-code.html" title="Lesson 10 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-10-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4HQ3w9eSp7ImA9WhZQFkg.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-3033216003032265339</id><published>2011-04-24T07:36:00.001-07:00</published><updated>2011-04-24T07:55:32.261-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-24T07:55:32.261-07:00</app:edited><title>Lesson 9 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=lqn7K8BZQs8"&gt;Lesson 9 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 9: The char type&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;small char programs&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

The char can only hold ONE character. that character has to be inside single quotations.
&lt;Textarea rows="12" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 char character = 't';

 cout &lt;&lt; character;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;

Initializing and assigning multiple variables
&lt;Textarea rows="12" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 char character = 't', ch2='~', ch3='|';

 cout &lt;&lt; character &lt;&lt; endl &lt;&lt; ch2 &lt;&lt; endl &lt;&lt; ch3;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-3033216003032265339?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G0eocddlGdEXuixbe-2S0HQ13Qg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G0eocddlGdEXuixbe-2S0HQ13Qg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G0eocddlGdEXuixbe-2S0HQ13Qg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G0eocddlGdEXuixbe-2S0HQ13Qg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/vYR4sQGiXfA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/3033216003032265339/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-9-source-code.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3033216003032265339?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3033216003032265339?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/vYR4sQGiXfA/lesson-9-source-code.html" title="Lesson 9 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-9-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANQ3s9fip7ImA9WhZQFU4.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-7811215806611421722</id><published>2011-04-22T20:53:00.001-07:00</published><updated>2011-04-22T20:53:12.566-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-22T20:53:12.566-07:00</app:edited><title>Lesson 8 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=hrSTxvE-qnc"&gt;Lesson 8 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 8: The cin statement&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;The cin statement&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

The cin statement allows the user to enter a value for x in this example
&lt;Textarea rows="12" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int x=6;
 cout &lt;&lt; "Enter an integer value: ";
 cin &gt;&gt; x;
 cout &lt;&lt; "you have entered " &lt;&lt; x &lt;&lt; endl;
 system("pause");
 return 0;
}
&lt;/Textarea&gt;
notice that the cin.get() statement is replaced by the system("pause") because the cin.get() will not work once cin has been called. (i 

don't know why that is the case)

Here is another example. Computers don't like to divide by zero, you can try to input 0 for y to see what happens or you can also find 

out what happens by watching the video.
&lt;Textarea rows="15" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int x;
 int y;
 cout &lt;&lt; "Enter a dividend: ";
 cin &gt;&gt; x;
 cout &lt;&lt; "Enter a divisor: ";
 cin &gt;&gt; y;
 cout &lt;&lt; "The quotient is " &lt;&lt; x/y &lt;&lt; " with a remainder of " &lt;&lt; x%y &lt;&lt; endl;
 system("pause");
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-7811215806611421722?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Cbx5rllAQ11-b4E43CgCMtXB3Cs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cbx5rllAQ11-b4E43CgCMtXB3Cs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Cbx5rllAQ11-b4E43CgCMtXB3Cs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Cbx5rllAQ11-b4E43CgCMtXB3Cs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/C9MFXBHz26k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/7811215806611421722/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-8-source-code_22.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7811215806611421722?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7811215806611421722?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/C9MFXBHz26k/lesson-8-source-code_22.html" title="Lesson 8 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-8-source-code_22.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YHSHg8eyp7ImA9WhZQFU8.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-7956434894505593091</id><published>2011-04-22T20:25:00.001-07:00</published><updated>2011-04-22T20:25:39.673-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-22T20:25:39.673-07:00</app:edited><title>Lesson 15 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=3unMnFRMXew"&gt;Lesson 15 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 15: Increment and Decrement part 1&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Examples of incrementing and decrementing&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

The vale on the right of the &lt;B&gt;assignment operator ("=")&lt;/B&gt; will ALWAYS be the new value of the variable that is on the left hand sign of the assignment operator. 

(Don't forget there can be only one variable on the left side of the assignment operator.
&lt;Textarea rows="11" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int rocks=5, coins=71;
 coins = rocks + 3;
 cout &lt;&lt; coins;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

The same rules still apply... The vale on the right hand side of the assignment operator will be the new value of the left hand side
&lt;Textarea rows="11" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int rocks=5, coins=71;
 coins = coins + 3;
 cout &lt;&lt; coins;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

Here is a larger example of how to apply the increment and decrement technique.
&lt;Textarea rows="23" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int rocks=5, coins=71;
 char choice = 'b';
 cout &lt;&lt; "would you like to buy a rock for 1 coin? ";
 cin &gt;&gt; choice;
 if(choice == 'y')
 {
  coins = coins - 1;
  rocks = rocks + 1;
  cout &lt;&lt; "Thankyou!";
 }
 else
 {
  cout &lt;&lt; "Thats too bad";
 }
 cout &lt;&lt; coins;
 system("pause");
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-7956434894505593091?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nIWw_ZHj3r9MlcOdPljxwpgN3os/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nIWw_ZHj3r9MlcOdPljxwpgN3os/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nIWw_ZHj3r9MlcOdPljxwpgN3os/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nIWw_ZHj3r9MlcOdPljxwpgN3os/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/g4AxEhTla5Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/7956434894505593091/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-15-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7956434894505593091?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7956434894505593091?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/g4AxEhTla5Q/lesson-15-source-code.html" title="Lesson 15 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-15-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQDQ3o9fCp7ImA9WhZQFU8.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-1431310935419174089</id><published>2011-04-22T19:43:00.001-07:00</published><updated>2011-04-22T19:56:12.464-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-22T19:56:12.464-07:00</app:edited><title>Lesson 7 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=Bp4W5s1s-fI"&gt;Lesson 7 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 7: the float and double types&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Examples of the float types&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
The float type will display up to six significant figures
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = 2.2468481268548972;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = 295.2468481268548972;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

The value will be dislayed in scientific notation when necessary.
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = 548123846512354;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="10" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = .00000000054812358;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

The float type will display 20 million in scientific notation but the the int type will not.
&lt;Textarea rows="10" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = 20000000;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="10" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int weight = 20000000;
 cout &lt;&lt; weight;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

float types do not store a lot of significant figures. Look at this code carefully. The last number printed to the screen should be 0.2 

but you will get 0.1875 when its compiled.
&lt;Textarea rows="13" cols="45" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float weight = 300000.1;
 float z = 300000.1;
 float total = weight + z;
 cout &lt;&lt; weight;
 cout &lt;&lt; endl &lt;&lt; total - 600000;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;

&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Examples of the float types&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;A better version of the float type (recommended)&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
Now compile this code.. The correct result is displayed after changing the float types to double types.
&lt;Textarea rows="13" cols="45" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 double weight = 300000.1;
 double z = 300000.1;
 double total = weight + z;
 cout &lt;&lt; weight;
 cout &lt;&lt; endl &lt;&lt; total - 600000;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-1431310935419174089?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A7Um0jzo4CqQdk3ZwlzSG2N7e5c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A7Um0jzo4CqQdk3ZwlzSG2N7e5c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/A7Um0jzo4CqQdk3ZwlzSG2N7e5c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A7Um0jzo4CqQdk3ZwlzSG2N7e5c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/3fUCWOgMtnU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/1431310935419174089/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-7-source-code.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1431310935419174089?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1431310935419174089?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/3fUCWOgMtnU/lesson-7-source-code.html" title="Lesson 7 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-7-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MGSHo7fCp7ImA9WhZWEEU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-6546094089271009036</id><published>2011-04-22T19:29:00.001-07:00</published><updated>2011-05-10T19:37:09.404-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T19:37:09.404-07:00</app:edited><title>Lesson 6 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A 

HREF="http://www.youtube.com/watch?v=OeLD5vu3N3w"&gt;Lesson 6 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 6: Mathematical Operators&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Example of the mathematical operators&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
Here are examples on how to apply the the addition, subtraction and multiplication.
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09int apples = 30;
&amp;#09int oranges = 40;

&amp;#09cout &lt;&lt; apples + oranges;

&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt; &lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples = 30;
 int oranges = 40;

 cout &lt;&lt; apples - oranges;

 cin.get();
 return 0;
}
&lt;/Textarea&gt; &lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples = 30;
 int oranges = 40;

 cout &lt;&lt; apples * oranges;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;

The division operator outputs different results depending on the variable type.
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples = 110;
 int oranges = 40;

 cout &lt;&lt; apples / oranges;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;
Although 110/40 is 2.75, because these were all integer types, the result will ignore the decimal values and will use 2 as the value.

The float type stores decimal values and can be used to approximate values. (There is a better type to use other than float in the next 

lesson)
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float apples = 110;
 float oranges = 40;

 cout &lt;&lt; apples / oranges;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;

If you use arithmetic with an int type and a float type, the result will be of the type float.
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 float apples = 110;
 int oranges = 40;

 cout &lt;&lt; apples / oranges;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;

The mod ("%") operator is used for finding the remainder of a quotient. The mod operator can only be used for int types only.
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int x = 7;
 int y = 3;

 cout &lt;&lt; x%y;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;

Here is an example on how to ask a second grader the quotient of two integer values.
&lt;Textarea rows="13" cols="35" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int x = 129;
 int y = 5;

 cout &lt;&lt; "The quotient is " &lt;&lt; x/y &lt;&lt; " with a remainder of " &lt;&lt; x%y;

 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-6546094089271009036?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yZ3IG1RBN1i5jI-emsILIvn-mcA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yZ3IG1RBN1i5jI-emsILIvn-mcA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yZ3IG1RBN1i5jI-emsILIvn-mcA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yZ3IG1RBN1i5jI-emsILIvn-mcA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/2j-eXUUseT4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/6546094089271009036/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-6-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/6546094089271009036?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/6546094089271009036?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/2j-eXUUseT4/lesson-6-source-code.html" title="Lesson 6 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-6-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUAQ3w8fCp7ImA9WhZQFU8.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-4794262730046464359</id><published>2011-04-22T19:28:00.001-07:00</published><updated>2011-04-22T19:54:02.274-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-22T19:54:02.274-07:00</app:edited><title>Lesson 5 Source Code</title><content type="html">&lt;PRE&gt;
There is no lesson 5 source code

&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=6WB6AsqqWYM"&gt;Lesson 5 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-4794262730046464359?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fx3I-t51iPTj32XjHKcp29zl_9o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fx3I-t51iPTj32XjHKcp29zl_9o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fx3I-t51iPTj32XjHKcp29zl_9o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fx3I-t51iPTj32XjHKcp29zl_9o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/SqxWv1B60uA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/4794262730046464359/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-5-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4794262730046464359?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/4794262730046464359?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/SqxWv1B60uA/lesson-5-source-code.html" title="Lesson 5 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-5-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYHQHs6eip7ImA9WhZQFU8.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-7489541122570189956</id><published>2011-04-22T19:27:00.001-07:00</published><updated>2011-04-22T19:52:11.512-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-22T19:52:11.512-07:00</app:edited><title>Lesson 4 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=MigWFh_zCJ8"&gt;Lesson 4 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 4: Variables part 2: Assigning variables&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere 

you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;A little more on Declaring and assigning variables&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;

The main emphasis on this video is ONE AND ONLY ONE VARIABLE will go onthe left hand side of the &lt;B&gt;assignment operator&lt;/B&gt; (=) while any other expression can go on the right hand side.The value on the right hand side will be the new value of the ONE varibale on the left hand side.
&lt;Textarea rows="17" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples;
 apples = 19;
 int oranges;
 oranges = 29;
 int fruit = apples + oranges;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; fruit &lt;&lt; " fruit" &lt;&lt; endl;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
Variables can be re-assigned a different value throughout different points of the program.
&lt;Textarea rows="19" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples;
 apples = 19;
 int oranges;
 oranges = 29;
 int fruit = apples + oranges;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 
 apples = 12;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="21" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples;
 apples = 19;
 int oranges;
 oranges = 29;
 int fruit = apples + oranges;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges" &lt;&lt; endl;

 apples = oranges;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges" &lt;&lt; endl;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;In this example, apples and oranges will be equal to 29 because the value of the right hand side of the assignment operator

&lt;Textarea rows="21" cols="65" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
 int apples;
 apples = 19;
 int oranges;
 oranges = 29;
 int fruit = apples + oranges;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges" &lt;&lt; endl;

 oranges = apples;

 cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples" &lt;&lt; endl;
 cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges" &lt;&lt; endl;
 cin.get();
 return 0;
}
&lt;/Textarea&gt;In this example, apples and oranges will be equal to 29 because the value of the right hand side of the assignment operator
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-7489541122570189956?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rljxiO9GbhaAzXMEbLpq_XAxxtY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rljxiO9GbhaAzXMEbLpq_XAxxtY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rljxiO9GbhaAzXMEbLpq_XAxxtY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rljxiO9GbhaAzXMEbLpq_XAxxtY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/4Hmhm5bJXMA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/7489541122570189956/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-4-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7489541122570189956?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7489541122570189956?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/4Hmhm5bJXMA/lesson-4-source-code.html" title="Lesson 4 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-4-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QGQ3k9fSp7ImA9WhZWEEU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-1895905379919275288</id><published>2011-04-22T19:25:00.001-07:00</published><updated>2011-05-10T19:35:22.765-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T19:35:22.765-07:00</app:edited><title>Lesson 3 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Ulz7v9cC_UI"&gt;Lesson 3 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT SIZE="5"&gt;Lesson 3: Variables part 1: Declaring variables&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in the text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Declaring a couple of Integer type variables&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;Textarea rows="15" cols="60" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09int apples;
&amp;#09apples=3;
&amp;#09int oranges;
&amp;#09oranges=5;
&amp;#09cout &lt;&lt; "There are " &lt;&lt; oranges &lt;&lt; " oranges";
&amp;#09cout &lt;&lt; endl;
&amp;#09cout &lt;&lt; "There are " &lt;&lt; apples &lt;&lt; " apples";
&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-1895905379919275288?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/I9FKDSp7f-ZM7TiB0XegQc0d8PI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/I9FKDSp7f-ZM7TiB0XegQc0d8PI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/I9FKDSp7f-ZM7TiB0XegQc0d8PI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/I9FKDSp7f-ZM7TiB0XegQc0d8PI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/OK6E5xTBQJI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/1895905379919275288/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-3-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1895905379919275288?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1895905379919275288?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/OK6E5xTBQJI/lesson-3-source-code.html" title="Lesson 3 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-3-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UCQnk4eyp7ImA9WhZWEEU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-3337897774284614651</id><published>2011-04-22T19:24:00.001-07:00</published><updated>2011-05-10T19:34:23.733-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T19:34:23.733-07:00</app:edited><title>Lesson 2 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=76DeHexkjho"&gt;Lesson 2 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

To get the full benefit of the lesson, watch the video

&lt;FONT Size="5"&gt;Lesson 2: The cout statement&lt;/FONT&gt;

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in a text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/OL&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;Basic use of the cout statement&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;Textarea rows="11" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout &lt;&lt; "Hello World";
&amp;#09cout &lt;&lt; endl;
&amp;#09cout &lt;&lt; "my name is iam4eversmart88";
&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="9" cols="71" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout &lt;&lt; "Hello World" &lt;&lt; endl &lt;&lt; "my name is iam4eversmart88";
&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;

&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;more examples of the same thing&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
The point of these examples is to show you that white space really doesn't matter too much about white space.

&lt;Textarea rows="14" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout &lt;&lt; "Hello World"
&amp;#09&lt;&lt; endl 
 
&amp;#09&lt;&lt;
&amp;#09"my name is iam4eversmart88";

&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="15" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout 
&amp;#09&lt;&lt; "Hello World"
&amp;#09&lt;&lt; endl; 
 
&amp;#09cout &lt;&lt;
&amp;#09"my name is iam4eversmart88";

&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;Textarea rows="12" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout &lt;&lt; "Hello World"
&amp;#09&lt;&lt; endl; cout &lt;&lt;
&amp;#09"my name is iam4eversmart88";

&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-3337897774284614651?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RoZtYEUPUKRgMHgSGw1UfAc9yPA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RoZtYEUPUKRgMHgSGw1UfAc9yPA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RoZtYEUPUKRgMHgSGw1UfAc9yPA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RoZtYEUPUKRgMHgSGw1UfAc9yPA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/J5Y89H8CX8U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/3337897774284614651/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-2-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3337897774284614651?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/3337897774284614651?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/J5Y89H8CX8U/lesson-2-source-code.html" title="Lesson 2 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-2-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4NRnc_eip7ImA9WhZWEEU.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-1556595079644890719</id><published>2011-04-22T19:23:00.001-07:00</published><updated>2011-05-10T19:29:57.942-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T19:29:57.942-07:00</app:edited><title>Lesson 1 Source Code</title><content type="html">&lt;PRE&gt;
&lt;TABLE BORDER="1"&gt;&lt;TR&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html"&gt;List of videos &lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=M3jeozLUr8w"&gt;Lesson 1 Video&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;

&lt;FONT Size="5"&gt;Lesson 1: Write your first program here&lt;/FONT&gt;

To get the full benefit of the lesson, watch the video

NOTE: for a fast copy, follow these steps in order:&lt;OL&gt;
&lt;LI&gt;Click anywhere in the text box below (result will be a blinking vertical line in the text box)&lt;/LI&gt;
&lt;LI&gt;Hit ctrl + A on the key board (the "ctrl + A" means hit Ctrl and A at the same time)
(The result should be that all the text inside the text box lights up in blue)
&lt;LI&gt;Hit Ctrl + C (Nothing significantly happens that is visible) and now its copied to the clipboard and your ready to paste it anywhere you wish
&lt;/OL&gt;
&lt;HR&gt;
&lt;TABLE BORDER ="2"&gt;
&lt;TR&gt;&lt;TD&gt;The Classic Hello World Program&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;
&lt;Textarea rows="9" cols="50" readonly="readonly"&gt;
#include &lt;iostream&gt;
using namespace std;

int main()
{
&amp;#09cout &lt;&lt; "Hello World";
&amp;#09cin.get();
&amp;#09return 0;
}
&lt;/Textarea&gt;
&lt;br&gt;
&lt;/PRE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-1556595079644890719?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xKSaug3EGxxjqZGtH1ZBimO7oSw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xKSaug3EGxxjqZGtH1ZBimO7oSw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xKSaug3EGxxjqZGtH1ZBimO7oSw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xKSaug3EGxxjqZGtH1ZBimO7oSw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/CRmYBBh2v5I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/1556595079644890719/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/04/lesson-1-source-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1556595079644890719?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/1556595079644890719?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/CRmYBBh2v5I/lesson-1-source-code.html" title="Lesson 1 Source Code" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/04/lesson-1-source-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EHRHw8eSp7ImA9WhZUGEw.&quot;"><id>tag:blogger.com,1999:blog-8189614064114730139.post-7551518101999198452</id><published>2011-02-15T20:54:00.000-08:00</published><updated>2011-06-11T11:07:15.271-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-11T11:07:15.271-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C++" /><title>Detailed C++ Video Tutorials</title><content type="html">&lt;FONT SIZE="6" COLOR="#FF0000"&gt;&lt;A HREF="http://www.youtube.com/user/iam4eversmart88"&gt;Youtube Channel&lt;/A&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;
The Links column has the links that link you to the corresponding video from the video column.
the C link will open up the video in the currnet tab and the N link will open up the video in a new tab but either way, you will be in the same place.
&lt;br&gt;&lt;br&gt;
The Extension column has links the Extended videos, if you plan on following all the videos in order, the extended lessons are required to be watched to get the full benefit of the lesson. I put extension videos because i either left something out that was important, or i go over things that can go wrong and will show you how to trouble shoot certain issues
&lt;br&gt;&lt;br&gt;
The Add-Ons column has links to the videos that are not required to be watched to recieve the full benefit of the C++ lessons, the code in these videos will not be explained in full detail. These are off-topic videos that are FYI and FYE (for your entertainment) and i think they are pretty interesting topics
&lt;br&gt;&lt;br&gt;
The Source code column has links to the source code described in the corresponding video, that way you can copy and paste the code and re-edit it or do whatever you want with it.
&lt;br&gt;&lt;br&gt;
The Challenge column has a video link (which is the V link) that shows you the running version of a program and you must try and write the code for it that does the same exact thing. Hopefully you can figure out a solution but if you can't, click on the S which provides you with a solution (sometimes more than one). There are many different ways to solve a problem

&lt;TABLE BORDER="2"&gt;&lt;TR&gt;&lt;TD&gt;Title&lt;/TD&gt;&lt;TD&gt;links&lt;/TD&gt;&lt;TD&gt;Extensions&lt;/TD&gt;&lt;TD&gt;Add-ons&lt;/TD&gt;&lt;TD&gt;Source code&lt;/TD&gt;&lt;TD&gt;Challenges&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 0: Installing Visual C++ 2010 Express&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=X44mdAaXDnU"&gt;C &lt;/A&gt;&lt;A HREF="http://www.youtube.com/watch?v=X44mdAaXDnU"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 1: Write your first program here&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=M3jeozLUr8w"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=M3jeozLUr8w"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=FJCP-l8EWWw"&gt;E1&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-1-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 2: The cout statement&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=76DeHexkjho"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=76DeHexkjho"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-2-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 3: Variables part 1: Declaring variables&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Ulz7v9cC_UI"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Ulz7v9cC_UI"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-3-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 4: Variables part 2: Assigning variables&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=MigWFh_zCJ8"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=MigWFh_zCJ8"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-4-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 5: Naming variables&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=6WB6AsqqWYM"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=6WB6AsqqWYM"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 6: Mathematical Operators&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=OeLD5vu3N3w"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=OeLD5vu3N3w"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-6-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 7: the float and double types&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Bp4W5s1s-fI"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Bp4W5s1s-fI"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-7-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 8: The cin statement&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=hrSTxvE-qnc"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=hrSTxvE-qnc"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-8-source-code_22.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=aO0VBcCGiGo"&gt;V&lt;/A&gt; &lt;A HREF="http://iam4eversmart88.blogspot.com/2011/05/challenge-lesson-8-source-code.html"&gt; S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 9: The char type&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=lqn7K8BZQs8"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=lqn7K8BZQs8"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-9-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 10: The bool (Boolean) type&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Lua26mH57pA"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Lua26mH57pA"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-10-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 11: Introduction to the if statement&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=OjJsMA-dKRo"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=OjJsMA-dKRo"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/05/lesson-11-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 12: Relational operators&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Ei7a-Xr5igA"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Ei7a-Xr5igA"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 13: Different Variable types&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=FA03GIaxNhA"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=FA03GIaxNhA"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 14: If else statement&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=2MbpTSiZ-ws"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=2MbpTSiZ-ws"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 15: Increment and Decrement part 1&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=3unMnFRMXew"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=3unMnFRMXew"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-15-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 16: The while loop&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=x3aApOyMzM0"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=x3aApOyMzM0"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-16-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 17: Increment and Decrement part 2&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=AW4QhfeC5Z0"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=AW4QhfeC5Z0"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 18: Logial operators&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=g8fcMdC6t78"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=g8fcMdC6t78"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=bPb8NC27eK8"&gt;E1&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 19: The while loop part 2&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=VlD2oc9q340"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=VlD2oc9q340"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 20: The while loop part 3: break statement&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=qptaps2YrVw"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=qptaps2YrVw"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/2011/04/lesson-20-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 21: Variables part 3: Data types &amp; ASCII&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=DW-pWCiTld4"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=DW-pWCiTld4"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Ml-99QTNdx0"&gt;E1&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 22: Random Numbers and intro to Libraries&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=auMBSyUeFoI"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=auMBSyUeFoI"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 23: Introduction to Arrays&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=aWX2fXPsd0g"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=aWX2fXPsd0g"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=tO5vmx_jsQA"&gt;A1&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 24: Applying random numbers&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=LzvNkYaVFhc"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=LzvNkYaVFhc"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 25: First game explained in detail&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=KUMakJ2GXRs"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=KUMakJ2GXRs"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 26: Continuing from Lesson 25&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=PONbEccluDg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=PONbEccluDg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=FDGzCiFSdF4"&gt;A1&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 27: Arrays&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=DalkUW3KBsQ"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=DalkUW3KBsQ"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 28: Arrays part 2 max/min example&lt;/TD&gt;&lt;TD&gt; &lt;A HREF="http://www.youtube.com/watch?v=C7uzEiMPx_M"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=C7uzEiMPx_M"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 29: Arrays part 3&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=rwbv9KR5Atg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=rwbv9KR5Atg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 30: The for loop&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=K4Wr1YrAML0"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=K4Wr1YrAML0"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 31: Random number errors&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=CBqdh6bY5WY"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=CBqdh6bY5WY"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 32: Non-repeating random numbers part 1&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=0V4wKbpInhg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=0V4wKbpInhg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 33: Non-repeating random numbers part 2&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=c4PIWnEdNo8"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=c4PIWnEdNo8"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 34: Introduction to Scope Visibility&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=z2c6AuH9W08"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=z2c6AuH9W08"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 35: More Scope Visibility&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=ev5EuaiUZ3g"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=ev5EuaiUZ3g"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 36: Introduction to functions&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=X7utpmskVGY"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=X7utpmskVGY"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/p/lesson-36-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 37: Function Parameters &amp; Return value&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=KwGO95scqQg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=KwGO95scqQg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/p/lesson-37-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 38: Applying functions&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=fy7qIedv4vg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=fy7qIedv4vg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://iam4eversmart88.blogspot.com/p/lesson-38-source-code.html"&gt;S&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 39: Applying functions part 2&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Pw3efG-C-TU"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Pw3efG-C-TU"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 40: Applying functions part 3&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=nUF0upSr_Vc"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=nUF0upSr_Vc"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 41: Function prototypes&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=rQtgYwy2SRk"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=rQtgYwy2SRk"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 42: Header files&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=7aoLbwzk72w"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=7aoLbwzk72w"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 43: Intro to libraries&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=-8VFt6CbWg8"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=-8VFt6CbWg8"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 44: ctime library (1)&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=jmcDylAvEH8"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=jmcDylAvEH8"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 45: string library (1)&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=VCgKjoNCatQ"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=VCgKjoNCatQ"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 46: Global variables&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=4OFXKABuP-c"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=4OFXKABuP-c"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 47: Brief Constructor and Destructor&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=3cmIflQoJMY"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=3cmIflQoJMY"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 48: Memory addresses&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=Alu5FkEFINg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=Alu5FkEFINg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 49: Intro to Pointers&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=AYl312AbgHg"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=AYl312AbgHg"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 50: Pointers part 2: the use of pointers&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=OyCWqIcJNkU"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=OyCWqIcJNkU"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;&lt;TD&gt;Lesson 51: Pointers part 3: dangers of pointers&lt;/TD&gt;&lt;TD&gt;&lt;A HREF="http://www.youtube.com/watch?v=qzCMB3DgJfs"&gt;C&lt;/A&gt; &lt;A HREF="http://www.youtube.com/watch?v=qzCMB3DgJfs"TARGET="_BLANK"&gt;N&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;/TABLE&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8189614064114730139-7551518101999198452?l=iam4eversmart88.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/De-rLtaqbq3Ov4FypOqReHu07pg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/De-rLtaqbq3Ov4FypOqReHu07pg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/De-rLtaqbq3Ov4FypOqReHu07pg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/De-rLtaqbq3Ov4FypOqReHu07pg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SmartProductions/~4/mNEW6GINECc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://iam4eversmart88.blogspot.com/feeds/7551518101999198452/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://iam4eversmart88.blogspot.com/2011/02/blog-post.html#comment-form" title="17 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7551518101999198452?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8189614064114730139/posts/default/7551518101999198452?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SmartProductions/~3/mNEW6GINECc/blog-post.html" title="Detailed C++ Video Tutorials" /><author><name>iam4eversmart88</name><uri>http://www.blogger.com/profile/10993477097372026297</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>17</thr:total><feedburner:origLink>http://iam4eversmart88.blogspot.com/2011/02/blog-post.html</feedburner:origLink></entry></feed>

