<?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>ebook | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/ebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Thu, 22 May 2025 08:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>ebook | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>eBook 2 now published on Amazon</title>
		<link>https://learncgames.com/ebook-2-now-publisjed-on-amazon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ebook-2-now-publisjed-on-amazon</link>
					<comments>https://learncgames.com/ebook-2-now-publisjed-on-amazon/#comments</comments>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Mon, 19 May 2025 09:08:06 +0000</pubDate>
				<category><![CDATA[Ebook]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[ebook]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=3388</guid>

					<description><![CDATA[<p>This is the Linux and Raspberry Pi version of the first book which uses VS Code.  All code updated plus screenshots mostly from Raspberry Pis and a new book cover!</p>
The post <a href="https://learncgames.com/ebook-2-now-publisjed-on-amazon/">eBook 2 now published on Amazon</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-3389" src="https://learncgames.com/wp-content/uploads/2025/05/learnc-games-programming-Linux.png" alt="Learn C Games programming " width="1140" height="464" srcset="https://learncgames.com/wp-content/uploads/2025/05/learnc-games-programming-Linux.png 1140w, https://learncgames.com/wp-content/uploads/2025/05/learnc-games-programming-Linux-300x122.png 300w, https://learncgames.com/wp-content/uploads/2025/05/learnc-games-programming-Linux-1024x417.png 1024w, https://learncgames.com/wp-content/uploads/2025/05/learnc-games-programming-Linux-768x313.png 768w" sizes="(max-width: 1140px) 100vw, 1140px" />This is the <a title="Link to ebook on Amazon" href="https://amzn.eu/d/87tHW3A" target="_blank" rel="noopener">Linux and Raspberry Pi version</a> of the first book which uses VS Code.  All code updated plus screenshots mostly from Raspberry Pis and a new book cover!<span hidden class="__iawmlf-post-loop-links" data-iawmlf-links="[{&quot;id&quot;:16,&quot;href&quot;:&quot;https:\/\/amzn.eu\/d\/87tHW3A&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\/\/www.amazon.co.uk\/dp\/B0F92TGVD1?ref=cm_sw_r_ffobk_cp_ud_dp_SGCWV17P59HBXDKZEMDQ\u0026ref_=cm_sw_r_ffobk_cp_ud_dp_SGCWV17P59HBXDKZEMDQ\u0026social_share=cm_sw_r_ffobk_cp_ud_dp_SGCWV17P59HBXDKZEMDQ\u0026bestFormat=true\u0026previewDoh=1&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]"></span></p>The post <a href="https://learncgames.com/ebook-2-now-publisjed-on-amazon/">eBook 2 now published on Amazon</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://learncgames.com/ebook-2-now-publisjed-on-amazon/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3388</post-id>	</item>
		<item>
		<title>Essential C &#8211; Free 45 page PDF</title>
		<link>https://learncgames.com/essential-c-free-45-page-pdf/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=essential-c-free-45-page-pdf</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 06 Sep 2020 23:00:27 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Ebook]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[pdf]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1354</guid>

					<description><![CDATA[<p>This was compiled between 1996 and 2003 by Nick Parlante at Stanford college. It&#8217;s a 45 page PDF that summaries all the basic features of C. It saves having to search online or through a reference book (I have the excellent O&#8217;Reilly C book as well). It has a few pitfalls to show you things [&#8230;]</p>
The post <a href="https://learncgames.com/essential-c-free-45-page-pdf/">Essential C – Free 45 page PDF</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignleft size-medium wp-image-1355" src="https://learncgames.com/wp-content/uploads/2020/09/essential-c-pdf-268x300.png" alt="Essentail C Front page" width="268" height="300" srcset="https://learncgames.com/wp-content/uploads/2020/09/essential-c-pdf-268x300.png 268w, https://learncgames.com/wp-content/uploads/2020/09/essential-c-pdf.png 629w" sizes="(max-width: 268px) 100vw, 268px" /><a title="Link to Essential C PDF" href="http://cslibrary.stanford.edu/101/EssentialC.pdf" target="_blank" rel="nofollow noopener noreferrer">This was compiled</a> between 1996 and 2003 by Nick Parlante at Stanford college. It&#8217;s a 45 page PDF that summaries all the basic features of C.</p>
<p>It saves having to search online or through a reference book (I have the excellent O&#8217;Reilly C book as well). It has a few pitfalls to show you things to avoid and lots of short source examples.<span hidden class="__iawmlf-post-loop-links" data-iawmlf-links="[{&quot;id&quot;:531,&quot;href&quot;:&quot;http:\/\/cslibrary.stanford.edu\/101\/EssentialC.pdf&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251209004215\/http:\/\/cslibrary.stanford.edu\/101\/EssentialC.pdf&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:57:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 10:00:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 19:34:43&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-25 12:22:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 07:42:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-11 08:07:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-15 03:14:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-20 01:48:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-24 18:55:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 22:09:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 11:54:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-11 19:01:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 05:57:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-21 16:11:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-25 09:34:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-29 01:37:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-02 17:36:35&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-08 05:52:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-12 00:28:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-15 14:01:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-19 07:35:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-07-15 07:34:22&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-20 18:35:18&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-24 00:58:20&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-29 12:34:00&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-08-02 12:22:54&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-08-14 19:45:20&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-08-18 03:12:36&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-08-21 15:01:36&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-08-21 15:01:36&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;}]"></span></p>The post <a href="https://learncgames.com/essential-c-free-45-page-pdf/">Essential C – Free 45 page PDF</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1354</post-id>	</item>
		<item>
		<title>I&#8217;ve started on the C++ Windows eBook</title>
		<link>https://learncgames.com/ive-started-on-the-c-windows-ebook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ive-started-on-the-c-windows-ebook</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 21 Apr 2020 23:00:21 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Ebook]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Source code]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[game]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=434</guid>

					<description><![CDATA[<p>I made the mistake of starting by trying to convert the final version of Asteroid; all 2,200 lines of C into C++. It got very messy because I was trying to have all the moving objects (Player ship, asteroids, bullets, aliens ship) all based on a common ancestor class but then was trying to manipulate [&#8230;]</p>
The post <a href="https://learncgames.com/ive-started-on-the-c-windows-ebook/">I’ve started on the C++ Windows eBook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignleft size-medium wp-image-436" src="https://learncgames.com/wp-content/uploads/2020/04/codelisting-300x225.jpg" alt="C++ Code listing photo" width="300" height="225" srcset="https://learncgames.com/wp-content/uploads/2020/04/codelisting-300x225.jpg 300w, https://learncgames.com/wp-content/uploads/2020/04/codelisting.jpg 600w" sizes="(max-width: 300px) 100vw, 300px" />I made the mistake of starting by trying to convert the final version of Asteroid; all 2,200 lines of C into C++.</p>
<p>It got very messy because I was trying to have all the moving objects (Player ship, asteroids, bullets, aliens ship) all based on a common ancestor class but then was trying to manipulate those instances of the ancestor class and downcast back from the ancestor instances and I don&#8217;t think you can in C++. Compiler errors galore!</p>
<p>It was the wrong approach and I wasn&#8217;t using virtual functions. So instead I&#8217;m doing it step by step, adding on new features. Much like the original C development in 13 different steps.</p>
<p>Here&#8217;s the slightly shorter asteroids.cpp:</p>
<pre><code class="language-cpp" data-line="">// Asteroids C++ 2020 Chapter 27
#include &quot;game.h&quot;

int main(int argc,char * args[])
{
	Game g;
	g.InitSetup();
	g.GameLoop();
	g.FinishOff();
    return 0;
} </code></pre>
<p>There are other classes used from Game. I haven&#8217;t put everything in one &#8220;God&#8221; class!</p>The post <a href="https://learncgames.com/ive-started-on-the-c-windows-ebook/">I’ve started on the C++ Windows eBook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">434</post-id>	</item>
	</channel>
</rss>
