<?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>Hamid Alipour on Web Development &#38; Programming - Coding Recipes &#187; C Programming</title>
	<atom:link href="http://codingrecipes.com/category/c-programming/feed" rel="self" type="application/rss+xml" />
	<link>http://codingrecipes.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 20:08:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Animation Curves and Tweening; Understanding Animation Curves</title>
		<link>http://codingrecipes.com/animation-curves-and-tweening-understanding-animation-curves</link>
		<comments>http://codingrecipes.com/animation-curves-and-tweening-understanding-animation-curves#comments</comments>
		<pubDate>Thu, 16 Jun 2011 22:23:18 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1184</guid>
		<description><![CDATA[These equations are by Robert Penner, you can find a document here that explains this in much greater detail: http://www.robertpenner.com/easing/ The correct linear tween function looks like this: float linear_tween&#40;float t, float start, float end&#41; &#123; if &#40;t &#62; 1.0f&#41; return end; return t * end + &#40;1.0f - t&#41; * start; &#125; t is [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/animation-curves-and-tweening-understanding-animation-curves/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone: libpng error: CgBI: unknown critical chunk</title>
		<link>http://codingrecipes.com/iphone-libpng-error-cgbi-unknown-critical-chunk</link>
		<comments>http://codingrecipes.com/iphone-libpng-error-cgbi-unknown-critical-chunk#comments</comments>
		<pubDate>Wed, 25 May 2011 20:49:35 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Mac Programming]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1164</guid>
		<description><![CDATA[If you get this error when trying your app on the device, you have PNG compression on in Xcode, in Xcode 4 goto &#8220;Build Settings&#8221; search for PNG in the search box and turn off PNG compression&#8230;]]></description>
		<wfw:commentRss>http://codingrecipes.com/iphone-libpng-error-cgbi-unknown-critical-chunk/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Popen+ a Bidirectional Popen Implementation With Ability to Access PID and Kill/Terminate Processes</title>
		<link>http://codingrecipes.com/popen-a-bidirectional-popen-implementation-with-ability-to-access-pid-and-kill-terminate-processes</link>
		<comments>http://codingrecipes.com/popen-a-bidirectional-popen-implementation-with-ability-to-access-pid-and-kill-terminate-processes#comments</comments>
		<pubDate>Sun, 03 Apr 2011 07:53:17 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[Linux Programming]]></category>
		<category><![CDATA[Mac Programming]]></category>
		<category><![CDATA[Unix Programming]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1136</guid>
		<description><![CDATA[On Github: https://github.com/Codingrecipes/Popen+ This is a little popen implementation which will make it easier to kill processes and will give you access to the PID of the process, I don&#8217;t know why they didn&#8217;t do this in popen but I&#8217;m sure they had good reasons because those guys are way too smart&#8230; popen_plus.h: /* ** [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/popen-a-bidirectional-popen-implementation-with-ability-to-access-pid-and-kill-terminate-processes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite And The Problem Of Storing Long Long Integers</title>
		<link>http://codingrecipes.com/sqlite-and-the-problem-of-storing-long-long-integers</link>
		<comments>http://codingrecipes.com/sqlite-and-the-problem-of-storing-long-long-integers#comments</comments>
		<pubDate>Wed, 23 Mar 2011 19:55:16 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac Programming]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1118</guid>
		<description><![CDATA[Recently, I was trying to store a very large integer value in a SQLite column, it didn&#8217;t matter wether I used INTEGER or UNSIGNED BIG INT, SQLite rounded it for me and I was left with an integer value that wasn&#8217;t even close to what I needed. So one solution was to just use a [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/sqlite-and-the-problem-of-storing-long-long-integers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Not To Write Code</title>
		<link>http://codingrecipes.com/how-not-to-write-code</link>
		<comments>http://codingrecipes.com/how-not-to-write-code#comments</comments>
		<pubDate>Mon, 07 Mar 2011 22:39:42 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1101</guid>
		<description><![CDATA[I&#8217;m working on a website and it&#8217;s absolutely awful, almost all the design choices are bad so I will compile a list here as I encounter them: 1 &#8211; Don&#8217;t have fields in your database like &#8220;extra1&#8243;, &#8220;extra2&#8243; or &#8220;extra3&#8243; you probably need to refactor and rethink your design&#8230; 2 &#8211; Don&#8217;t have a global [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-not-to-write-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C: Determining Size Of a Malloced C Pointer At Runtime</title>
		<link>http://codingrecipes.com/c-determining-size-of-a-c-pointer-at-runtime</link>
		<comments>http://codingrecipes.com/c-determining-size-of-a-c-pointer-at-runtime#comments</comments>
		<pubDate>Tue, 01 Mar 2011 06:30:25 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1096</guid>
		<description><![CDATA[There is no direct/cross-platform way of doing this but you could do something cool, you could do what malloc does&#8230; (Although malloc stores more data than this) Say you want to allocate a chunk that is 100 bytes and you want to somehow attach this size to it, so you can check the size anytime [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/c-determining-size-of-a-c-pointer-at-runtime/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Xcode: Embedding Lua In iPhone Apps</title>
		<link>http://codingrecipes.com/xcode-embedding-lua-in-iphone-apps</link>
		<comments>http://codingrecipes.com/xcode-embedding-lua-in-iphone-apps#comments</comments>
		<pubDate>Fri, 25 Feb 2011 07:49:49 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1074</guid>
		<description><![CDATA[This is very simple, even though I can&#8217;t find so many resource regarding this online; follow these steps: 1- Download the latest version of Lua from: http://www.lua.org/ftp/ 2- Obviously unpack it and find the &#8220;src&#8221; folder. 3- Delete the files: &#8220;lua.c&#8221;, &#8220;luac.c&#8221; and &#8220;print.c&#8221; 4- Grab the &#8220;src&#8221; file and drop it in your project&#8217;s [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/xcode-embedding-lua-in-iphone-apps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C: Set An Entire Array Of Pointers To NULL</title>
		<link>http://codingrecipes.com/c-set-an-entire-array-of-pointers-to-null</link>
		<comments>http://codingrecipes.com/c-set-an-entire-array-of-pointers-to-null#comments</comments>
		<pubDate>Tue, 22 Feb 2011 21:57:56 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[C/C++]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1070</guid>
		<description><![CDATA[Apparently you can&#8217;t use memset() to do this: memset&#40;the_pointer, '0', sizeof&#40;the array&#41;&#41;; This will set all the bits in the array to zero but 0 is not guaranteed to be the representation of a NULL pointer so this might be true: if &#40;the_pointer_array&#91;10&#93; != NULL&#41; &#123;&#125; You must loop through and set them one by [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/c-set-an-entire-array-of-pointers-to-null/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenGL ES: Unbinding Vertex Buffer Objects &#8211; VBOs</title>
		<link>http://codingrecipes.com/opengl-es-unbinding-vertex-buffer-objects-vbos</link>
		<comments>http://codingrecipes.com/opengl-es-unbinding-vertex-buffer-objects-vbos#comments</comments>
		<pubDate>Tue, 07 Dec 2010 07:59:48 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1053</guid>
		<description><![CDATA[I couldn&#8217;t find this mentioned anywhere online, but the solution is very easy: glBindBuffer&#40;GL_ARRAY_BUFFER, 0&#41;; glBindBuffer&#40;GL_ELEMENT_ARRAY_BUFFER, 0&#41;; I hope this helps!]]></description>
		<wfw:commentRss>http://codingrecipes.com/opengl-es-unbinding-vertex-buffer-objects-vbos/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Understanding Pointers In C &#8211; C Pointers Tutorial</title>
		<link>http://codingrecipes.com/understanding-pointers-in-c-c-pointers-tutorial</link>
		<comments>http://codingrecipes.com/understanding-pointers-in-c-c-pointers-tutorial#comments</comments>
		<pubDate>Thu, 17 Jun 2010 08:45:08 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[Data Structures]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=997</guid>
		<description><![CDATA[We need to cover some ground so be patient and you will learn all about pointers. A computer stores variables in it&#8217;s memory and the memory is basically a series of zeros and ones. So if you could see the raw contents of your RAM you would see something similar to this: 010010010111111101010010101001010100101111001010100111001 Although your [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/understanding-pointers-in-c-c-pointers-tutorial/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

