<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	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>c语言 - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/c%e8%af%ad%e8%a8%80/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Tue, 19 Jun 2012 15:14:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>C语言实现BitMap</title>
		<link>https://www.coder4.com/archives/3465</link>
					<comments>https://www.coder4.com/archives/3465#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 19 Jun 2012 15:14:01 +0000</pubDate>
				<category><![CDATA[笔面题]]></category>
		<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[BitMap]]></category>
		<category><![CDATA[c语言]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3465</guid>

					<description><![CDATA[BitMap的原理不用多说了。 主要说下位操作。 我们假设每个基础存储单元为char，则BYTESIZE = 8，如果为int则16 or 32。 当设置i时，首先ptr+=i/BYTESIZE，到达要操作的那个char。 然后对*ptr &#124;= 0x01&#60;&#60;(i%BYTESIZE)即可。这里在同一个机器上，可以忽略大小端的问题。 检查的时候，也是首先ptr+=i/BYTESIZE，然后查 (*ptr&#38;0x01&#60;&#60;(i%BYTESIZE[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3465/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C系语言中多维数组的理解</title>
		<link>https://www.coder4.com/archives/3153</link>
					<comments>https://www.coder4.com/archives/3153#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 14 May 2012 14:29:53 +0000</pubDate>
				<category><![CDATA[C && C++]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[多维数组]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3153</guid>

					<description><![CDATA[int array[m][n]; 这个二维数组，可以堪称是m个长度为n的一维数组。 在内存中排列的方式是[0][1]..[n-1]  [0][1]...[n-1]....一共m组这样的。 在访问时，array[m][n] = *(*(array+m)+n)，对N维的数组取值时要用到N个*。 参考了这个：http://blog.csdn.net/hai836045106/article/details/6729756[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3153/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[转]Linux下用C语言遍历文件夹</title>
		<link>https://www.coder4.com/archives/1347</link>
					<comments>https://www.coder4.com/archives/1347#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 19 Jan 2011 13:19:01 +0000</pubDate>
				<category><![CDATA[C && C++]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[遍历]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1347</guid>

					<description><![CDATA[转自：http://www.linuxdiyf.com/viewarticle.php?id=63720 学习了LINUX下用C语言遍历文件夹，一些心得 struct dirent中的几个成员： d_type：4表示为目录，8表示为文件 d_reclen：16表示子目录或文件，24表示非子目录 d_name：目录或文件的名称 具体代码如下，仅供参考 #include &#60;stdio.h&#62; #include &#60;dirent.h&#62; #i[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1347/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>《数据结构》读书笔记 第六章 二叉树的二叉链表实现</title>
		<link>https://www.coder4.com/archives/250</link>
					<comments>https://www.coder4.com/archives/250#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:20:20 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[二叉树]]></category>
		<category><![CDATA[二叉链表]]></category>
		<category><![CDATA[数据结构]]></category>
		<category><![CDATA[类]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=250</guid>

					<description><![CDATA[没想到真的能写出来，因为这是第一次用类的方式封装描述。真的是第一次写类。而且加上二叉树这个比较难描述的东东，确实费了不少劲。发现面向对象确实是很好的。真的是让用户无需关心数据细节。当然可能是还没习惯，写得有点慢。 期间，递归的不熟练导致犯下了几次严重错误，好在自己都纠正了。 但是还有以下没有解决： 1、如何在类中调用函数指针？ 2、Parent函数能不能用递归描述？ ... 若有高手看到指点一二，不胜感激～&#160;&#160; BiTree.h：定义了二叉类 BiTree以及基本操作 #in[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/250/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>namespace try catch 的小练习</title>
		<link>https://www.coder4.com/archives/240</link>
					<comments>https://www.coder4.com/archives/240#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:12:18 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[catch]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[namespace]]></category>
		<category><![CDATA[try]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=240</guid>

					<description><![CDATA[小练习 没什么算法或者数据结构 #include &#60;iostream&#62; namespace Fib { &#160;long Fib1(int n); } namespace Error { &#160;void ShowErr(int n); } long Fib::Fib1(int n) { &#160;int i; &#160;long fib1=1,fib2=1,fib3=1; &#160;if(n&#60;=0&#124;&#124;n&#62;19) &#160;&#038;nbsp[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/240/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>不定参数列表的小练习：－）</title>
		<link>https://www.coder4.com/archives/238</link>
					<comments>https://www.coder4.com/archives/238#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:11:40 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[cstdarg]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[不定参数]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=238</guid>

					<description><![CDATA[对于cstdarg宏用于不定参数列表不是很熟悉，做个小练习：－） #include &#60;iostream&#62; #include &#60;cstdarg&#62; typedef int Elem; using namespace std; Elem MaxInt(int n,...) { &#160;va_list ap; &#160;Elem max,tmp; &#160;int i; &#160;va_start(ap,n); &#160;if(n&#60;1) &#038;n[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/238/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>《数据结构》读书笔记 第五章 数组的顺序存储实现</title>
		<link>https://www.coder4.com/archives/237</link>
					<comments>https://www.coder4.com/archives/237#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:11:13 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[严蔚敏]]></category>
		<category><![CDATA[数据结构]]></category>
		<category><![CDATA[数组]]></category>
		<category><![CDATA[读书笔记]]></category>
		<guid isPermaLink="false">http://www.coder4.com/index.php/archives/237</guid>

					<description><![CDATA[昨天读《The C++ Programing Language Special Edition》确实觉得注释是很重要的，所以今天开始所有程序都要练习注释，尽量写出好的注释来：-) Array.h ： 定义了数组的顺序存储的基本操作 #include &#60;iostream&#62; #include &#60;cstdarg&#62; typedef int Elem; typedef int Status; enum {WRONG=-1,OK=0}; struct Array { /*-[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/237/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>《数据结构》读书笔记 第四章 文本编辑</title>
		<link>https://www.coder4.com/archives/235</link>
					<comments>https://www.coder4.com/archives/235#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:09:51 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[严蔚敏]]></category>
		<category><![CDATA[数据结构]]></category>
		<category><![CDATA[文本编辑器]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=235</guid>

					<description><![CDATA[文本编辑 有点BT啊&#8230;&#8230; #include &#60;fstream&#62; #include &#34;D:\数据结构\第四章 堆分配的串及其基本操作\HString.h&#34; enum {ML=25,MLL=75,MNL=20}; HString T[ML]; char str[MLL],filename[MNL]=&#34;&#34;; int n=0; using namespace std; void Open() { &#160;[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/235/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>《数据结构》读书笔记 第四章 KMP算法</title>
		<link>https://www.coder4.com/archives/231</link>
					<comments>https://www.coder4.com/archives/231#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:07:52 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[KMP算法]]></category>
		<category><![CDATA[严蔚敏]]></category>
		<category><![CDATA[数据结构]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=231</guid>

					<description><![CDATA[半懂不懂，大概能明白&#8230;&#8230;程序是写出来了。 #include &#60;iostream&#62; enum {MSL=100}; char S[MSL+1]; char T[20]; int next[20]; using namespace std; void StrSet(char *S,char *T) { &#160;S[0]=strlen(T); &#160;int i; &#160;if(S[0]&#60;=MSL) &#160;{ &#038;nbs[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/231/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>《数据结构》读书笔记 第四章 串的基本操作</title>
		<link>https://www.coder4.com/archives/228</link>
					<comments>https://www.coder4.com/archives/228#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 26 Dec 2009 06:06:33 +0000</pubDate>
				<category><![CDATA[算法&数据结构]]></category>
		<category><![CDATA[c语言]]></category>
		<category><![CDATA[严蔚敏]]></category>
		<category><![CDATA[串]]></category>
		<category><![CDATA[数据结构]]></category>
		<category><![CDATA[查找]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=228</guid>

					<description><![CDATA[String.h：串的基本操作 #include &#60;iostream&#62; enum {MSL=20,WRONG=-1,OK=0}; typedef char SString[MSL+1]; typedef int Status; Status StrAssign(SString S,SString T) { &#160;//一定注意长度不可以用T[0]表示！！ &#160;int len=strlen(T); &#160;if(len&#60;=len) &#160;[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/228/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
