<?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>Programming Articles</title>
	<atom:link href="http://programmingarticles.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingarticles.wordpress.com</link>
	<description>Collection of programming articles, programming tips, etc. for other programming students like me.</description>
	<lastBuildDate>Thu, 09 Nov 2006 06:26:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='programmingarticles.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Programming Articles</title>
		<link>http://programmingarticles.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://programmingarticles.wordpress.com/osd.xml" title="Programming Articles" />
	<atom:link rel='hub' href='http://programmingarticles.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Art and Science of Computer Game Design</title>
		<link>http://programmingarticles.wordpress.com/2006/11/08/the-art-and-science-of-computer-game-design/</link>
		<comments>http://programmingarticles.wordpress.com/2006/11/08/the-art-and-science-of-computer-game-design/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 05:47:32 +0000</pubDate>
		<dc:creator>programmingarticles</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[game programming]]></category>
		<category><![CDATA[programming tips]]></category>

		<guid isPermaLink="false">http://programmingarticles.wordpress.com/2006/11/08/the-art-and-science-of-computer-game-design/</guid>
		<description><![CDATA[For anyone that enjoys playing computer games, a career and computer game design would be a dream come true. What could possibly the more enjoyable and rewording then designing your own computer game and actually being paid for it? Some designers are paid very, very well indeed. Every fan of computer games has no doubt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=9&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For anyone that enjoys playing computer games, a career and computer game design would be a dream come true. What could possibly the more enjoyable and rewording then designing your own computer game and actually being paid for it? Some designers are paid very, very well indeed. Every fan of computer games has no doubt at least occasionally fantasized having a career in computer game design, as a gamer myself, I have thought about how cool that would be myself.</p>
<p>If you are dreaming of a job in the computer game design industry, the good news is it’s a huge industry and there are loads of jobs available and it pays remarkably well if you should happen to come up with a hot seller. The bad news is that it is very difficult to learn the requisite programming skills that are required. Getting a degree in computer science is a solid beginning, but there&#8217;s nothing easy about achieving that either. Of the six friends I had in college that were computer science majors, only one of them has the fortitude to see it through and actually get a degree. It is a grueling major filled with advanced mathematics classes and tedious programming exercises. You really have to be smart, and you really have to be motivated.</p>
<p>If these things sound like something you could handle that a computer game design career may be something you could do. You will definitely need a deep abiding affection for computer games, but that&#8217;s pretty obvious isn&#8217;t it? My college friend that got his computer science degree is currently working for a well knowing game design company, and absolutely loves it. He will tell you though, that it is nowhere near the fun and games that he first imagined it would be.</p>
<p>Computer games today have absolutely huge amounts of complex code and can take years to complete. In the infancy of the game industry, computer game design teams often consisted of just a few people. Nowadays, a lot of the games have many different production teams all working simultaneously on a project, with each working in their own field of expertise.</p>
<p>For the really skilled programmers, there is no limit to what you can achieve. Experienced programmers with a proven track record under their belts can not only command a large salary but can have a lot of creative input over the direction of the game.</p>
<p>There are some other job in the computer game design industry and programming does not interest you. Generally, programmers are the most sought after, but good graphic artists and writers can be attractive employees to say game design producers. They may not be paid as well, but they most certainly still make an excellent living in the ever burgeoning industry of computer game design.</p>
<p>Morgan Hamilton offers expert advice and great tips regarding all aspects concerning games. Get the information you are seeking now by visiting <a href="http://www.xtraordinarysite.com/games/games/the-art-and-science-of-computer-game-design.html" target="_new">Computer Game Design</a></p>
<p align="center"><strong> Good Book: <a href="http://www.amazon.com/gp/product/1592000908?ie=UTF8&amp;tag=resumeasap-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN%3C/p%3E%3Cp%3E=1592000908">MUD Game Programming (Game Development)</a><img src="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&amp;l=as2&amp;o=1&amp;a=1592000908" style="border:medium none !important;margin:0 !important;" border="0" height="1" width="1" /></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingarticles.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingarticles.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingarticles.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingarticles.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingarticles.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=9&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programmingarticles.wordpress.com/2006/11/08/the-art-and-science-of-computer-game-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3a8e425c225b409866b582830e3b428?s=96&#38;d=identicon" medium="image">
			<media:title type="html">programmingarticles</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&#38;l=as2&#38;o=1&#38;a=1592000908" medium="image" />
	</item>
		<item>
		<title>Five Tips for Effective Object-oriented Programming in C++</title>
		<link>http://programmingarticles.wordpress.com/2006/11/08/five-tips-for-effective-object-oriented-programming-in-c/</link>
		<comments>http://programmingarticles.wordpress.com/2006/11/08/five-tips-for-effective-object-oriented-programming-in-c/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 05:45:53 +0000</pubDate>
		<dc:creator>programmingarticles</dc:creator>
				<category><![CDATA[C++ programming]]></category>
		<category><![CDATA[general programming]]></category>
		<category><![CDATA[programming tips]]></category>

		<guid isPermaLink="false">http://programmingarticles.wordpress.com/2006/11/08/five-tips-for-effective-object-oriented-programming-in-c/</guid>
		<description><![CDATA[Spurgeon’s Law says that 90% of everything is crap. This certainly holds true in the world of software development, and especially when it comes to object-orientation and C++ programming. This is largely due to the pervasiveness and complexity of C++; it’s one of the most commonly used object-oriented languages, and yet few people know how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=8&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Spurgeon’s Law says that 90% of everything is crap. This certainly holds true in the world of software development, and especially when it comes to object-orientation and C++ programming. This is largely due to the pervasiveness and complexity of C++; it’s one of the most commonly used object-oriented languages, and yet few people know how to use it effectively. Couple this with the fact that few programmers truly grasp the object-oriented programming philosophy and you have an instant recipe for sloppy code. Volumes can be—and have been—written on how to develop proper object-oriented software designs using C++. Obviously, there won’t be space in this article for a truly thorough discussion; however, I would like to present a few quick, simple and effective tips for developing robust C++ software.</p>
<p>1. Work on the class designs first before deciding on the precise sequence of operations. Many programmers fancy themselves as doing object-oriented programming, but in reality, they use structured programming with some external object-oriented trappings. Ideally, one should first select a set of software objects that provide a logical abstraction of the software, then work on the sequence of operations. (This is by no means an absolute rule though, as the process of developing this sequence often reveals ways in which the object design can be refined.)</p>
<p>2. Think in terms of design patterns. Design patterns allow someone to draw on years of problem-solving experience within the computer science community. Instead of reinventing the wheel, why not just pick one off the shelf?</p>
<p>3. Use ‘const’ objects and ‘const’ functions whenever possible. If you know that an object’s data is never supposed to be modified, then declare the object to be ‘const’. This will prevent you—or worse, a naïve colleague&#8211;from accidentally modifying its state later on. Of course, one should also declare the appropriate member functions to be ‘const’ as well, to properly enforce this rule.</p>
<p>4. Avoid using public ‘get’ and ‘set’ member functions. Getters and setters are not inherently bad; however, they are often a sign of poor software abstraction. ‘Get’ and ‘set’ functions implicitly force the user to think in terms of the object’s internal data (i.e. whatever these functions are getting or setting), and such details should ideally be hidden from the object’s user. Getters and setters have their place, but please use them sparingly.</p>
<p>5. Avoid double indirection. C programmers are forced to work with pointers, and so they are used to having pointers to pointers throughout their code. This can often lead to confusing code, due to the all-too-familiar problems of NULL references and pointer arithmetic. In contrast, C++ programmers are under no such constraints, due to the built-in support for variable references in C++; that is, one can always use references to pointers instead, which makes the code much easier to understand. (Hint: If a C++ programmer uses double indirection, that’s a clear sign that he’s still thinking like an inexperienced C hack!)</p>
<p>About the author:</p>
<p>V. B. Velasco Jr., Ph.D. has worked as an electrical and software engineer for more than a decade. He currently works for a biotech firm that provides <a href="http://www.elispot-analyzers.de/" target="_New">cryopreserved PBMCs</a>, <a href="http://www.elispot.cn/" target="_New">ELISPOT analyzers</a> and <a href="http://www.elispot.co.jp/" target="_New">ELISPOT expertise</a>.</p>
<p align="center"><strong>Good Book: <a href="http://www.amazon.com/gp/product/0131857576?ie=UTF8&amp;tag=resumeasap-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN%3C/p%3E%3Cp%3E=0131857576">C++ How to Program (5th Edition) (How to Program)</a><img src="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&amp;l=as2&amp;o=1&amp;a=0131857576" style="border:medium none !important;margin:0 !important;" border="0" height="1" width="1" /></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingarticles.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingarticles.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingarticles.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingarticles.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingarticles.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=8&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programmingarticles.wordpress.com/2006/11/08/five-tips-for-effective-object-oriented-programming-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3a8e425c225b409866b582830e3b428?s=96&#38;d=identicon" medium="image">
			<media:title type="html">programmingarticles</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&#38;l=as2&#38;o=1&#38;a=0131857576" medium="image" />
	</item>
		<item>
		<title>C++ Tutorial 1, Introduction to C++</title>
		<link>http://programmingarticles.wordpress.com/2006/11/06/c-tutorial-1-introduction-to-c/</link>
		<comments>http://programmingarticles.wordpress.com/2006/11/06/c-tutorial-1-introduction-to-c/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 21:40:22 +0000</pubDate>
		<dc:creator>programmingarticles</dc:creator>
				<category><![CDATA[C++ programming]]></category>
		<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://programmingarticles.wordpress.com/2006/11/06/c-tutorial-1-introduction-to-c/</guid>
		<description><![CDATA[Introduction to C++ Why Learn C++? C++ may at first seem like a boring, confusing programming language that you can only program command prompt applications with. Well, that is what it is like in the [b]begining[/b]. And you are going to need to learn the basics like this with any programming language. As you get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=7&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Introduction to C++</p>
<p>Why Learn C++?</p>
<p>C++ may at first seem like a boring, confusing programming language that you can only program command prompt applications with. Well, that is what it is like in the [b]begining[/b]. And you are going to need to learn the basics like this with any programming language. As you get better and progress in your C++ skills, you will begin to learn that you can start making some cool applications easier than you thought you could. The main reason to learn C++ though, is that it teaches all the basics of programming and you will learn concepts that will be used in other types of programming. Many other programming languages are like C++ or use C++. For example, PHP, a powerful web development language uses almost the same syntaxes as C++. DirectX, a common game development graphics library primarily uses C++.</p>
<p>Setting up C++</p>
<p>Ill assume that most people are not going to want to spend the money for a compiler, thats fine, there are many great free compilers. I use Dev-C++ because it has some nice features and is fast, and best of all, its FREE!</p>
<p>http://www.bloodshed.net/dev/devcpp.html</p>
<p>You can download it here.Download it and install it, this step is pretty easy. During instillation, select all the deafult values during instillation.</p>
<p>Create a New Project:<br />
Go to the top menu: File -&gt; New -&gt; Source File, or just press Ctrl+N</p>
<p>You should now have a text document. Then, write the following text in the document:</p>
<p>#include</p>
<p>using namespace std;</p>
<p>int main()  {cout&lt;&lt;&#8221;Hello World!&#8221;;</p>
<p>cin.get();  }</p>
<p>I would suggest typing it instead of copying it, you will get alot more out of actually typing it rather than copying it, because you get used to the syntaxes and development.Run the Application:<br />
Now that you have your first C++ Application, [b]Press F9 [/b] to compile and run it. If you did everything right, it should open a command prompt like application and say &#8216;Hello World&#8217; or whatever you told it to say. If it doesnt, look over the code and make sure everything is correct.</p>
<p>Code Analysis</p>
<p>#include<br />
Tells the compiler that we are going to be using the iostream library, which includes information on things we will be using in the code.</p>
<p>using namespace std;<br />
Saves time by telling the compiler that we are going to be using the &#8216;std::&#8217; functions, which stands for &#8216;standard&#8217;.</p>
<p>int main()<br />
Starts the main function, this is were the heart of the program is. I will get into what functions are later on.</p>
<p>{  Starts the main function.</p>
<p>cout&lt;&lt;&#8221;Hello World!&#8221;;[/code]  Writes "Hello World!" to the screen. cout stands for 'console output.'</p>
<p>cin.get();[/code] Gets a variable from the user, we wont really be using this, but it is what will keep our application from being closed really quick.</p>
<p>}  Closes our main function.</p>
<p>Analysis:<br />
Now that we have made a simple C++ Application, we will start getting into more advanced topics so you can start making useful applications.</p>
<p align="left">Chris Silop - <a href="http://www.syschat.com/" target="_new">http://www.syschat.com</a> Computer Forum</p>
<p align="center">&nbsp;</p>
<p align="center"><strong>Good Book: </strong></p>
<p align="center">&nbsp;</p>
<p align="center"><strong><a href="http://www.amazon.com/gp/product/020172684X?ie=UTF8&amp;tag=resumeasap-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=020172684X">Bundle of Algorithms in C++,  Parts 1-5: Fundamentals, Data Structures, Sorting, Searching, and Graph Algorithms (3rd Edition)</a><img src="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&amp;l=as2&amp;o=1&amp;a=020172684X" style="border:medium none !important;margin:0 !important;" border="0" height="1" width="1" /></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingarticles.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingarticles.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingarticles.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingarticles.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingarticles.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=7&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programmingarticles.wordpress.com/2006/11/06/c-tutorial-1-introduction-to-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3a8e425c225b409866b582830e3b428?s=96&#38;d=identicon" medium="image">
			<media:title type="html">programmingarticles</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&#38;l=as2&#38;o=1&#38;a=020172684X" medium="image" />
	</item>
		<item>
		<title>Importance of Coding Standards</title>
		<link>http://programmingarticles.wordpress.com/2006/11/06/importance-of-coding-standards/</link>
		<comments>http://programmingarticles.wordpress.com/2006/11/06/importance-of-coding-standards/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 20:35:02 +0000</pubDate>
		<dc:creator>programmingarticles</dc:creator>
				<category><![CDATA[coding]]></category>

		<guid isPermaLink="false">http://programmingarticles.wordpress.com/2006/11/06/importance-of-coding-standards/</guid>
		<description><![CDATA[By John Dirk Programming Help for Beginners We write programs to instruct computers. When programming using a high level programming language like C++ or Java, we are using a syntax that is somewhat closer to human languages. However, we use these programs as inputs to either compilers or interpreters to be converted to computer understandable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=5&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By John Dirk</p>
<p>Programming Help for Beginners</p>
<p>We write programs to instruct computers. When programming using a high level programming language like C++ or Java, we are using a syntax that is somewhat closer to human languages. However, we use these programs as inputs to either compilers or interpreters to be converted to computer understandable binary format. For this reason, as far as the program code adheres to the syntax of the used programming languages, the compilers and interpreters never bother about the layout or visual formatting of the program code. However, as human programmers, we ourselves need to bother about the aesthetics of  the program code.</p>
<p>What is a Coding Standard?</p>
<p>A coding standard is a set of guidelines, rules and regulations on how to write code. Usually a coding standard includes guide lines on how to name variables, how to indent the code, how to place parenthesis and keywords etc. The idea is to be consistent in programming so that, in case of multiple people working on the same code, it becomes easier for one to understand what others have done. Even for individual programmers, and especially for beginners, it becomes very important to adhere to a standard when writing the code. The idea is, when we look at our own code after some time, if we have followed a coding standard, it takes less time to understand or remember what we meant when we wrote some piece of code.</p>
<p>Coding Standards Make a Difference</p>
<p>Look at the following example:</p>
<p>int volume(int i, int j, int k) {</p>
<p>int vol;</p>
<p>vol = i * j * k;</p>
<p>return vol;</p>
<p>}</p>
<p>Looking at this code at a glance, it takes some time for one to understand that this function calculates the volume. However if we adhere to a naming convention for variables and method names, we could make the code more readable.</p>
<p>Here are few sample conventions:</p>
<p>use meaningful variable names<br />
use verbs in method names<br />
use nouns for variables<br />
use 4 spaces to indent</p>
<p>int calculateVolume(int height, int width, int length) {</p>
<p>int volume = 0;</p>
<p>volume = height * width * length;</p>
<p>return volume;</p>
<p>}</p>
<p>It takes more time to type this code, however this saves far more time. This code is far more readable than its original version. With a little bit of effort, we could make the code much more understandable.</p>
<p>The Benefits</p>
<p>It is not only the readability that we get through a coding standard in programming. Writing more secure code could also be encouraged through a coding convention. As an example, in C++ we could say that each pointer variable must be initialized to NULL.</p>
<p>char* myName = NULL;</p>
<p>This ensures that we would not corrupt memory while using this pointer variable.</p>
<p>Code readability is just one of the aspects of maintainability. Coding standards help a great deal with program maintainability, our ability to change programs with ease. Consistency imposed through a coding standard is a key factor to achieve success in maintaining prorams.</p>
<p>Defining Your Own Coding Standard</p>
<p>A programmer can define his or her own coding convention and adhere to that in writing  programms. However there are many coding conventions available on the Internet. Those who program in Java should have a look into  http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html &#8211; Code Conventions for the Java Programming Language by Sun.</p>
<p>For C++ coding standards, I would recommend that you have a look into http://www.bbc.co.uk/guidelines/webdev/AppB.Cpp_Coding_Standards.htm &#8211; C++ Coding Standards from BBC.</p>
<p>http://oopweb.com/CPP/Documents/CPPHOWTO/Volume/C++Programming-HOWTO-14.html &#8211; C++ Programming HOWTO has some C++ Coding Conventions and also a bunch of links that lead to several coding standards that you can pick from.</p>
<p>John Dirk</p>
<p>Programming Consultant</p>
<p>http://www.programminghelp4u.com/<br />
Programming ( Assignment / Project ) Help</p>
<p align="center"><strong> Good Book: <a href="http://www.amazon.com/gp/product/0321113586?ie=UTF8&amp;tag=resumeasap-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321113586">C++ Coding Standards: 101 Rules, Guidelines, and Best Practices (C++ In-Depth Series)</a><img src="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&amp;l=as2&amp;o=1&amp;a=0321113586" style="border:medium none !important;margin:0 !important;" border="0" height="1" width="1" /></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingarticles.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingarticles.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingarticles.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingarticles.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingarticles.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=5&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programmingarticles.wordpress.com/2006/11/06/importance-of-coding-standards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3a8e425c225b409866b582830e3b428?s=96&#38;d=identicon" medium="image">
			<media:title type="html">programmingarticles</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&#38;l=as2&#38;o=1&#38;a=0321113586" medium="image" />
	</item>
		<item>
		<title>Create Computer Games &#8211; Get Started on Creating Your Own Virtual Worlds</title>
		<link>http://programmingarticles.wordpress.com/2006/11/06/create-computer-games-get-started-on-creating-your-own-virtual-worlds/</link>
		<comments>http://programmingarticles.wordpress.com/2006/11/06/create-computer-games-get-started-on-creating-your-own-virtual-worlds/#comments</comments>
		<pubDate>Mon, 06 Nov 2006 20:12:25 +0000</pubDate>
		<dc:creator>programmingarticles</dc:creator>
				<category><![CDATA[computer programming]]></category>
		<category><![CDATA[game programming]]></category>

		<guid isPermaLink="false">http://programmingarticles.wordpress.com/2006/11/06/create-computer-games-get-started-on-creating-your-own-virtual-worlds/</guid>
		<description><![CDATA[By Daniel Punch I’ve always loved video games, ever since I first played them on a friend’s computer in the afternoon after elementary school. There’s something almost magical about the fact that we can move images around and interact with virtual worlds, a living fantasy presented for us to interact with however we please. I’ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=3&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By Daniel Punch</p>
<p>I’ve always loved video games, ever since I first played them on a friend’s computer in the afternoon after elementary school. There’s something almost magical about the fact that we can move images around and interact with virtual worlds, a living fantasy presented for us to interact with however we please. I’ve also always wanted to make games myself but, until recently, didn’t have the technical knowledge to do so. Now, I’m a second year software engineering student, so if I weren’t able to code a game without too many dramas there’d be something drastically wrong. But what about the common person: the person for whom the term ‘memory leak’ conjures up images of their grandfather, ‘pipeline’ is where the water flows, and ‘blitting’ is unheard of? Well, everyone can get in on the game creation process, and you don’t even need to learn ‘real’ programming to do so.</p>
<p>So where do games start? With an idea. Games, like all fiction, require an idea to be successful. Sure, in the same way you can just sit down and write a story without foresight, you can jump on in and slap a game together. However, unless you get ridiculously lucky, the best works are usually the ones that have been well thought out beforehand.</p>
<p>There are two methods of planning a project. You can start from a known technological standpoint and build your project on top of that or you can just go for the design, add as many features and ideas as you like, and then remove the ones that you can’t use when you’ve decided on the technology you’re going to implement the game with. In general, the second type is probably the best one to go with when designing games. When you’re first starting out however, the first option will save you many headaches.</p>
<p>So, for a first game you’re going to want a pretty simple idea. Don’t get me wrong, crazy-go-nuts game ideas are fantastic, and there should be more of them out there, but you’re not going to be able to create a real world simulator with fifty billion virtual people all interacting real time with your actions having a butterfly effect on the future of the virtual universe when it’s just your first game. Really. Many people try it; none that I know of have succeeded. Imitation is the best way to start out. Simple games such as ‘Space Invaders’, ‘Tetris’, ‘Pacman’ or even ‘Pong’ are great places to start. All are largely simple to create but have some inherent challenges. ‘Pacman’ for example, requires path finding for the ghosts. I recommend that you start even simpler than that for your very first attempt. ‘Space Invaders’ is a nice point to jump in. You can make a simple, complete game without much effort and it’s almost infinitely extensible.</p>
<p>If you’re stuck for an idea, pick a genre that you enjoy. Do you love adventure games such as ‘Monkey Island’, ‘Grim Fandango’, ‘Space Quest’, ‘King’s Quest’ etc.? Design one of those. Are you into fighting games like ‘Street Fighter’, ‘Tekken’, ‘Soul Calibur’, ‘Mortal Kombat’ and so on? Come up with an idea for that. Do you like first person shooters such as ‘Quake’, ‘Half Life’ or ‘Doom’? I don’t recommend it as a first project, but you can always give it a go. Feel free to be as generic as you like, this is a learning experience after all.</p>
<p>Now that you have your idea it’s time to flesh it out. Don’t worry about the technology or the fact that you may not know how to actually implement a game just yet, just grab yourself some paper and a pencil and go crazy with ideas. Describe the main characters, game play, goals, interactions, story, and key mappings, anything you can think of. Make sure you have enough detail so that someone can read through the notes and play through the game in their head with relative accuracy. Changing game design during the coding process is almost always a bad idea. Once it’s set, it should remain set until the tweaking phase (I’ll go into this more later) or you’re likely to enter ‘development hell’, where the project goes on and on; more and more work is done with less and less outcome.</p>
<p>At the end of this period of your game creation, you should have the following:</p>
<p>-    A written outline of the game’s characters and possibly a sketch or two (be they space ships, yellow circles, cars or the prince of the dark kingdom of Falgour, you need to know who or what the player will be and who they will compete against)</p>
<p>-    A written outline of the story (if there is one, this isn’t too vital for ‘Space Invaders’ or ‘Tetris’, but for ‘Uber Quest: An Adventure of Awesomeness’ it’s a really good idea)</p>
<p>-    A description of game play, written or storyboarded. Storyboards are visual representations of ideas. Draw your characters in actions, with arrows showing the flow of action and short written descriptions detailing the events occurring in your image (because some of us aren’t fantastic artists and our images can be a little… open to interpretation…)</p>
<p>Now that you have a fleshed out idea, it’s time to work out how this will all get put together. If you’ve gotten to this point and are worried that you’re going to have to spend years learning complex programming languages in order to implement your idea, fear not! Others have already done the hard yards for you. There are many RAD (Rapid Application Development) Tools available for game creation, a number of which are available for free online. Some of them still require you to learn a ‘scripting language’ (a simplified programming language made for a specific task) but in general this isn’t too complicated or involved. I’ve compiled a brief list of some of these I have found at the end of the article. The free ones are listed first, organized by game genre.</p>
<p>Well, that should be enough to get you started in the creation of your game. The most important thing to remember once you’ve gotten this far is that you need to complete your game. Many people start a project and then lose interest and it fails, or they keep moving on to one new project after another without finishing anything. Start small, build a working (if simple) game that is, above all else, complete. When you get to this stage you will always have a huge number of things that you wish to change, fix etc. but you’ll get a great feeling from knowing that it is, in its way, finished.</p>
<p>From this point, you can start the tweaking phase. Play your game a few times and ask others to do the same. Take note of what isn’t fun or could be better and change things here. At this stage, it is more important than ever to keep backups of previous versions so that if a change doesn’t work you can go back and try something different without losing any of your work. It is at this point that you can add all new features, improve graphics and sounds, whatever you please, safe in the knowledge that you’re working on a solid foundation.</p>
<p>When you’re happy with your game, why not share it with the world? There are many cheap or free places out there for you to host your files on and then you can jump on link lists and forums and let everyone know about your creation. Well, I hope that this has been a helpful introduction into the art of creating games. It’s a great deal of fun, and can open whole new avenues of creative expression for you to explore. Jump in and have fun!</p>
<p>Links:</p>
<p>General Game Creation:<br />
(Tools that allow easy creation of many different game types)<br />
Game Maker: http://www.gamemaker.nl<br />
MegaZeux: http://megazeux.sourceforge.net/</p>
<p>Adventure Games:<br />
(Games such as Monkey Island, King’s Quest, Space Quest etc.)<br />
Adventure Game Studio: http://www.bigbluecup.com<br />
AGAST: http://www.allitis.com/agast/<br />
3D Adventure Studio: http://3das.noeska.com/<br />
ADRIFT (for text adventures): http://www.adrift.org.uk/</p>
<p>Role Playing Games (RPGs):<br />
(Games such as Final Fantasy, Breath of Fire, Diablo)<br />
OHRPG: http://www.hamsterrepublic.com/ohrrpgce/<br />
RPG Toolit: http://www.toolkitzone.com/</p>
<p>Fighting Games:<br />
(Games such as Street Fighter, Mortal Kombat, Tekken, Soul Calibur etc.)<br />
KOF91: http://sourceforge.net/projects/kof91/<br />
MUGEN (unfortunately the site is largely in French): http://www.streetmugen.com/mugen-us.html</p>
<p>Side-Scrolling Games:<br />
(Games such as the 2D Mario Games, Sonic the Hedgehog, Double Dragon etc.)<br />
The Scrolling Game Development Kit: http://gamedev.sourceforge.net/</p>
<p>There are many others available as well. One particularly useful site for finding game creation tools is: http://www.ambrosine.com/resource.html</p>
<p>Also of note, although not freeware, are the excellent game creation tools available by Clickteam at: http://www.clickteam.com/English/<br />
Klik and Play and The Games Factory in particular are the programs to have a look at and download the free demos of.</p>
<p>If you really want to do things right and program the game yourself, there are some excellent programming resources available at the following locations:</p>
<p>Java Game Programming:<br />
http://fivedots.coe.psu.ac.th/~ad/jg/<br />
http://www.gamedev.net/reference/articles/article1262.asp<br />
http://javaboutique.internet.com/tutorials/Java_Game_Programming/</p>
<p>Visual Basic Game Programming:<br />
http://markbutler.8m.com/vb-tutorial.htm</p>
<p>C++ Game Programming:<br />
http://www3.telus.net/alexander_russell/course_dx/introduction_dx.htm<br />
http://www.rit.edu/~jpw9607/tutorial.htm</p>
<p>General Information:<br />
http://www.gamedev.net/<br />
http://www.gamasutra.com/</p>
<p>Daniel Punch<br />
M6.Net<br />
http://www.m6.net<br />
Daniel Punch is a university student learning how to make a living through having fun.</p>
<p align="center"><strong>Good Book: <a href="http://www.amazon.com/gp/product/0131857576?ie=UTF8&amp;tag=resumeasap-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN%3C/p%3E%3Cp%3E=0131857576">C++ How to Program (5th Edition) (How to Program)</a><img src="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&amp;l=as2&amp;o=1&amp;a=0131857576" style="border:medium none !important;margin:0 !important;" border="0" height="1" width="1" /></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/programmingarticles.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/programmingarticles.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/programmingarticles.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/programmingarticles.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/programmingarticles.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=programmingarticles.wordpress.com&amp;blog=526204&amp;post=3&amp;subd=programmingarticles&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://programmingarticles.wordpress.com/2006/11/06/create-computer-games-get-started-on-creating-your-own-virtual-worlds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f3a8e425c225b409866b582830e3b428?s=96&#38;d=identicon" medium="image">
			<media:title type="html">programmingarticles</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=resumeasap-20&#38;l=as2&#38;o=1&#38;a=0131857576" medium="image" />
	</item>
	</channel>
</rss>
