<?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>SycloneFX.com &#187; Programming</title>
	<atom:link href="http://www.syclonefx.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.syclonefx.com</link>
	<description>News &#38; Reviews of Tech, Comics, TV and Video Games</description>
	<lastBuildDate>Sun, 04 Jul 2010 02:26:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Where Do I Start with iPhone Programming?</title>
		<link>http://www.syclonefx.com/2009/07/17/where-do-i-start-with-iphone-programming/</link>
		<comments>http://www.syclonefx.com/2009/07/17/where-do-i-start-with-iphone-programming/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 01:38:40 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Programming]]></category>
		<category><![CDATA[iPhone3]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=111</guid>
		<description><![CDATA[There are so many websites out there telling you different places to start. This is were I started and were  I am currently with writing my own iPhone App. Its been a long hard process and I had to start at the very beginning. I didn&#8217;t know C Programming, which is the basic language you need [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>There are so many websites out there telling you different places to start. This is were I started and were  I am currently with writing my own iPhone App. Its been a long hard process and I had to start at the very beginning.   I didn&#8217;t know C Programming, which is the basic language you need to know to start writing for the iPhone. The iPhone uses Cocoa Touch and Objective-C programming language, know C programming just makes it easier. On my trip I been reading a few books. Here is a list of books that will help you with your apps.</p>
<ul>
<li> <a href="http://www.apress.com/ecommerce/goto?userid=110505&amp;link=book%2Fview%2F9781430224594&amp;key=0c3e470db03c37afcddbd0f21e54e2d1">Beginning iPhone 3 Development: Exploring the iPhone SDK</a> by Dave Mark , Jeff LaMarche</li>
<li> <a href="http://www.apress.com/ecommerce/goto?userid=110505&amp;link=book%2Fview%2F1430225076&amp;key=a6b1c972cbacdbafcc58755bc0ea01b4">iPhone SDK 3 Projects</a> by Dave Mark</li>
<li> <a href="http://www.apress.com/ecommerce/goto?userid=110505&amp;link=book%2Fview%2F1430223596&amp;key=76d3e331f80cac09c30d983ab6973452">iPhone User Interface Design Projects</a> by Dave Mark</li>
</ul>
<p>I still have a long ways to go before any of my apps make it into the iTunes Apps Store. If there are any books or resources that you might think that would help, please let me know.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/07/17/where-do-i-start-with-iphone-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harder than I thought, my journey to write my first iPhone App.</title>
		<link>http://www.syclonefx.com/2009/06/17/harder-than-i-thought-my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/06/17/harder-than-i-thought-my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 01:35:56 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Objective-C]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=83</guid>
		<description><![CDATA[OK so I been trying to learn how to write an app for the iPhone and its going pretty steady. I&#8217;m in the third week of my journey. I started with learning the C Programming language and now I am reading Learning Objective-C on the Mac and both languages harder to learn than I thought. [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>OK so I been trying to learn how to write an app for the iPhone and its going pretty steady. I&#8217;m in the third week of my journey. I started with learning the C Programming language and now I am reading Learning Objective-C on the Mac and both languages harder to learn than I thought. I didn&#8217;t expect to read the book and know everything about either language. But now that I know what each language has in-store for me. I&#8217;m ready for more, but It might take a little longer than I thought.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/06/17/harder-than-i-thought-my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 2 of my journey to write my first iPhone app</title>
		<link>http://www.syclonefx.com/2009/06/11/week-2-of-my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/06/11/week-2-of-my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:17:05 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=65</guid>
		<description><![CDATA[Well it has been a little over 2 weeks and I am really starting to understand the code more and more. I just keep reading each chapter over and over. I think that I have read the book in total about 3 times. But I have completed my first C program! My first C program [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>Well it has been a little over 2 weeks and I am really starting to understand the code more and more. I just keep reading each chapter over and over. I think that I have read the book in total about 3 times. But I have completed my first C program! My first C program is a Lottery number generator. At first I had a couple problems where there the program would pick the same number multiple time on one ticket. But that is fixed now and the program works flawlessly. I found a good resource for learning C and C++. <a title="CProgramming.com" href="http://www.cprogramming.com/" target="_blank">CProgramming.com</a> is an awesome website with lots of tutorials for C and C++. They posted a great article &#8220;<a title="5 Ways you can learn Programming" href="http://www.cprogramming.com/how_to_learn_to_program.html" target="_blank">5 Ways you can learn Programming</a>&#8220;. After reading this article I agree with it 100%. I knew a little programming so I took it way to fast and when I got to the end of the book I was really confused. So I went back and took my time, wrote a simple little program and now I understand every thing that I been reading.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/06/11/week-2-of-my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 1 of my journey to write my first iPhone app</title>
		<link>http://www.syclonefx.com/2009/06/02/week-1-of-my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/06/02/week-1-of-my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:14:29 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=46</guid>
		<description><![CDATA[I can&#8217;t believe that 1 week has gone by already. C is a little harder than I thought. I&#8217;ve read the first 8 chapters so I tried to write my first C program. It is a simple random number generator for the lottery. I am still having a couple problem generating numbers that don&#8217;t repeat [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>I can&#8217;t believe that 1 week has gone by already. C is a little harder than I thought. I&#8217;ve read the first 8 chapters so I tried to write my first C program. It is a simple random number generator for the lottery. I am still having a couple problem generating numbers that don&#8217;t repeat in a list. Here is the code:</p>
<p><code><br />
#include <stdio.h><br />
#include <time.h> //This is to bring in the declaration of clock()<br />
#include <stdlib.h> //This is to bring in the declarations of srand() and rand()</p>
<p>int		WPicks( void );<br />
int		DPicks( void );<br />
void	Weekly( void );<br />
void	Daily( void );<br />
int		NoSame[100];</p>
<p>int main (int argc, const char * argv[]) {<br />
	srand( clock() );</p>
<p>	Weekly();<br />
	//printf("\n");<br />
	//Daily();</p>
<p>    return 0;<br />
}</p>
<p>void Weekly(){<br />
	int pick, i, j;<br />
	int k;</p>
<p>	for (k=1; k<=1; k++) {<br />
		NoSame[k] = WPicks();<br />
	}<br />
	for (j=1; j<=5; j++){<br />
		for (i = 1; i <= 6; i++) {<br />
			pick = WPicks();<br />
			if ( pick != NoSame[i] )<br />
				NoSame[i] = pick;<br />
			else<br />
				i -= 1;<br />
		}<br />
		for (i=1; i<=6; i++) {<br />
			printf( "%d\t",NoSame[i]);<br />
		}</p>
<p>	printf("\n");</p>
<p>	for (k=1; k<=6; k++) {<br />
		NoSame[k] = 0;<br />
	}	</p>
<p>	}<br />
}</p>
<p>void Daily(){<br />
	int pick, i, j;</p>
<p>	for (j=1; j<=5; j++){<br />
		for (i=1; i<=3; i++) {<br />
			pick = DPicks();<br />
			printf( "%d\t",pick);<br />
		}<br />
	printf("\n");</p>
<p>	}<br />
}</p>
<p>int WPicks( void ) {<br />
	return (rand() % 56)  + 1;<br />
}</p>
<p>int DPicks( void ) {<br />
	return (rand() % 10);<br />
}</code></p>
<p>I am having problems with the Weekly() function. If you see the problem leave a comment and let me know.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/06/02/week-1-of-my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day 3 of my journey to write my first iPhone app</title>
		<link>http://www.syclonefx.com/2009/05/27/day-3-of-my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/05/27/day-3-of-my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Thu, 28 May 2009 03:07:01 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone Programming]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/2009/05/27/day-3-of-my-journey-to-write-my-first-iphone-app/</guid>
		<description><![CDATA[Day 3: I went back and read the previous 2 chapters, at the end if chapter 6 I was a little confused. So I am gonna take it a little slower. I thought since I&#8217;ve done some PHP programming I could breeze through the beginning of the book. I was wrong. I did write my [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p><strong>Day 3:</strong> I went back and read the previous 2 chapters, at the end if chapter 6 I was a little confused. So I am gonna take it a little slower. I thought since I&#8217;ve done some PHP programming I could breeze through the beginning of the book. I was wrong. I did write my first program and compile it on both OSX and Windows.<br />
Another benifet of learning C is that I&#8217;m starting to under stand PHP more now.<br />
I think I&#8217;m gonna go to doing weekly updates. The daily updates are a bit much.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/05/27/day-3-of-my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Day 2 of my journey to write my first iPhone app</title>
		<link>http://www.syclonefx.com/2009/05/25/day-2-of-my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/05/25/day-2-of-my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Tue, 26 May 2009 02:44:25 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone Programming]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=24</guid>
		<description><![CDATA[Day 2: Read Chapter 6 and I was a little confused at the end of this chapter. I was having problems with the Exercise 2 and 3 of the tutorial at the end of the chapter. Exercise 2 is to write a program to compute the prime numbers from 1 to 100 and Exercise 3 is write a program to [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p><strong>Day 2:</strong> Read Chapter 6 and I was a little confused at the end of this chapter. I was having problems with the Exercise 2 and 3 of the tutorial at the end of the chapter. Exercise 2 is to write a program to compute the prime numbers from 1 to 100 and Exercise 3 is write a program to compute the first 100 prime numbers. Since I was so confused I think I&#8217;ll re-read the previous 2 chapters again. Now I can see why the said it will take you a few months to learn C.  </p>
<p>I am posting each days post in the <a title="Programming" href="http://www.syclonefx.com/programming/">Programming</a> section of the site.</p>
<p><a title="Day 1 of my journey to write my first iPhone app" href="http://www.syclonefx.com/2009/05/25/my-journey-to-…rst-iphone-app/">Day 1 Post</a></p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/05/25/day-2-of-my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My journey to write my first iPhone app</title>
		<link>http://www.syclonefx.com/2009/05/25/my-journey-to-write-my-first-iphone-app/</link>
		<comments>http://www.syclonefx.com/2009/05/25/my-journey-to-write-my-first-iphone-app/#comments</comments>
		<pubDate>Mon, 25 May 2009 16:28:27 +0000</pubDate>
		<dc:creator>syclonefx</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[iPhone Programming]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.syclonefx.com/?p=8</guid>
		<description><![CDATA[I am on a journey to write my first iPhone app. I have 2 apps planned that I want to write. I have programmed in the past, I&#8217;ve worked with VB 6 on Windows and I design websites using PHP every day. So I did my research to figure out where to start. If you [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>I am on a journey to write my first iPhone app. I have 2 apps planned that I want to write. I have programmed in the past, I&#8217;ve worked with VB 6 on Windows and I design websites using PHP every day. So I did my research to figure out where to start. If you haven&#8217;t done any programming you should learn C Programming language first. So thats where I am starting. C is a good base language to learn. Learning C will get you on your way to writing a program for the iPhone and it is the basis language for Java, C++, and Objective-C. </p>
<p>Know that I have a place to start I found the book for me. I bought &#8220;Learning C on the Mac&#8221; by Dave Mark from the publisher <a title="Apress" href="http://www.apress.com/" target="_blank">Apress</a>. Apress has a good series of books for learning to program on the Mac.<br />
Here is my syllabus of books:</p>
<ul>
<li>&#8220;<a title="Learning C on the Mac" href="http://www.apress.com/book/view/1430218096" target="_blank">Learning C on the Mac</a>&#8221; by <a title="Dave Marks" href="http://www.davemark.com/" target="_blank">Dave Mark</a> </li>
<li>&#8220;<a title="Learning Objective-C on the Mac" href="http://www.apress.com/book/view/1430218150" target="_blank">Learning Objective-C on the Mac</a>&#8221; by Mark Dalrymple and Scott Knaster </li>
<li>&#8220;<a title="Beginning iPhone Development" href="http://www.apress.com/book/view/1430216263" target="_blank">Beginning iPhone Development</a>&#8221; by Dave Mark and Jeff LaMarche </li>
<li>&#8220;<a title="Learn Cocoa on the Mac" href="http://www.apress.com/book/view/1430218592" target="_blank">Learn Cocoa on the Mac</a>&#8221; by Dave Mark</li>
</ul>
<p>I will try to post a daily update.</p>
<p><strong>Day 1:</strong> OK I read the first 5 chapters in &#8220;Learning C on the Mac&#8221;. I am starting to see the similarities between C, PHP and Java. If you know Java or PHP you should have no problem with this book.</p>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.syclonefx.com/2009/05/25/my-journey-to-write-my-first-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
