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

<channel>
	<title>Beginners C++.com</title>
	<atom:link href="http://beginnerscpp.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://beginnerscpp.com</link>
	<description>A website to  learn C++ at your own pace</description>
	<lastBuildDate>Tue, 04 Sep 2012 11:34:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>C++ Tutorial #48 — List / Vector iterator comparison. Insert, other junk.</title>
		<link>http://beginnerscpp.com/?p=255</link>
		<comments>http://beginnerscpp.com/?p=255#comments</comments>
		<pubDate>Thu, 08 Sep 2011 15:58:26 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Beginners]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[iteration]]></category>
		<category><![CDATA[Iterators]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[random access]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=255</guid>
		<description><![CDATA[Topics discussed: Vector, list, random access iterators, sequential iterators, push_back, insert, iterators Source Code Available Here Download full-quality video below:]]></description>
			<content:encoded><![CDATA[<p><iframe width="853" height="510" src="http://www.youtube.com/embed/rJIERFpThqI" frameborder="0" allowfullscreen></iframe><br />
Topics discussed: Vector, list, random access iterators, sequential iterators, push_back, insert, iterators<br />
<a href="http://ideone.com/9EI1m" title="Source Code Available Here">Source Code Available Here</a><br />
Download full-quality video below:<br />
<center><iframe src="http://www.paywithatweet.com/dlbutton02.php?id=73c4efc3426ad872af17d6c52cabe7c6" name="paytweet_button2" width = "240px" height = "24px" scrolling="No" frameborder="no" id="paytweet_button2"></iframe></center> </p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=255</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ Tutorial #47 — List, vector review, and namespaces</title>
		<link>http://beginnerscpp.com/?p=251</link>
		<comments>http://beginnerscpp.com/?p=251#comments</comments>
		<pubDate>Sat, 27 Aug 2011 06:47:53 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[iterator]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[pop_back]]></category>
		<category><![CDATA[pop_front]]></category>
		<category><![CDATA[push_back]]></category>
		<category><![CDATA[push_front]]></category>
		<category><![CDATA[reverse_iterator]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=251</guid>
		<description><![CDATA[Topics discussed: Vector review, list, random access, iterators, reverse iterators, push_front, push_back Source Code Available Here Download full-quality video below:]]></description>
			<content:encoded><![CDATA[<p><iframe width="853" height="510" src="http://www.youtube.com/embed/PuT3WcfnezE?hd=1" frameborder="0" allowfullscreen></iframe><br />
Topics discussed: Vector review, list, random access, iterators, reverse iterators, push_front, push_back<br />
<a href="http://ideone.com/9EI1m" title="Source Code Available Here">Source Code Available Here</a><br />
Download full-quality video below:<br />
<center><iframe src="http://www.paywithatweet.com/dlbutton02.php?id=cdf4975e4daddcbb5c231debf0636b26" name="paytweet_button2" width = "240px" height = "24px" scrolling="No" frameborder="no" id="paytweet_button2"></iframe></center></p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=251</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Challenge #4 – Guessing game</title>
		<link>http://beginnerscpp.com/?p=245</link>
		<comments>http://beginnerscpp.com/?p=245#comments</comments>
		<pubDate>Sat, 27 Aug 2011 05:11:53 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Programming Challenges]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Guessing]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=245</guid>
		<description><![CDATA[Code difficulty: 4/10 Math difficulty: 2/10 In his challenge I ask that you do the following things: Create a program that will: Display a list of numbers to the screen (random numbers). Pick one of those numbers at random and start a guessing game The user must guess the selected number. You must validate that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Code difficulty:  </strong><em> 4/10</em><br />
<strong>Math difficulty:  </strong><em> 2/10</em><br />
In his challenge I ask that you do the following things:</p>
<p>Create a program that will:</p>
<ol>
<li>Display a list of numbers to the screen (random numbers).</li>
<li>Pick one of those numbers at random and start a guessing game</li>
<li>The user must guess the selected number.  You must validate that the number the user guessed was valid, and among the choices listed.</li>
<li>Tell the user whether or not the number they guessed is larger or smaller than the number you&#8217;re looking for.</li>
<li>After a certain number of guesses, the user loses and gets prompted to try again.</li>
</ol>
<p><strong>Concepts used:</strong><em>  Functions, variables, loops, random functions, returns, boolean, vectors / lists / arrays, template class member functions, stringstream</em></p>
<p><strong>You should be able to do this by:</strong><em> Lesson 40</em><br />
<hr />
<p><strong>My solution:</strong> Not completed yet  <br />
&#8211;<strong>Note</strong>: This solution contains spoilers.<br />
<hr />
<p><em>Please note that my solutions are not checked thoroughly, and should only be used for reference.  They are often non-optimal solutions that could be improved upon (by you!).  I keep these intentionally rough for just that reason.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=245</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Challenge #3 – Palindromic numbers</title>
		<link>http://beginnerscpp.com/?p=239</link>
		<comments>http://beginnerscpp.com/?p=239#comments</comments>
		<pubDate>Thu, 25 Aug 2011 07:25:49 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Programming Challenges]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[difficult]]></category>
		<category><![CDATA[palindrome]]></category>
		<category><![CDATA[palindromic numbers]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=239</guid>
		<description><![CDATA[Code difficulty: 5/10 Math difficulty: 4/10 Before we begin here: Q. What is a palindrome? A. A Palindrome is a number that is repeated both backwards and forwards In his challenge I ask that you do the following things: Create a program that will: Iterate up to 1 million (1,000,000 or 1.000.000 for those of [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Code difficulty:  </strong><em> 5/10</em><br />
<strong>Math difficulty:  </strong><em> 4/10</em></p>
<p>Before we begin here: Q. What is a palindrome?  <br />
A.  A Palindrome is a number that is repeated both backwards and forwards</p>
<p>In his challenge I ask that you do the following things:</p>
<p>Create a program that will:</p>
<ol>
<li>Iterate up to 1 million (1,000,000 or 1.000.000 for those of you that use . instead of ,)</li>
<li>Check each number to see if it is a palindrome </li>
<li>Count how many palindromes there are between 1 and 1 million, count how many of these palindromes are prime</li>
<li>Store each number that is both a palindrome and a prime number and output them at the end of the loop</li>
<li>Program to try to reduce runtime efficiency (hint: Your prime loop will likely take the most resources)</li>
</ol>
<p><strong>Concepts used:</strong><em>  Functions, variables, loops, arithmatic functions, breaks, boolean, vectors (or lists), template class member functions</em></p>
<p><strong>You should be able to do this by:</strong><em> Lesson 44 with some help <a href="http://www.cplusplus.com/reference/iostream/stringstream/str/" title="Helpful link">from this example</a></em><br />
<hr />
<p><strong>My solution:</strong> http://ideone.com/Y6n0f  <br />
&#8211;<strong>Note</strong> This solution has been reduced to 1000, you can change the number in the loop. <br/><br />
&#8211;<strong>Note</strong>: This solution contains spoilers.</p>
<p><em>Please note that my solutions are not checked thoroughly, and should only be used for reference.  They are often non-optimal solutions that could be improved upon (by you!).  I keep these intentionally rough for just that reason.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=239</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ Tutorial #46 — Case Study: Wrapup</title>
		<link>http://beginnerscpp.com/?p=236</link>
		<comments>http://beginnerscpp.com/?p=236#comments</comments>
		<pubDate>Thu, 25 Aug 2011 03:56:12 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=236</guid>
		<description><![CDATA[Topics Discussed: Source Code Available Here]]></description>
			<content:encoded><![CDATA[<p><iframe width="853" height="510" src="http://www.youtube.com/embed/Z77roH1DVZU?hd=1" frameborder="0" allowfullscreen></iframe><br />
Topics Discussed: </p>
<p><a href="http://ideone.com/fGM0a" title="Source Code Available Here">Source Code Available Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=236</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Challenge #2 &#8211; Dual Primes</title>
		<link>http://beginnerscpp.com/?p=201</link>
		<comments>http://beginnerscpp.com/?p=201#comments</comments>
		<pubDate>Tue, 16 Aug 2011 20:35:01 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Programming Challenges]]></category>
		<category><![CDATA[bool]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[breaks]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[dual prime]]></category>
		<category><![CDATA[factors]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[iteration]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[prime]]></category>
		<category><![CDATA[Programming challenges]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=201</guid>
		<description><![CDATA[Code difficulty: 4/10 Math difficulty: 4/10 Before we begin here: Q. What is a dual prime? A. A dual prime is 2 prime numbers that are exactly &#8220;2&#8243; apart. Example: 3, 5 // 11,13, etc. In his challenge I ask that you do the following things: Create a program that will: Allow a user to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Code difficulty:  </strong><em> 4/10</em><br />
<strong>Math difficulty:  </strong><em> 4/10</em></p>
<p>Before we begin here: Q. What is a dual prime?  <br />
A.  A dual prime is 2 prime numbers that are exactly &#8220;2&#8243; apart.   Example: 3, 5  //  11,13, etc.</p>
<p>In his challenge I ask that you do the following things:</p>
<p>Create a program that will:</p>
<ol>
<li>Allow a user to input a number to iterate up to</li>
<li>Allow the user to see all the dual primes, and a list of the numbers that are NOT dual prime</li>
<li>Use either a vector or a list and their inherent member functions to handle the data from the loop</li>
</ol>
<p><strong>Concepts used:</strong><em>  Functions, variables, loops, arithmatic functions, breaks, boolean, vectors (or lists), template class member functions</em></p>
<p><strong>You should be able to do this by:</strong><em> Lesson 44</em></p>
<p><strong>My solution:</strong> http://ideone.com/Y7wiJ  (spoilers- Don&#8217;t look unless you are really stuck!)<br/></p>
<p><em>Please note that my solutions are not checked thoroughly, and should only be used for reference.  They are often non-optimal solutions that could be improved upon (by you!).  I keep these intentionally rough for just that reason.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=201</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Challenge #1 &#8212; Primes</title>
		<link>http://beginnerscpp.com/?p=198</link>
		<comments>http://beginnerscpp.com/?p=198#comments</comments>
		<pubDate>Tue, 16 Aug 2011 19:50:50 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Programming Challenges]]></category>
		<category><![CDATA[bool]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[breaks]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[dual]]></category>
		<category><![CDATA[dual prime]]></category>
		<category><![CDATA[factors]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[iteration]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[prime]]></category>
		<category><![CDATA[Programming challenges]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=198</guid>
		<description><![CDATA[Code difficulty: 3/10 Math difficulty: 4/10 In his challenge I ask that you do the following things: Create a program that will: Allow a user to input a number Allow the user to see if the number is prime or not If the number is not prime, tell the user what number it is divisible [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Code difficulty:  </strong><em> 3/10</em><br />
<strong>Math difficulty:  </strong><em> 4/10</em></p>
<p>In his challenge I ask that you do the following things:</p>
<p>Create a program that will:</p>
<ol>
<li>Allow a user to input a number</li>
<li>Allow the user to see if the number is prime or not</li>
<li>If the number is not prime, tell the user what number it is divisible by</li>
<li>Use a function to process whether or not the value is prime (this idea will be used in a future challenge</li>
<li>Use double or Long for increased number length</li>
</ol>
<p><strong>Concepts used:</strong><em>  Functions, variables, loops, arithmatic functions, breaks, boolean</em></p>
<p><strong>You should be able to do this by:</strong><em> Lesson 33</em></p>
<p><strong>My solution:</strong> http://ideone.com/AKmCm (spoilers- Don&#8217;t look unless you are really stuck!)<br/></p>
<p><em>Please note that my solutions are not checked thoroughly, and should only be used for reference.  They are often non-optimal solutions that could be improved upon (by you!).  I keep these intentionally rough for just that reason.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=198</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bughunt 8-  Functions</title>
		<link>http://beginnerscpp.com/?p=195</link>
		<comments>http://beginnerscpp.com/?p=195#comments</comments>
		<pubDate>Tue, 16 Aug 2011 10:58:59 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[BugHunt]]></category>
		<category><![CDATA[Bughunt]]></category>
		<category><![CDATA[Functions]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=195</guid>
		<description><![CDATA[Difficulty: Easy Time to solve: 1-2 min Video this is covered in: 1-25 #include &#60;iostream&#62; using namespace std; void addition(int, int); int main(){ &#160;&#160;&#160;&#160;cout &#60;&#60; &#34;Enter number 1: &#34;; &#160;&#160;&#160;&#160;int x=0; &#160;&#160;&#160;&#160;cin &#62;&#62; x; &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;cout &#60;&#60; &#34;Enter number 2: &#34;; &#160;&#160;&#160;&#160;int y=0; &#160;&#160;&#160;&#160;cin &#62;&#62; y; &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;cout &#60;&#60; addition(x,y); &#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; return 0; } [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty: Easy<br />
Time to solve: 1-2 min<br />
Video this is covered in: 1-25</strong></p>
<p><pre><code>
#include &lt;iostream&gt;

using namespace std;

void addition(int, int);

int main(){

&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt; &quot;Enter number 1: &quot;;
&nbsp;&nbsp;&nbsp;&nbsp;int x=0;
&nbsp;&nbsp;&nbsp;&nbsp;cin &gt;&gt; x;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt; &quot;Enter number 2: &quot;;
&nbsp;&nbsp;&nbsp;&nbsp;int y=0;
&nbsp;&nbsp;&nbsp;&nbsp;cin &gt;&gt; y;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt; addition(x,y);
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
return 0;
}

void addition(int x, int y){
&nbsp;&nbsp;&nbsp;&nbsp;return x+y;
}

</code></pre></p>
<p><strong>Error Message</strong><em>YATesting.cpp: In function `int main()&#8217;:<br />
YATesting.cpp:17: error: no match for &#8216;operator<<' in 'std::cout << addition(x, y)'<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:63: note: candidates are: std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>&#038;(*)(std::basic_ostream<_CharT, _Traits>&#038;)) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:74: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ios<_CharT, _Traits>&#038;(*)(std::basic_ios<_CharT, _Traits>&#038;)) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:86: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base&#038;(*)(std::ios_base&#038;)) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:121: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:155: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:98: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:178: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:189: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:193: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:204: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:179: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:214: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:238: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:219: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:261: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:284: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:307: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:449: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::operator<<(std::basic_ostream<_CharT, _Traits>&#038;, char) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:505: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, char) [with _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:460: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, signed char) [with _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:465: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, unsigned char) [with _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:567: note:                 std::basic_ostream<_CharT, _Traits>&#038; std::operator<<(std::basic_ostream<_CharT, _Traits>&#038;, const char*) [with _CharT = char, _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:612: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, const char*) [with _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:499: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, const signed char*) [with _Traits = std::char_traits<char>]<br />
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:504: note:                 std::basic_ostream<char, _Traits>&#038; std::operator<<(std::basic_ostream<char, _Traits>&#038;, const unsigned char*) [with _Traits = std::char_traits<char>]<br />
YATesting.cpp: In function `void addition(int, int)&#8217;:</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=195</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bughunt #7- Even More loops</title>
		<link>http://beginnerscpp.com/?p=188</link>
		<comments>http://beginnerscpp.com/?p=188#comments</comments>
		<pubDate>Tue, 16 Aug 2011 10:43:57 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[BugHunt]]></category>
		<category><![CDATA[Bughunt]]></category>
		<category><![CDATA[loops]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=188</guid>
		<description><![CDATA[Difficulty: Very Easy Time to solve: 1-2 min Video this is covered in: 1-20 #include &#60;iostream&#62; using namespace std; int main(){ &#160;&#160;&#160;&#160;int i=0; &#160;&#160;&#160;&#160;for (i=0; i&#60;100; i++){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cout &#60;&#60; i; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if ((i % 25)==0){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;cout &#60;&#60;endl &#60;&#60; endl; &#160;&#160;&#160;&#160;for(int j=0; j&#60;10; j++){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cout&#60;&#60; j+i; &#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;cout &#60;&#60;&#34;The ending values for i and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty: Very Easy<br />
Time to solve: 1-2 min<br />
Video this is covered in: 1-20</strong></p>
<p><pre><code>

#include &lt;iostream&gt;

using namespace std;
int main(){
&nbsp;&nbsp;&nbsp;&nbsp;int i=0;
&nbsp;&nbsp;&nbsp;&nbsp;for (i=0; i&lt;100; i++){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt; i;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ((i % 25)==0){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt;endl &lt;&lt; endl;
&nbsp;&nbsp;&nbsp;&nbsp;for(int j=0; j&lt;10; j++){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cout&lt;&lt; j+i;
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt;&quot;The ending values for i and j are: i=&quot;&lt;&lt; i &lt;&lt;&quot; and j=&quot; &lt;&lt; j;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
return 0;
}

</code></pre></p>
<p><strong>Error Message</strong><em>Testing.cpp:16: error: name lookup of `j&#8217; changed for new ISO `for&#8217; scoping<br />
Testing.cpp:13: error:   using obsolete binding at `j&#8217;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=188</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BugHunt #6 &#8212; More loops</title>
		<link>http://beginnerscpp.com/?p=186</link>
		<comments>http://beginnerscpp.com/?p=186#comments</comments>
		<pubDate>Tue, 16 Aug 2011 10:37:15 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[BugHunt]]></category>
		<category><![CDATA[Bughunt]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://beginnerscpp.com/?p=186</guid>
		<description><![CDATA[Difficulty: Very Easy Time to solve: 1-2 min Video this is covered in: 1-15 #include &#60;iostream&#62; using namespace std; int main(){ &#160;&#160;&#160;&#160;for (int i=0; i&#60;100; i++){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cout &#60;&#60; i; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if ((i % 25)=0){ &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;break; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160;} &#160;&#160;&#160;&#160; return 0; } Error MessageTesting.cpp:8: error: non-lvalue in assignment]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty: Very Easy<br />
Time to solve: 1-2 min<br />
Video this is covered in: 1-15</strong></p>
<p><pre><code>

#include &lt;iostream&gt;

using namespace std;
int main(){

&nbsp;&nbsp;&nbsp;&nbsp;for (int i=0; i&lt;100; i++){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cout &lt;&lt; i;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ((i % 25)=0){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;
return 0;
}

</code></pre></p>
<p><strong>Error Message</strong><em>Testing.cpp:8: error: non-lvalue in assignment</em></p>
]]></content:encoded>
			<wfw:commentRss>http://beginnerscpp.com/?feed=rss2&#038;p=186</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
