<?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>Tech-Recipes &#187; C programming</title>
	<atom:link href="http://www.tech-recipes.com/category/computer-programming/c-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:32:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Two Common Mistakes in Floating Point Arithmetic in C</title>
		<link>http://www.tech-recipes.com/rx/18189/two-common-mistakes-in-floating-point-arithmetic-in-c/</link>
		<comments>http://www.tech-recipes.com/rx/18189/two-common-mistakes-in-floating-point-arithmetic-in-c/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 13:01:15 +0000</pubDate>
		<dc:creator>Vishwanath Dalvi</dc:creator>
				<category><![CDATA[C programming]]></category>
		<category><![CDATA[Floating Point arithmetic]]></category>

		<guid isPermaLink="false">http://www.tech-recipes.com/?p=18189</guid>
		<description><![CDATA[This tutorial will demonstrate two rules that must be respected when performing floating point arithmetic in C. Following these rules will prevent loss of information.  Examples with walk through explanation provided.

1st Rule:  If an arithmetic operator has integer operands then integer operation is performed.
Let’s see an example.
#include "stdio.h"
	main()
	{
	float c;
	c = 5 / 9;
	printf("c [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/18189/two-common-mistakes-in-floating-point-arithmetic-in-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cocoa: Convert number to comma-separated NSString</title>
		<link>http://www.tech-recipes.com/rx/5460/cocoa-convert-number-to-comma-separated-nsstring/</link>
		<comments>http://www.tech-recipes.com/rx/5460/cocoa-convert-number-to-comma-separated-nsstring/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 14:43:11 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[C programming]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.tech-recipes.com/?p=5460</guid>
		<description><![CDATA[At some point in your Mac, iPhone, or iPad development you may find the need to express a long number (1000000000) as a comma-separated string (1,000,000,000) to make life easier on your users.  The NSNumberFormatter class is a rich tool for converting numbers to strings supporting different types of currencies and localizations.  It&#8217;s [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/5460/cocoa-convert-number-to-comma-separated-nsstring/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Get Web Page Contents in Code with C#</title>
		<link>http://www.tech-recipes.com/rx/1954/get_web_page_contents_in_code_with_csharp/</link>
		<comments>http://www.tech-recipes.com/rx/1954/get_web_page_contents_in_code_with_csharp/#comments</comments>
		<pubDate>Wed, 27 Dec 2006 11:12:17 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[When you are developing an application that needs to access data stored on a web server, you can easily get the contents of a web page with this simple C# function.

The .NET framework provides a rich set of methods to access data stored on the web. First you will have to include the right namespaces:
using [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1954/get_web_page_contents_in_code_with_csharp/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Pause Output From a Command Line Application in .NET Debug Mode</title>
		<link>http://www.tech-recipes.com/rx/1947/pause_output_from_a_command_line_application_in_net_debug_mode/</link>
		<comments>http://www.tech-recipes.com/rx/1947/pause_output_from_a_command_line_application_in_net_debug_mode/#comments</comments>
		<pubDate>Fri, 22 Dec 2006 10:21:37 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[If you are writing a command line application in .NET, you might notice that the application closes immediately if you haven&#8217;t set a breakpoint. This recipe shows you the one line method to keep the application open so you can see the output.

Typically when you are writing to the console, you use the Console.Write() method, [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1947/pause_output_from_a_command_line_application_in_net_debug_mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make System Tray Based Application in .NET</title>
		<link>http://www.tech-recipes.com/rx/1945/make_system_tray_based_application_in_net/</link>
		<comments>http://www.tech-recipes.com/rx/1945/make_system_tray_based_application_in_net/#comments</comments>
		<pubDate>Wed, 20 Dec 2006 20:21:00 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Creating an application that lives in the system tray is easy, but it is not entirely obvious how to do so in Visual Studio. This recipe will show you the steps.

1) First, create a new Windows Application project in Visual Studio.NET. This can be either Visual Basic or C#
2) Drag a Notifyicon control and a [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1945/make_system_tray_based_application_in_net/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Open a URL in the Default Browser in Your .NET Application</title>
		<link>http://www.tech-recipes.com/rx/1919/open_a_url_in_the_default_browser_in_your_net_application/</link>
		<comments>http://www.tech-recipes.com/rx/1919/open_a_url_in_the_default_browser_in_your_net_application/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 07:16:43 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Virtually every application these days requires at least some connection to the internet. Letting the user click a link and open it in their browser is essential. This recipe shows you the 1 line method of doing so.

This is the absolute simplest way to launch a URL in a .NET application:
System.Diagnostics.Process.Start("http://www.tech-recipes.com");
Just put this code in [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1919/open_a_url_in_the_default_browser_in_your_net_application/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pass Variables to a New Thread in C#</title>
		<link>http://www.tech-recipes.com/rx/1915/pass_variables_to_a_new_thread_in_c/</link>
		<comments>http://www.tech-recipes.com/rx/1915/pass_variables_to_a_new_thread_in_c/#comments</comments>
		<pubDate>Sat, 09 Dec 2006 20:44:55 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[When you create a new thread in .net 1.1, you cannot pass any parameters to the ThreadStart delegate, which makes passing startup variables difficult. This recipe shows you an easy workaround.

Since the ThreadStart delegate doesn&#8217;t accept parameters, you need to set the parameters somewhere before you create the new thread. What we&#8217;ll do is create [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1915/pass_variables_to_a_new_thread_in_c/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Load an Icon from an Embedded Resource in .NET</title>
		<link>http://www.tech-recipes.com/rx/1913/load_an_icon_from_an_embedded_resource_in_net/</link>
		<comments>http://www.tech-recipes.com/rx/1913/load_an_icon_from_an_embedded_resource_in_net/#comments</comments>
		<pubDate>Sat, 09 Dec 2006 04:56:20 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[When you are developing a Windows Forms application in .NET, it&#8217;s not immediately obvious how to programatically load an icon file embedded in your executable. This recipe shows you the 1 line solution.

Your icon file should be a regular windows icon file. Add it to your project, and in the properties for the icon make [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1913/load_an_icon_from_an_embedded_resource_in_net/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>C/C++ Doubly Linked List</title>
		<link>http://www.tech-recipes.com/rx/1469/cc-doubly-linked-list/</link>
		<comments>http://www.tech-recipes.com/rx/1469/cc-doubly-linked-list/#comments</comments>
		<pubDate>Sun, 25 Jun 2006 22:14:26 +0000</pubDate>
		<dc:creator>William_Wilson</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[The implementation of a doubly linked list, remove prev pointer for a singly linked list



struct Node{
public:
	Member*		info; //type is arbitrary, to the linked list implementation
	Node*		next; //used to point to next node
        Node*           prev; //used to point to previous node
	Node():prev(NULL),next(NULL) [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1469/cc-doubly-linked-list/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>C++: Template Classes</title>
		<link>http://www.tech-recipes.com/rx/1268/c-template-classes/</link>
		<comments>http://www.tech-recipes.com/rx/1268/c-template-classes/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 12:49:08 +0000</pubDate>
		<dc:creator>William_Wilson</dc:creator>
				<category><![CDATA[C programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[How to layout a template class and what it&#8217;s good for.

Template class is exactly what it seems, a template.  It allows you to define a class and involve variables of unknown type T. Thus the class can be implemented as a universal class for any group of elements sharing a class or base class.
A [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1268/c-template-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 3/11 queries in 0.842 seconds using memcached
Object Caching 547/575 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 04:03:36 -->
