<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>C++...PLUS</title>
	<atom:link href="http://moelghawi.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://moelghawi.wordpress.com</link>
	<description>Taking you a step further</description>
	<lastBuildDate>Wed, 01 Sep 2010 14:55:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='moelghawi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>C++...PLUS</title>
		<link>http://moelghawi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://moelghawi.wordpress.com/osd.xml" title="C++...PLUS" />
	<atom:link rel='hub' href='http://moelghawi.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Win32 Basics</title>
		<link>http://moelghawi.wordpress.com/2010/09/01/win32-basics/</link>
		<comments>http://moelghawi.wordpress.com/2010/09/01/win32-basics/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 14:54:08 +0000</pubDate>
		<dc:creator>C ...PLUS</dc:creator>
				<category><![CDATA[Games Programming]]></category>

		<guid isPermaLink="false">http://moelghawi.wordpress.com/?p=85</guid>
		<description><![CDATA[Now that you have created a project you are ready to start adding new items to it such as header files and classes. The first item that should be added is the &#8216;main&#8217; cpp file, or in this case the WinMain cpp file.  To add a new item, right-click on the projects name in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=85&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now that you have created a project you are ready to start adding new items to it such as header files and classes. The first item that should be added is the &#8216;main&#8217; cpp file, or in this case the WinMain cpp file.  To add a new item, right-click on the projects name in the Solution Explorer, then click Add, then New Item.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/newitem.jpg"><img class="alignleft size-medium wp-image-91" title="NewItem" src="http://moelghawi.files.wordpress.com/2010/09/newitem.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>Then select C++ File (.cpp), name it WinMain and click add.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/winmain.jpg"><img class="alignleft size-medium wp-image-92" title="WinMain" src="http://moelghawi.files.wordpress.com/2010/09/winmain.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>Now that you have your WinMain.cpp file, you must load it with the appropriate skeleton. In this particular tutorial such things will not be discussed as it is assumed that you already know what&#8217;s going on.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/winmainskeleton.jpg"><img class="alignleft size-medium wp-image-96" title="WinMainSkeleton" src="http://moelghawi.files.wordpress.com/2010/09/winmainskeleton.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>If you Build and Run this solution it should execute without any errors.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moelghawi.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moelghawi.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moelghawi.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=85&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://moelghawi.wordpress.com/2010/09/01/win32-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d65ee7a11bc0606cfcd6e5f8e0dc2c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mo</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/newitem.jpg?w=300" medium="image">
			<media:title type="html">NewItem</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/winmain.jpg?w=300" medium="image">
			<media:title type="html">WinMain</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/winmainskeleton.jpg?w=300" medium="image">
			<media:title type="html">WinMainSkeleton</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a New Project</title>
		<link>http://moelghawi.wordpress.com/2010/09/01/creating-a-new-project/</link>
		<comments>http://moelghawi.wordpress.com/2010/09/01/creating-a-new-project/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 13:56:27 +0000</pubDate>
		<dc:creator>C ...PLUS</dc:creator>
				<category><![CDATA[Games Programming]]></category>

		<guid isPermaLink="false">http://moelghawi.wordpress.com/?p=24</guid>
		<description><![CDATA[To start off, open MS Visual Studio and select New Project from the Start Page or go to File, New then Project. Then select C++ from the installed templates on the left-hand side of the window. You will then get the list of C++ projects down the middle, select Win32 Project and give it a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=24&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">To start off, open MS Visual Studio and select New Project from the Start Page or go to File, New then Project.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/startpage.jpg"><img class="size-medium wp-image-27 alignleft" title="StartPage" src="http://moelghawi.files.wordpress.com/2010/09/startpage.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>Then select C++ from the installed templates on the left-hand side of the window. You will then get the list of C++ projects down the middle, select Win32 Project and give it a name (something that makes sense to you). I will call mines &#8220;Object_Oriented_DX&#8221;.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/win32project2.jpg"><img class="alignleft size-medium wp-image-88" title="Win32Project" src="http://moelghawi.files.wordpress.com/2010/09/win32project2.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>At the next window click next and highlight the &#8216;empty project&#8217; check-box, then click finish.</p>
<p><a href="http://moelghawi.files.wordpress.com/2010/09/emptyproject.jpg"><img class="alignleft size-medium wp-image-77" title="EmptyProject" src="http://moelghawi.files.wordpress.com/2010/09/emptyproject.jpg?w=650&#038;h=400" alt="" width="650" height="400" /></a></p>
<p>And that would open a blank Win32 project ready for some programming.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moelghawi.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moelghawi.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moelghawi.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=24&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://moelghawi.wordpress.com/2010/09/01/creating-a-new-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d65ee7a11bc0606cfcd6e5f8e0dc2c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mo</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/startpage.jpg?w=300" medium="image">
			<media:title type="html">StartPage</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/win32project2.jpg?w=300" medium="image">
			<media:title type="html">Win32Project</media:title>
		</media:content>

		<media:content url="http://moelghawi.files.wordpress.com/2010/09/emptyproject.jpg?w=300" medium="image">
			<media:title type="html">EmptyProject</media:title>
		</media:content>
	</item>
		<item>
		<title>Prerequisite</title>
		<link>http://moelghawi.wordpress.com/2010/09/01/prerequisite/</link>
		<comments>http://moelghawi.wordpress.com/2010/09/01/prerequisite/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 12:47:59 +0000</pubDate>
		<dc:creator>C ...PLUS</dc:creator>
				<category><![CDATA[Games Programming]]></category>

		<guid isPermaLink="false">http://moelghawi.wordpress.com/?p=16</guid>
		<description><![CDATA[Tools Required: MS Visual Studio 2010 (or 2008) Latest DirectX SDK (I have Feb 2010) These tutorials assume the reader has some knowledge of DirectX programming in C++ and does not fully explain certain aspects in detail. It does not aim to start from the very beginning, in fact it is intended to convert existing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=16&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tools Required:</p>
<ul>
<li>MS Visual Studio 2010 (or 2008)</li>
<li>Latest DirectX SDK (I have Feb 2010)</li>
</ul>
<p>These tutorials assume the reader has some knowledge of DirectX programming in C++ and does not fully explain certain aspects in detail. It does not aim to start from the very beginning, in fact it is intended to convert existing DirectX programming into an Object-Oriented style. If someone has not done any DirectX programming in C++ before, I would recommend they go through the tutorials at <a href="http://www.directxtutorial.com/" target="_blank">http://www.directxtutorial.com/</a>, these tutorials start from the very beginning and give a very detailed explanation of nearly every aspect in DirectX.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moelghawi.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moelghawi.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moelghawi.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=16&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://moelghawi.wordpress.com/2010/09/01/prerequisite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d65ee7a11bc0606cfcd6e5f8e0dc2c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mo</media:title>
		</media:content>
	</item>
		<item>
		<title>DirectX Object Oriented Programming</title>
		<link>http://moelghawi.wordpress.com/2010/08/02/directx-object-oriented-programming/</link>
		<comments>http://moelghawi.wordpress.com/2010/08/02/directx-object-oriented-programming/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 17:24:44 +0000</pubDate>
		<dc:creator>C ...PLUS</dc:creator>
				<category><![CDATA[Games Programming]]></category>

		<guid isPermaLink="false">http://moelghawi.wordpress.com/?p=5</guid>
		<description><![CDATA[Ok, so for my final year project at university I decided to create a 3D game engine using C++ and DirectX, and of course all of this was to be done in object-oriented cause lets face it object-oriented programming rules. So I had my years of experience with C++ and some previous experience with DirectX. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=5&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok, so for my final year project at university I decided to create a 3D game engine using C++ and DirectX, and of course all of this was to be done in object-oriented cause lets face it object-oriented programming rules. So I had my years of experience with C++ and some previous experience with DirectX. Although my DirectX skills at the time were fairly weak I was not too bothered since there was a really good online tutorial that I was able to follow. HOWEVER, the problem was to get my DirectX programming in line with my C++ programming, that is to convert my DX programming into object-oriented. Object oriented programming was not so hard for me until I came across DirectX. The biggest problem was that there was no online tutorial or help (free help) that would teach me how to convert what I&#8217;ve already done in DX to OO. So after months and months of frustration and hard work I managed to finish my project and graduate with 1st class honours :d. And now I&#8217;ve decided to share with you all what I have learnt and produced over a year or so, mainly speaking; DirectX programming using object-oriented techniques.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moelghawi.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moelghawi.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moelghawi.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moelghawi.wordpress.com&amp;blog=12729519&amp;post=5&amp;subd=moelghawi&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://moelghawi.wordpress.com/2010/08/02/directx-object-oriented-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6d65ee7a11bc0606cfcd6e5f8e0dc2c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Mo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
