<?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>meiyou.org &#187; 书籍学习</title>
	<atom:link href="http://meiyou.org/topics/study/book-learning/feed/" rel="self" type="application/rss+xml" />
	<link>http://meiyou.org</link>
	<description>编程共41216行</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>LaTeX学习笔记</title>
		<link>http://meiyou.org/2010/05/learning-latex/</link>
		<comments>http://meiyou.org/2010/05/learning-latex/#comments</comments>
		<pubDate>Sat, 29 May 2010 16:53:38 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[日志汇总]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=2141</guid>
		<description><![CDATA[就像学习vi一样，其实早就听说了TeX的大名。争取在这学期完成对LaTeX的初步学习，现在用的参考读物为：lshort，一百多页。因为比较轻便，所以应该会比较轻松的完成第一步的学习任务。]]></description>
			<content:encoded><![CDATA[<h3>2010-05-30</h3>
<p>就像学习<a title="Learning the vi and Vim Editors" href="http://meiyou.org/2010/05/vi-vim/">vi</a>一样，其实早就听说了TeX的大名。争取在这学期完成对LaTeX的初步学习，现在用的参考读物为：<a title="The Not So Short Introduction to LATEX2ε" href="http://tobi.oetiker.ch/lshort/">lshort</a>，一百多页。因为比较轻便，所以应该会比较轻松的完成第一步的学习任务。<br />
从第一页开始，开始我的LaTeX学习之路。<br />
先从几个简单的知识点入手，比如：</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">documentclass</span></span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">article</span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span>
Small is beautiful.
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<p>就是比较简单的TeX语句，后面的这个语句的输出结果让我由衷的感叹TeX的魅力。真是找对了方向。</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">documentclass</span></span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">a4paper,11pt</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">article</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% define the title</span>
<span style="color: #800000; font-weight: normal;">\author</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">H.~Partl</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\title</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Minimalism</span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% generates the title</span>
<span style="color: #800000; font-weight: normal;">\maketitle</span>
<span style="color: #2C922C; font-style: italic;">% insert the table of contents</span>
<span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">tableofcontents</span></span>
<span style="color: #800000; font-weight: normal;">\section</span><span style="color: #E02020; ">{</span><span style="color: #00008B; font-weight: bold;">Some Interesting Words</span><span style="color: #E02020; ">}</span>
Well, and here begins my lovely article.
<span style="color: #800000; font-weight: normal;">\section</span><span style="color: #E02020; ">{</span><span style="color: #00008B; font-weight: bold;">Good Bye World</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\ldots</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span> and here it ends.
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<p>输出结果（<a href="http://meiyou.org/wp-content/uploads/2010/05/foo2.pdf">PDF</a>），如图：</p>
<p style="text-align: center;"><img class="size-full wp-image-2144 aligncenter" style="border: 1px solid #cccccc;" title="foo2-screenshot" src="http://meiyou.org/wp-content/uploads/2010/05/foo2-screenshot.png" alt="" width="504" height="355" /></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>早上起来，把第一章看完。</p>
<p>文档的布局</p>
<ol>
<li>文档类别使用如下命令指定文档的类别：

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">documentclass</span></span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">options</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">class</span><span style="color: #E02020; ">}</span></pre></div></div>

<p>比如我们设置为：</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">documentclass</span></span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">11pt,twoside,a4paper</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">article</span><span style="color: #E02020; ">}</span></pre></div></div>

</li>
<li>包使用包（packages）来扩充LaTeX的性能：

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">options</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">package</span><span style="color: #E02020; ">}</span></pre></div></div>

</li>
<li>页面风格使用如下命令指定页面风格（Page Styles）：

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\pagestyle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">style</span><span style="color: #E02020; ">}</span></pre></div></div>

<p>使用如下命令来指定当前页面的风格：</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\thispagestyle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">style</span><span style="color: #E02020; ">}</span></pre></div></div>

</li>
</ol>
<p>使用如下命令引入其他文件：</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">include</span></span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">filename</span><span style="color: #E02020; ">}</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\includeonly</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">filename,filename,...</span><span style="color: #E02020; ">}</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\<span style="color: #800000; font-weight: bold;">input</span></span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">filename</span><span style="color: #E02020; ">}</span></pre></div></div>

<p>但是现在我还是分不清楚它们之间的区别。</p>
<p>使用如下命令快速测试：</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">syntonly</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\syntaxonly</span></pre></div></div>

<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2010. |
<a href="http://meiyou.org/2010/05/learning-latex/">Permalink</a> |
<a href="http://meiyou.org/2010/05/learning-latex/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2010/05/learning-latex/&title=LaTeX学习笔记">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/latex/" rel="tag">LaTeX</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/note-of-day/" rel="tag">日志汇总</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2010/05/learning-latex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning the vi and Vim Editors</title>
		<link>http://meiyou.org/2010/05/vi-vim/</link>
		<comments>http://meiyou.org/2010/05/vi-vim/#comments</comments>
		<pubDate>Fri, 07 May 2010 09:31:35 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[日志汇总]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=2036</guid>
		<description><![CDATA[早就听说vi很强大，所以还是学习一下比较好。]]></description>
			<content:encoded><![CDATA[<h2>基本编辑命令</h2>
<ol>
<li>
<h3>移动光标</h3>
<ol>
<li><strong>0</strong><br />
移动到行起始处</li>
<li><strong>$</strong><br />
移动到行末尾处</li>
<li><strong>w</strong><br />
移动光标到下一个单词（包含标点符号）</li>
<li><strong>W</strong><br />
移动光标到下一个单词（不包含标点符号）</li>
<li><strong>b</strong><br />
移动光标到上一个单词（包含标点符号）</li>
<li><strong>B</strong><br />
移动光标到上一个单词（不包含标点符号）</li>
<li><strong>G</strong><br />
移动光标到文档的末尾，如果使用nG（其中为整数），则移动光标到第n行起始处，如<strong>12G</strong>则移动光标到第12行起始处。</li>
</ol>
</li>
<li>
<h3>基本编辑</h3>
<ol>
<li><strong>i</strong><br />
在光标处插入数据</li>
<li><strong>a</strong><br />
在光标前插入数据</li>
<li><strong>c</strong><br />
替换文本，结合其他命令使用。比如，<strong>cw</strong>用来替换光标到单词尾的字符，<strong>c0</strong>用来替换光标处到行起初处的文本。</li>
<li><strong>cw</strong><br />
替换单词，并插入新的文本</li>
<li><strong>cc</strong><br />
替换整行文本</li>
<li><strong>C</strong><br />
等同于<strong>c$</strong>，替换光标处到行尾部的文本。</li>
<li><strong>r</strong><br />
替换单个字符（不需要按<strong>ESC</strong>，即可退出命令模式）</li>
<li><strong>s</strong><br />
替换若干个字符。比如，<strong>3s</strong>表示替换光标处三个字符</li>
<li><strong>S</strong><br />
替换整行文本（不同于<strong>C</strong>，<strong>S</strong>将删除整行文本。）</li>
<li><strong>R</strong><br />
替换字符。（但与<strong>r</strong>不同的是，<strong>R</strong>将覆盖替换，即命令开始后将之前的文本将会被覆盖）</li>
<li><strong>~</strong><br />
大小写转换。比如，<strong>10~</strong>将转换光标处10个字符的大小写。（大写-&gt;小写，小写-&gt;大写）</li>
<li><strong>d</strong><br />
删除文本</li>
<li><strong>dw</strong><br />
删除单词。（单词后的空格也将被删除）</li>
<li><strong>dd</strong><br />
删除整行。</li>
<li><strong>D</strong><br />
删除至行尾的文本，相当于<strong>d$</strong></li>
<li><strong>x</strong><br />
删除单个字符，但也可于数字连用，比如<strong>5x</strong>就可删除光标处5个字符。</li>
<li><strong>p</strong><br />
粘贴删除的或者复制的内容。</li>
<li><strong>P</strong><br />
粘贴内容，但粘贴到光标前。</li>
<li><strong>y</strong><br />
复制内容到缓冲区。可组合使用，比如<strong>yw</strong>即复制一个单词，<strong>yy</strong>即复制整行。</li>
<li><strong>.</strong><br />
重复最后一个命令。（也可组合使用，比如<strong>2.</strong>即表示重复最后一个命令两次。</li>
<li><strong>u</strong><br />
Undo，撤销之前的操作。</li>
<li><strong>U</strong><br />
撤销对整行的操作。</li>
</ol>
</li>
<li>
<h3>更多文本插入操作</h3>
<ol>
<li><strong>A</strong><br />
在本行末尾插入文本，相当于<strong>$a</strong>。</li>
<li><strong>I</strong><br />
在本行起始处插入文本。</li>
<li><strong>o</strong><br />
（小写“o”）在下一行插入空行。</li>
<li><strong>O</strong><br />
（大写“o”）在上一行插入空行。</li>
<li><strong>s</strong><br />
删除光标处字符，并开始插入文本。（相当于：<strong>c[空格]</strong>）</li>
<li><strong>S</strong><br />
删除整行，并开始插入文本。（相当于：<strong>cc</strong>）</li>
<li><strong>R</strong><br />
用新字符置换已存在的字符。</li>
</ol>
</li>
<li>
<h3>用<strong>J</strong>连接两行文本</h3>
<ol>
<li><strong>J</strong><br />
把下一行文本连接到本行末尾，同时也可结合数字使用，如：<strong>3J</strong>则表示将下面的三行文本连接到一起。</li>
</ol>
</li>
</ol>
<h2>快速移动</h2>
<ol>
<li>
<h3>按屏幕移动</h3>
<ol>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>f</strong><br />
移动到下一屏</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>b</strong><br />
移动到上一屏</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>d</strong><br />
向下移动半屏</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>u</strong><br />
向上移动半屏</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>e</strong><br />
向上移动屏幕一行</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>y</strong><br />
向下移动屏幕一行</li>
<li><strong>z</strong>+<strong><span style="text-decoration: underline;">Enter</span></strong><br />
将当前行置于屏幕顶端</li>
<li><strong>z.</strong><br />
将当前行置于屏幕中间</li>
<li><strong>z-</strong><br />
将当前行置于屏幕底部</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>l</strong><br />
重画屏幕</li>
<li><strong>H</strong><br />
移动到屏幕的第一行</li>
<li><strong>M</strong><br />
移动到屏幕的中间</li>
<li><strong>L</strong><br />
移动到屏幕的最后一行</li>
<li><strong><em>n</em>H</strong><br />
移动到屏幕的第<em>n</em>行</li>
<li><strong><em>n</em>L</strong><br />
移动到屏幕的倒数第<em>n</em>行</li>
<li><strong><span style="text-decoration: underline;">Enter</span></strong><br />
移动到下一行的第一个字符</li>
<li><strong>+</strong><br />
移动到下一行的第一个字符</li>
<li><strong>-</strong><br />
移动到上一行的第一个字符</li>
<li><strong>^</strong><br />
移动到本行的一个非空字符上</li>
<li><strong><em>n</em>|</strong><br />
移动到本行的第<em>n</em>列上</li>
</ol>
</li>
<li>
<h3>按文本块移动</h3>
<ol>
<li><strong>e</strong><br />
移动到当前单词末尾</li>
<li><strong>E</strong><br />
移动到当前单词末尾（忽略标点符号）</li>
<li><strong>(</strong><br />
移动到当前句子的起始处</li>
<li><strong>)</strong><br />
移动到下一个句子的起始处</li>
<li><strong>{</strong><br />
移动到当前段落的起始处</li>
<li><strong>}</strong><br />
移动到下一个段落的起始处</li>
<li><strong>[[</strong><br />
移动到当前节的起始处</li>
<li><strong>]]</strong><br />
移动到下一节的起始处</li>
</ol>
</li>
<li>
<h3>按搜索移动</h3>
<ol>
<li><strong>/</strong><br />
搜索内容，比如搜索<em>you</em>，就输入<strong>/you</strong>然后按<span style="text-decoration: underline;">Enter</span>（回车键）搜索。</li>
<li><strong>?</strong><br />
搜索内容，原理同<strong>/</strong>，不过是向后进行搜索。</li>
<li><strong>n</strong><br />
搜索内容时，继续在相同方向搜索。</li>
<li><strong>N</strong><br />
搜索内容时，继续在反方向搜索。</li>
<li><strong>/</strong>+<strong><span style="text-decoration: underline;">Enter</span></strong><br />
搜索内容时，继续在相同方向搜索。</li>
<li><strong>?</strong>+<strong><span style="text-decoration: underline;">Enter</span></strong><br />
搜索内容时，继续在反方向搜索。</li>
<li><strong>f<em>x</em></strong><br />
在本行寻找（移动光标到）字符<em>x</em>，其中<em>x</em>为任意字符。</li>
<li><strong>F<em>x</em></strong><br />
在本行逆向寻找（移动光标到）字符<em>x</em>，其中<em>x</em>为任意字符。</li>
<li><strong>t<em>x</em></strong><br />
在本行寻找字符<em>x</em>，不过移动光标到字符<em>x</em>前。</li>
<li><strong>T<em>x</em></strong><br />
在本行逆向寻找字符<em>x</em>，不过移动光标到字符<em>x</em>后。</li>
<li><strong>;</strong><br />
寻找字符时，按之前方向继续寻找。</li>
<li><strong>,</strong><br />
寻找字符时，按逆方向继续寻找。</li>
</ol>
</li>
<li>
<h3>按行号移动</h3>
<ol>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>G</strong><br />
显示行号信息。</li>
<li><strong>G</strong><br />
到达指定行，比如<strong><em>44</em>G</strong>到达第44行。如果是单一<strong>G</strong>则跳转到最后一行。</li>
<li><strong>&#8220;</strong><br />
返回<strong>G</strong>命令之前的位置。</li>
<li><strong>&#8221;</strong><br />
返回<strong>G</strong>命令之前的行的起始位置。</li>
</ol>
</li>
</ol>
<h2>基本编辑命令的扩展</h2>
<ol>
<li>
<h3>标记你的位置</h3>
<ol>
<li><strong>m<em>x</em></strong><br />
用字符<strong><em>x</em></strong>标记现在的位置。</li>
<li><strong>&#8216;<em>x</em></strong><br />
（撇号）移动光标到标记<strong><em>x</em></strong>的所在行起始处。</li>
<li><strong>`<em>x</em></strong><br />
（引号）移动光标到标记<strong><em>x</em></strong>处。</li>
<li><strong>&#8220;</strong><br />
（两个引号）返回移动前的位置。</li>
<li><strong>&#8221;</strong><br />
（两个撇号）返回移动前所在行的起始处。</li>
</ol>
</li>
</ol>
<h2>ex编辑器介绍</h2>
<ol>
<li>
<h3>ex命令</h3>
<ol>
<li><strong><em>x</em>p</strong><br />
显示第<strong><em>x</em></strong>行。</li>
<li><strong><em>m</em>,n</strong><br />
显示第<strong><em>m</em></strong>行到<strong><em>n</em></strong>行。</li>
<li><strong><em>x</em></strong><br />
显示第<strong><em>x</em></strong>行。</li>
<li><strong>ex</strong><br />
打开<strong>ex</strong>编辑器，或者从<strong>vi</strong>编辑器进入<strong>ex</strong>编辑器。</li>
<li><strong>vi</strong><br />
从<strong>ex</strong>编辑器进入<strong>vi</strong>编辑器。</li>
</ol>
</li>
<li>
<h3>使用<strong>ex</strong>编辑</h3>
<ol>
<li><strong>delete</strong><br />
缩写<strong>d</strong>，删除行。</li>
<li><strong>move</strong><br />
缩写<strong>m</strong>，移动行。</li>
<li><strong>copy</strong><br />
缩写<strong>co</strong>、<strong>t</strong>，复制行。</li>
<li><strong>:set number</strong><br />
缩写<strong>:set nu</strong>，显示行号。</li>
<li><strong>:set nonumber</strong><br />
缩写<strong>:set nonu</strong>，不显示行号。</li>
<li><strong>m,n</strong><br />
选中第<strong>m</strong>行到第<strong>n</strong>行的内容，比如：<strong>:3,18d</strong>即删除3～18行的内容。</li>
<li><strong>:=</strong><br />
输出总的行数。</li>
<li><strong>:.=</strong><br />
输出所在行的行号。</li>
<li><strong>:/<em>pattern</em>/=</strong><br />
输出第一个匹配<strong><em>pattern</em></strong>的行号。</li>
<li><strong>.</strong><br />
【符号】，表示当前所在行。</li>
<li><strong>$</strong><br />
【符号】，表示最后一行。</li>
<li><strong>%</strong><br />
【符号】，表示所有行，等同于<strong>1,$</strong>。</li>
<li><strong>-</strong><br />
对行数进行“减”操作，比如<strong>.-2</strong>就表示当前行前两行。</li>
<li><strong>+</strong><br />
对行数进行“加”操作，比如<strong>:-,+t0</strong>，就表示将前一行，本行，后一行这三行复制到文件头部。（第0行，即在第1行前，如移动或复制则放到文件最前）</li>
<li>搜索模式举例：
<ol>
<li><strong>:/<em>pattern</em>/d</strong><br />
删除第一个包含<strong><em>pattern</em></strong>的行。</li>
<li><strong>:/<em>pattern</em>/+d</strong><br />
删除第一个包含<strong><em>pattern</em></strong>的下一行。</li>
<li><strong>:.,/<em>pattern</em>/m23</strong><br />
移动本行至第一个包含<em>pattern</em>的行到第23行后。</li>
</ol>
</li>
<li><strong><em>m</em>;+<em>k</em> p</strong><br />
选中第<em>m</em>到第<em>m+k</em>行，其中的<strong>;</strong>的意义有别于<strong>,</strong>。</li>
<li>全局搜索举例
<ol>
<li><strong>:g/<em>pattern</em></strong><br />
找到（移动到）符合<em>pattern</em>的行。</li>
<li><strong>:g/<em>pattern</em>/p</strong><br />
找到并显示所有符合<em>pattern</em>的行。</li>
<li><strong>:g!/<em>pattern</em>/nu</strong><br />
找到并显示不包含<em>pattern</em>的行，同时显示行号。</li>
<li><strong>:60,124g/<em>pattern</em>/p</strong><br />
在第60～124行范围内搜索并显示符合<em>pattern</em>的行。</li>
</ol>
</li>
<li>合并<strong>ex</strong>命令<br />
通过<strong>|</strong>来合并执行<strong>ex</strong>命令。比如：</p>
<ol>
<li><strong>:1,5 m 10 | g/<em>pattern</em>/nu</strong><br />
将1～5行移动到第10行后，并搜索显示符合<em>pattern</em>的行，同时显示行号。</li>
</ol>
</li>
</ol>
</li>
<li>
<h3>保存与退出</h3>
<ol>
<li><strong>:w</strong><br />
保存文件但不退出。</li>
<li><strong>:q</strong><br />
退出。</li>
<li><strong>:wq</strong><br />
保存并退出文件。</li>
<li><strong> <img src='http://meiyou.org/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> </strong><br />
保存并退出编辑器。（只有修改过，方保存）</li>
<li><strong>:w!</strong><br />
强制保存文件。（即使是以只读方式打开也强制保存）</li>
<li><strong>:q!</strong><br />
强制退出。（忽略更改过的内容）</li>
</ol>
</li>
<li>
<h3>复制文件到另一文件</h3>
<ol>
<li><strong>:read <em>filename</em></strong><br />
缩写<strong>:r <em>filename</em></strong>，把<em>filename</em>的内容复制到现在光标后。</li>
<li>使用举例：
<ul>
<li><strong>:$r /home/username/filename</strong><br />
把文件<strong>filename</strong>“读”到现在的文件的本行末尾。</li>
<li><strong>:0r /home/username/filename</strong><br />
把文件<strong>filename</strong>“读”到现在文件的起始位置。</li>
<li><strong>:/<em>pattern</em>/r home/username/filename</strong><br />
把文件<strong>filename</strong>“读”到符合<em>pattern</em>的位置之后。</li>
</ul>
</li>
</ol>
</li>
<li>
<h3>编辑多个文件</h3>
<ol>
<li><strong>vi <em>file1</em> <em>file2</em></strong><br />
使用<strong>vi</strong>同时打开<em>file1</em>和<em>file2</em>。</li>
<li><strong>:n</strong><br />
多文件编辑模式下，打开下一个(<strong>n</strong>ext)文件。</li>
<li><strong>:args</strong><br />
缩写<strong>:ar</strong>，显示编辑的多个文件名称，同时使用方括号标注现在编辑的文件名称。</li>
<li><strong>:rewind</strong><br />
缩写<strong>:rew</strong>，复位，打开第一个多文件中的第一个文件。</li>
<li><strong>:e <em>filename</em></strong><br />
编辑状态下，打开<em>filename</em>文件。</li>
<li><strong>$</strong><br />
【符号】，代表当前文件名。比如把当前编辑的文件另存为，可使用<strong>:w %.new</strong>命令。</li>
<li><strong>#</strong><br />
【符号】，代表“另外”一个文件名称。比如返回刚才编辑文件，可使用<strong>:e #</strong>命令。</li>
<li><strong><span style="text-decoration: underline;">Ctrl</span></strong>+<strong>^</strong><br />
同<strong>:e #</strong>。</li>
<li><strong>:ya</strong><br />
（<strong>ya</strong>nk），复制。比如：<strong>:160,224ya a</strong>复制第116行到第224行到<strong>a</strong>中。</li>
<li><strong>:pu</strong><br />
（<strong>pu</strong>t），“粘贴”。比如刚才复制到<strong>a</strong>中的内容，现在使用<strong>:pu a</strong>便可复制到光标后。</li>
</ol>
</li>
</ol>
<h2>全局替换</h2>
<ol>
<li>
<h3>简单替换</h3>
<ol>
<li><strong>:s/<em>old</em>/<em>new</em>/</strong><br />
把本行中的第一个<em>old</em>替换为<em>new</em>。</li>
<li><strong>:s/<em>old</em>/<em>new</em>/g</strong><br />
把本行中的所有<em>old</em>替换为<em>new</em>，因为后面带了参数<strong>g</strong>。</li>
<li><strong>:<em>50</em>,<em>100</em>s/<em>old</em>/<em>new</em>/g</strong><br />
把第50～100行中的所有<em>old</em>替换为<em>new</em>。</li>
<li><strong>:1,$s/<em>old</em>/<em>new</em>/g</strong><br />
同（<strong>:%s/<em>old</em>/<em>new</em>/g</strong>），把所有行中的<em>old</em>替换为<em>new</em>。</li>
</ol>
</li>
<li>
<h3>确认替换</h3>
<ol>
<li><strong>:<em>1</em>,<em>30</em>s/<em>his</em>/<em>the</em>/gc</strong><br />
把第1～30行的<em>his</em>替换为<em>the</em>，同时对每次替换进行确认。</li>
<li>也可用如下方法进行替换：
<ol>
<li><strong>/<em>which</em></strong><br />
查找<em>which</em>。</li>
<li><strong>cw<em>that</em><span style="text-decoration: underline;">ESC</span></strong><br />
替换为<em>that</em>，切换到命令模式。</li>
<li><strong>n</strong><br />
继续搜索。</li>
<li><strong>.</strong><br />
重复替换操作（<strong>cw<em>that</em></strong>）。</li>
</ol>
</li>
</ol>
</li>
<li>
<h3>上下文相关替换</h3>
<ol>
<li><strong>:g/<em>pattern</em>/s/<em>old</em>/<em>new</em>/g</strong><br />
全局查找符合<em>pattern</em>的行，并把该行所有的<em>old</em>替换为<em>new</em>。</li>
<li><strong>:g/<em>string</em>/s//<em>new</em>/g</strong><br />
意思同<strong>:%s/<em>string</em>/<em>new</em>/g</strong>。</li>
</ol>
</li>
<li>
<h3>模式匹配法则</h3>
<ol>
<li><strong>.</strong><br />
匹配任意<strong>一个</strong>字符。</li>
<li><strong>*</strong><br />
匹配零个或多个在它之前的字符，比如<strong>bugs*</strong>将匹配：bugs、bug、bugss和bugsss等。</p>
<ul>
<li><strong>.*</strong><br />
匹配任意多个字符</li>
</ul>
</li>
<li><strong>^</strong><br />
当用在正则表达式起始处，则表示匹配字符需出现在行的起始处。如：<strong>^Part</strong>则表示匹配在行起始处的<strong>Part</strong>。</li>
<li><strong>$</strong><br />
当用在正则表达式末尾处，则表示希望匹配字符出现在行的末尾处。如：<strong>here:$</strong>表示匹配在行末尾处的<strong>here:</strong>。</li>
<li><strong>\</strong><br />
转移字符，比如<strong>\*</strong>就表示一个星号而没有其他的特殊含义。</li>
<li><strong>[]</strong><br />
匹配方括号中的一个字符，比如，<strong>[<em>AB</em>]</strong>匹配<em>A</em>或<em>B</em>，二者取其一。又比如<strong>[<em>0-9</em>]</strong>则表示匹配<em>0</em>至<em>9</em>中的一个字符。</li>
<li><strong>\(\)</strong><br />
保存括号的内容到一个缓存（hold buffer）中。比如：<strong>:%s/\(That\) or \(this\)/\2 or \1/</strong>这样便把<em>That</em>与<em>this</em>的位置变换了一下。<br />
同时，此用法不仅可以用于替换文字，亦可用于搜索文字，比如：<strong>:s/\(abcd\)\1/alphabet-soup/</strong>则表示替换<em>abcdabcd</em>为<em>alphabet-soup</em>。</li>
<li><strong>\&lt; \&gt;</strong><br />
匹配字符在一个单词的开始（\&lt; ）或结束（<strong>\&gt;</strong>）。比如，<strong>\&lt;<em>ac</em></strong>将匹配<em>action</em>，<strong><em>ac</em>\&gt;</strong>将匹配<em>maniac</em>。</li>
<li><strong>~</strong><br />
匹配最后一次搜索的正则表达式。</li>
<li><strong>POSIX括号表达式</strong>
<ol>
<li>[:alnum:]<br />
匹配字母与数字</li>
<li>[:alpha:]<br />
匹配字母</li>
<li>[:blank:]<br />
空格与Tab键</li>
<li>[:cntrl:]<br />
控制字符</li>
<li>[:digit:]<br />
数字</li>
<li>[:graph:]<br />
可打印的与可视（不包括空格）字符</li>
<li>[:lower:]<br />
小写字母</li>
<li>[:print:]<br />
可打印（包括空格）字符</li>
<li>[:punct:]<br />
标点符号</li>
<li>[:space:]<br />
空格</li>
<li>[:upper:]<br />
大写字母</li>
<li>[:xdigit:]<br />
十六进制数字</li>
</ol>
</li>
<h4>替换字符的使用</h4>
<li><strong>\<em>n</em></strong><br />
表示由<strong>\(</strong>和<strong>\)</strong>保存的缓存区，其中<em>n</em>的范围为1～9，而且是由左至右计数的。</li>
<li><strong>\</strong><br />
转义字符。</li>
<li><strong>&amp;</strong><br />
表示在搜索模式所匹配出的内容，比如：<strong>:%s/you/&amp; and me</strong>则表示把<em>you</em>替换为<em>you and me</em>，其中<em>&amp;</em>表示所匹配出的<em>you</em>。<br />
又如，<strong>:1,10s/.*/(&amp;)/</strong>则将1～10行内容加上圆括号。</li>
<li><strong>~</strong><br />
匹配最后一次所替换的文本，比如，第一次替换时使用的语句为<strong>:s/his/their/</strong>，而第二次如果想把<em>her</em>也替换为<em>their</em>的话，那么输入<strong>:s/her/~/</strong>即可。</li>
<li><strong>\u</strong>与<strong>\l</strong><br />
将下一个字符大写（<strong>\u</strong>）或小写（<strong>\l</strong>）化，比如<strong>:%s/yes, doctor/\uyes, \udoctor/</strong>则将<em>yes</em>转化为<em>Yes</em>，<em>doctor</em>转化为<em>Doctor</em>。</li>
<li><strong>\U</strong>或<strong>\L</strong>与<strong>\e</strong>或<strong>\E</strong><br />
使所有后面字符大写（<strong>\U</strong>）或小写（<strong>\L</strong>）直到<strong>\e</strong>或<strong>\E</strong>的出现。比如要把<em>meiyou.org</em>大写化，使用<strong>:%s/meiyou.org/\U&amp;/</strong>即可。</li>
<h4>更多替换技巧</h4>
<li><strong>:s</strong><br />
同<strong>:s//~/</strong>，即重复最后一次替换。</li>
<li><strong>:%&amp;g</strong><br />
在全局范围内重复最后一次替换。</li>
<li><strong><span style="text-decoration: underline;">&amp;</span></strong><br />
同<strong>:&amp;</strong>亦同<strong>:s<span style="text-decoration: underline;">Enter</span></strong>，重复最后一次替换。</li>
<li><strong>:~</strong><br />
作用同<strong>:&amp;</strong>，但有些许不同。即搜索内容被最后一次任意命令中的搜索内容所取代。比如在如下例子中：</p>
<ol>
<li><strong>:s/red/blue</strong></li>
<li><strong>/green</strong></li>
<li><strong>:~</strong></li>
</ol>
<p>此时，此处的<strong>:~</strong>表示的意义为<strong>:s/green/blue</strong>。即被<strong>/green</strong>所取代。</li>
<li>除了使用<strong>/</strong>作为的你的分界符外，亦可使用非字母数字、非空格作为分界符。<br />
比如在替换目录的时候我们采用<strong>;</strong>作为分界符：<strong>:%s;/user1/tim;/home/tim;g</strong>。</li>
</ol>
</li>
<li>
<h3>模式替换的例子</h3>
<ol>
<li>在<strong>troff</strong>中，在<strong>ENTER</strong>前后加上斜体化字符。
<pre>:%s/ENTER/\\fI&amp;\\fP/g</pre>
<p>上面的代码中<strong>\\</strong>表示输出一个<strong>\</strong>而不是两个，因为前一个是转义字符的意思，有一个才是真正的\。而<strong>&amp;</strong>代指前面的搜索内容<strong>ENTER</strong>。</li>
<li>修改文件中的路径名。原始方法：
<pre>:%s/\/home\/tim/\/home\/linda/g</pre>
<p>从上面的例子可以看出，使用转移字符表达斜杠(<strong>/</strong>)是相当复杂的，为此我们可以采用其他的分界符。比如冒号(<strong>:</strong>)：</p>
<pre>:%s:/home/tim:/home/linda:g</pre>
<p>这样便更容易阅读，也不容易出错。</li>
<li>把<strong>HTML</strong>中的斜体化代码加到<strong>ENTER</strong>上。
<pre>:%s:ENTER:&lt;I&gt;&amp;&lt;/I&gt;:g</pre>
<p>上面代码中的<strong>&amp;</strong>表示搜索的内容<strong>ENTER</strong>，而分界符采用的是<strong>:</strong>。</li>
<li>替换1～10行中的所有句号(.)为分号(;)
<pre>:1,10s/\./;/g</pre>
<p>因为句号(.)在正则表达式中有着特别的含义，所以应使用转移字符把其表示出来（<strong>\.</strong>）。</li>
<li>把所有的<strong>help</strong>（或者<strong>Help</strong>）替换为<strong>HELP</strong>，即大写化。
<pre>:%s/[Hh]elp/HELP/g</pre>
<p>或</p>
<pre>:%s/[Hh]elp/\U&amp;/g</pre>
<p>使用<strong>\U</strong>即可把所匹配的字符大写化，相对简单些。</li>
<li>把一个或多个空格替换为一个空格。
<pre>:%s/  */ /g</pre>
<p>由于星号表示零个或多个前一个字符，所以此处（  *）表示一个或多个空格。</li>
<li>把冒号后的一个或多个空格替换为两个空格
<pre>:%s/:  */:  /g</pre>
</li>
<li>把句号或冒号后的一个或多个空格替换为两个空格。
<pre>:%s/\[:.]\)  */\1  /g</pre>
<p>上式中的方括号（[]）中的内容将匹配其中的一个（分号或者句号），而<strong>\(\)</strong>则将此内容表示为一个“表达式”，在替换内容中用<strong>\1</strong>表示出来。</li>
<li>将一个单词的多种用法统一化。<br />
比如此处，将Note:、Notes、Notes:和Notes （后有一个空格）替换为<strong>Notes: </strong>。</p>
<pre>:%s/^Note[ :s]*/Notes: /g</pre>
</li>
<li>清除所有的空行。
<pre>:g/^$/d</pre>
<p>上式中的<strong>^$</strong>用于寻找空行，而随后的<strong>d</strong>由于删除匹配的内容。</li>
<li>删除所有的空行，其中包括含有空格或制表符（Tab）的行。
<pre>:g/^[ tab]*$/d</pre>
<p>上式中的<em>Tab</em>代表制表符，星号表示方括号内的内容可为零个或多个。而<em>^</em>和<em>$</em>则限制了整行内容只能是空格或者制表符。<br />
不过如果要删除空行，但不是什么都不含的空行，可使用如下语句：</p>
<pre>:g/^[ tab][ tab]*$/d</pre>
<p>即表示最少有一个空格或者制表符。</li>
<li>删除在每行行首的空格
<pre>:%s/^  *\(.*\)/\1/</pre>
<p>上式中的  *确保了有一个或者多个空格，而<em>\(.*\)</em>则表示空格后面行的所有内容。而<em>\1</em>则表示前面所指的空格后的内容。</li>
<li>删除在每行末尾的空格
<pre>:%s/\(.*\)  *$/\1/</pre>
<p>上式中的\(.*\)将空格前的内容标记为缓存区间<em>\1</em>，而随后的<em> *$</em>则匹配了末尾一个或多个空格。</li>
<li>在每行的起始处添加<strong>&gt; </strong>
<pre>:%s/^/&gt;  /</pre>
<p>上式中，使用<em>^</em>来匹配每行的起始，然后将其替换为&gt;  。</li>
<li>在之后六行末尾添加句号
<pre>:.,+5s/$/./</pre>
<p>上式中的<em>.,+5</em>表示包括本行的随后六行的范围。而<em>$</em>则匹配了每行的末尾。</li>
<li>将所有由连接符链接的内容翻转<br />
比如，将<em>more &#8211; display files</em>翻转为<em>display files &#8211; more</em>。</p>
<pre>:%s/\(.*\) - \(.*\)/\2 - \1/</pre>
<p>如果你只想翻转连接符紧邻的内容，比如把<em>more &#8211; display files</em>翻转为<em>display &#8211; more files</em>，可使用如下的语句：</p>
<pre>:%s/\(\&lt;[a-zA-Z]*[^ ]\&gt;\) - \(\&lt;[a-zA-Z]*[^ ]\&gt;\)/\2 - \1/g</pre>
<p>其中<em>\(\&lt;[a-zA-Z]*[^ ]\&gt;\)</em>将匹配单词。而替换部分则把连接符左右的单词顺序翻转一下。</li>
<li>把文件中的左右单词大写化
<pre>:%s/.*/\U&amp;/</pre>
<p>或</p>
<pre>:%s/./\U&amp;/g</pre>
<p>其中的第一个式子运行速度要比第二个式子快，因为第一个式子是匹配所有的行然后整体替换，而第二个式子却是一个字符一个字符的的替换，所以速度应稍慢些。</li>
<li>将文件中所有行的顺序翻转
<pre>:g/.*/mo0</pre>
<p>上式中的<em>.*</em>匹配每一行，而<em>mo0</em>则表示将改行替换到第一行前（即“第零行”）。随着语句逐行的执行，每行被顺序插到第一行前，因此实现了顺序的翻转。<br />
同理，由于每行都会有一个开始，我们也可采用如下语句：</p>
<pre>:g/^/mo0</pre>
</li>
<li>在一个文本数据中，在所有没有出现<em>Paid in full</em>的行后添加语句<em>Overdue</em>
<pre>:g!/Paid in full/s/$/ Overdue/</pre>
<p>或同意的：</p>
<pre>:v/Paid in full/s/$/ Overdue/</pre>
<p>上式中的<em>v</em>与<em>g!</em>同意。而后面的<em>$</em>则表示所匹配的<em>Paid in full</em>。</li>
<li>将所有不以数字开始的行移动到文件末尾
<pre>:g!/^[[:digit:]]/m$</pre>
<p>上式中<em>^[[:digit:]]</em>表示以数字开头的行，而<em>m$</em>则表示移动最后一行（<em>$</em>表示最后一行）。<br />
同理也可用如下语句：</p>
<pre>:g/^[^[:digit:]]/m$</pre>
<p>上式中的第一个<em>^</em>表示“以什么开头”，而第二个<em>^</em>则表示“非”（因为它在方括号表达式中，所有有着特殊的含义）。</li>
<li>把数字章节修改为<strong>troff</strong>的宏（比如<strong>.Ah</strong>）。
<pre>:%s/^[1-9]\.[1-9]/.Ah/</pre>
<p>如果章节数大于9，即有两个数字的话，使用如下语句：</p>
<pre>:%s/^[1-9][0-9]*\.[1-9]/.Ah/</pre>
</li>
<li>删除文档中章节头部的数字，比如把：
<pre>2.1 Introduction
10.3.8 New Functions</pre>
<p>修改为：</p>
<pre>Introduction
New Functions</pre>
<p>我们可以使用：</p>
<pre>:%s/^[1-9][0-9]*\.[1-9][0-9.]* //</pre>
</li>
<li>把单词<em>Fortran</em>修改为<em>FORTRAN (acronym of FORmula TRANslation)</em>。
<pre>:%s/\(For\)\(tran\)/\U\1\2\E (acronym of \U\1\Emula \U\2\Eslation)/g</pre>
<p>上式中，把<em>Fortran</em>分割为两个部分，然后在后面的替换中分别进行应用。</li>
</ol>
</li>
</ol>
<h2>高级编辑</h2>
<ol>
<li>
<h3>定制vi</h3>
<ol>
<h4>:set命令</h4>
<li><strong>:set <em>option</em></strong><br />
设置“切换”（Toggle）选项，把<em>option</em>设置为激活状态。</li>
<li><strong>:set no<em>option</em></strong><br />
设置选项<em>option</em>， 把其设置为关闭状态。</li>
<li><strong>:set all</strong><br />
查看所有设置选项。</li>
<li><strong>:set <em>option</em>?</strong><br />
查看选项<em>option</em>的设置状态。</li>
<li><strong>:set</strong><br />
查看指定的设置，比如在<em>.exrc</em>中的和当前会话所设置的选项。</li>
<h4>.exrc文件</h4>
<li>在用户文件夹下修改或新建<em>.exrc</em>配置文件，该文件的功能即为设置vi的各种环境变量。</li>
<li>同时也可在当前文件夹下修改或新建<em>.exrc</em>配置文件，不过该配置文件将覆盖用户文件夹下的配置。即当前文件夹下的配置文件优先级较高。</li>
<h4>选择环境</h4>
<li><strong>:so <em>filename</em></strong><br />
采用<em>filename</em>为环境配置文件，实现环境的切换。</li>
</ol>
</li>
<li>
<h3>执行Unix命令</h3>
<ol>
<li><strong>:!<i>command</i></strong><br />
    在vi中执行命令<i>command</i>。
  </li>
<li><strong>:sh</strong><br />
    在vi中执行多个命令，或者也可使用<strong>:!sh</strong>来执行多个Unix命令。
  </li>
<li><strong>:r !<i>command</i></strong><br />
    结合<i>:read</i>命令来读取Unix命令返回的结果，比如使用<i>:r !date</i>则读取当前系统时间。
  </li>
<h4>使用命令过滤文本</h4>
<li><strong><i>:96,99!sort</i></strong><br />
    对96～99行的文本进行排序。即先选中96～99行这个范围，然后在调用系统提供的sort命令来对其处理。
  </li>
<li><strong><i>!)command</i></strong><br />
    表示对下一句执行<i>command</i>命令。
  </li>
</ol>
<li>
<h3>保存命令</h3>
<ol>
<h4>单词缩写</h4>
<li><strong>:ab <i>abbr</i> <i>phrase</i></strong><br />
    表示将<i>phrase</i>缩写为<i>abbr</i>，比如：</p>
<pre>:ab CUST Changchun University of Science and Technology</pre>
<p>    表示把长春理工大学的全称缩写成<i>CUST</i>。
  </li>
<li><strong>:unab <i>abbr</i></strong><br />
    表示取消<i>abbr</i>的缩写。
  </li>
<li><strong>:ab</strong><br />
    表示列出当前定义的所有缩写。
  </li>
<h4>使用map（映射）命令</h4>
<li><strong>:map <i>x</i> <i>sequence</i></strong><br />
    将编辑命令<i>sequence</i>映射为<i>x</i>。
  </li>
<li><strong>:unmap <i>x</i></strong><br />
    取消<i>x</i>的映射。
  </li>
<li><strong>:map</strong><br />
    列出当前所有的映射。
  </li>
<h4>保护ex的可执行键</h4>
<li>使用<u>CTRL+V</u>来转义命令字符</li>
<p>    比如，在缩写命令中，可使用：</p>
<pre>:ab 123 one^Mtwo^Mthree</pre>
<p>    （上式中的<i>^M</i>其实是：<u>CTRL+V</u> <u>ENTER</u>的字符表示）
  </li>
<h4>更多映射的例子</h4>
<ol>
<li><strong>:map e ea</strong><br />
      把<i>e</i>映射为<i>ea</i>，即现在<i>e</i>的功能相当于之前的<i>ea</i>的功能。
    </li>
<li><strong>:map K dwElp</strong><br />
      实现单词的翻转，<i>dw</i>删除当前的单词，<i>E</i>将光标移动到单词的末尾，<i>l</i>右移一位，<i>p</i>则复制之前删除的单词到光标处。从而实现了单词的转换。同理也可使用：</p>
<pre>:map k dwwP</pre>
</li>
<li><strong>:map q :w^M:n^M</strong><br />
      保存文件并编辑下一个文件。<i>:w^M</i>表示保存文件，<i>:n^M</i>编辑下一个文件（前提是你已经打开了多个文件）。
    </li>
<li><strong>:map v i\fB^[e\fP^[</strong><br />
      给单词加入<i>troff</i>的加粗代码。<i>i\fB^[</i>表示插入<i>\fB</i>，而<i>e</i>下载表示在单词后加入（<i>ea</i>），<i>^[</i>表示<u>ESC</u>键。
    </li>
<li><strong>:map V lbi&lt;B&gt;e&lt;/B&gt;</strong><br />
      给单词加入<i>HTML</i>的加粗代码（&lt;B&gt;&lt;/B&gt;），<i>l</i>表示右移一个光标，<i>b</i>表示移动光标到单词头部。
    </li>
<li><strong>:map = xf)xn</strong><br />
      当前假设你已经通过命令：</p>
<pre>/(</pre>
<p>      移动光标到了<i>(</i>处。这时可删除删除到<i>)</i>处。<br />
      （提示：在我这里这个语句貌似不太好使，不知为何。但<i>df)n</i>还好用些）。
    </li>
<li><strong>:map g I/* ^[A */^[</strong><br />
      在C/C++中，注释整行。<br />
      亦可使用如下语句：</p>
<pre>:map g :s;.*;/* &amp; */;^M</pre>
</li>
<li><strong>:map ^J :set wm=0^M.:set wm=10^M</strong><br />
      书上写的是“安全地重复长插入”（Safely repeat a long insertion），不太明白是什么意思。就是先设置一下<i>wm</i>(wrapmargin)，然后在把设置改过来。
    </li>
</ol>
<h4>在插入状态映射快捷键</h4>
<p>在<i>map</i>命令后加上<i>!</i>则表示该快捷键是在插入模式（Insert Mode）下使用的。</p>
<li><strong>:map! + ^[bi&lt;I&gt;^[ea&lt;/I&gt;</strong><br />
      表示在插入模式下，在当前单词前后加入<i>HTML</i>的斜体代码。
    </li>
<li><strong>:map! % ^[kA:^[jA</strong><br />
      表示在上一行末尾加入一个冒号（:），然后再把移动光标到本行末尾。
    </li>
<li><strong>:unmap! <i>x</i></strong><br />
      表示取消<i>x</i>的插入状态映射。
    </li>
<h4>映射功能键</h4>
<li><strong>:map #<i>x</i> <i>commands</i></strong><br />
  比如你要映射功能键<i>&lt;F3&gt;</i>为<i>ihttp://meiyou.org/</i>，可以使用：</p>
<pre>:map #3 ihttp://meiyou.org/</pre>
<p>也就是说#（井号）后面代表那个功能键。</p>
<p>（注：在终端下，映射F1功能键可能不太好用，总是自动打开帮助文档。）</p>
</li>
<li>查看功能键将输出什么，可以在终端下使用命令：
<pre>$ od -c</pre>
<p>  输入要查询的功能键，然后按<u>CTRL</u>+<u>D</u>退出程序。
</li>
<h4>映射其他特殊键</h4>
<p>其他特殊键，如：&lt;HOME&gt;,&lt;END&gt;,&lt;PAGE UP&gt;,&lt;PAGE DOWN&gt;</p>
<li>如果要映射&lt;HOME&gt;键为移动光标到第一行，我们可以使用如下语句：
<pre>:map &lt;CTRL-V&gt; &lt;HOME&gt; 1G</pre>
<p>  同理，移动末尾：</p>
<pre>:map &lt;CTRL-V&gt; &lt;END&gt; G</pre>
</li>
<h4>@函数</h4>
<li>使用命名的缓冲区间来保存“宏”，比如，先在插入模式输入如下语句：
<pre>Afrom http://meiyou.org/&lt;CTRL+V&gt; &lt;ESC&gt;</pre>
<p>  然后把该语句“删除”到命名缓冲区中：</p>
<pre>"gdd</pre>
<p>  这个时候刚才的语句就在缓冲区中了。现在使用“@”来调用：</p>
<pre>@g</pre>
</li>
<h4>执行ex缓冲区的命令</h4>
<li>比如，我们现在有如下的数据：
<pre>ORA publishes great books.
ORA is my favorite publisher.
1,$s/ORA/O'Reilly Media/g</pre>
<p>  现在，我们把刚才的最后一行删除掉缓冲区g中：</p>
<pre>"gdd</pre>
<p>  其实最后一行的功能就是一个替换功能，我们执行一下：</p>
<pre>:@g &lt;ENTER&gt;</pre>
<p>  如果没有出错的话，结果如下：</p>
<pre>O'Reilly Media publishes great books.
O'Reilly Media is my favorite publisher.</pre>
</li>
</ol>
</li>
</li>
</ol>
<h2>点滴</h2>
<ul>
<li>
<h3>2010-06-29</h3>
<p>今天考完试，看看vi，挺有趣。</p>
</li>
<li>
<h3>2010-06-22</h3>
<p>加上昨天看的一点，再加上前几天看的。今天更新下记录。</p>
</li>
<li>
<h3>2010-06-12</h3>
<p>昨天晚上熄灯之后看了一点，今天补上记录。看到了第七章第二小节（Chapter 7.Advanced Editing -&gt; Executing Unix Command）
  </p>
</li>
<li>
<h3>2010-06-11</h3>
<p>许久都没有看vi了，今天稍微看一点。</li>
<li>
<h3>2010-06-02</h3>
<p>昨天虽然没有把第六章剩下的学习记录全部写完，但是感觉已经差不多了，后面的内容不是很好总结。既然如此，就不写了。</p>
<p>向第七章挺进！</li>
<li>
<h3>2010-05-31</h3>
<p>昨天看的第六章全局替换，今天写了一半的学习记录。感叹这章的内容是在是太多了，而且又是正则表达式。不过现在越来越感叹<strong>vi</strong>的强大之处了。<br />
因为复杂所以才牛！</li>
<li>
<h3>2010-05-30</h3>
<p>从书上摘了一些文字下来：</p>
<ol>
<li>Any time you spend learning regular expression syntax will be repaid a thousandfold! / P.81</li>
<li>Here’s why: when given a choice, the action of “match any number of any character” will match as much text as possible. / P.89</li>
<li>We introduce this problem to make a point. Whenever you rethink a pattern match, it’s usually better to work toward refining the variables (the metacharacters), rather than using specific text to restrict patterns. The more variables you use in your patterns, the more powerful your commands will be. / P.91</li>
<li>Don’t be afraid to try things. / P.94</li>
</ol>
</li>
<li>
<h3>2010-05-28</h3>
<p>前几天看第五章的内容居然落下一节内容没有看，疏忽了。<br />
不过还好，今天把这章的内容看完，进行下一章！</li>
<li>
<h3>2010-05-27</h3>
<p>今天还是继续看，<strong>Copying a File into Another File</strong>。</li>
<li>
<h3>2010-05-26</h3>
<p>上午实在是感觉自己颓废了不少，玩了一上午的stereograph这个软件，而且Blender也没有学明白，真失败！</p>
<p>因此只好再看看vi了，因为这个相对来说简单，而且昨天看的那部分也没有更新，今天可算是写了不少HTML代码。</li>
<li>
<h3>2010-05-23</h3>
<p>居然这本书的第五章又开始介绍<strong>ex</strong>编辑器了，如果是原来的话，真的没有办法想象如何以行为单位来编辑文本。不过现在看来，这些东西真的是从很简单的东西发展过来，慢慢进化的。比较有用。</li>
<li>
<h3>2010-05-21</h3>
<p>今天把前些日子没有更新的东西更新下。</li>
<li>
<h3>2010-05-15</h3>
<p>昨天把第三章的内容看完，主要是讲按搜索移动光标。感觉这个功能比较有用，不过我认为vi应该还提供了其他的更为高级的功能实现。那就接着学吧。</li>
<li>
<h3>2010-05-13</h3>
<p>晚上上完《马克思主义基本原理》，实在是找不到学习的内容。于是乎就找到vi，学习之。</li>
<li>
<h3>2010-05-10</h3>
<p>昨天晚上把《<a title="Learning the vi and Vim Editors, Seventh Edition" href="http://oreilly.com/catalog/9780596529833">Learning the vi and Vim Editors</a>》的第二章看完，虽然这章内容比较简单，但还是感觉到vi实在是一个<strong>伟大的</strong>软件。因为通过各种命令的组合，可大大加快你对文本的操作。</p>
<p>赞一个！</li>
<li>
<h3>2010-05-07</h3>
<p>建立此博文，以后也慢慢来，这些东西迟早要掌握的。</p>
<p>今天学习的是基本编辑命令中的“移动光标“和“基本编辑“</li>
</ul>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2010. |
<a href="http://meiyou.org/2010/05/vi-vim/">Permalink</a> |
<a href="http://meiyou.org/2010/05/vi-vim/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2010/05/vi-vim/&title=Learning the vi and Vim Editors">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/ubuntu/" rel="tag">Ubuntu</a>, <a href="http://meiyou.org/labels/vi/" rel="tag">vi</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/note-of-day/" rel="tag">日志汇总</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2010/05/vi-vim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[笔记]数字图像处理</title>
		<link>http://meiyou.org/2010/04/digital-image-processing-second-edition/</link>
		<comments>http://meiyou.org/2010/04/digital-image-processing-second-edition/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 12:19:04 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[数学]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1984</guid>
		<description><![CDATA[从图书馆借到一本《数字图像处理（第二版）》，作者是冈萨雷斯。这篇博文也就是配合此书的学习而记录的笔记。]]></description>
			<content:encoded><![CDATA[<h2>简介</h2>
<p style="padding-left: 30px;">从图书馆借到一本《<a title=" ISBN: 9787505382367 " href="http://book.douban.com/subject/1106342/">数字图像处理（第二版）</a>》，作者是冈萨雷斯。这篇博文也就是配合此书的学习而记录的笔记。</p>
<h2>笔记</h2>
<h3>2010-04-21</h3>
<ul>
<li><strong>线性算子</strong>在图像处理技术中起着核心的作用.</li>
<li>视觉错觉是人类视觉系统的一个特性,这一特性尚未完全了解.</li>
<li>电磁波谱可用波长、频率或能量来描述。</li>
<li>人从一个物体感受的颜色由物体反射光的性质决定。</li>
<li>没有颜色的光叫消色或单色光。这种光的属性是它的强度或大小。灰度级这一词汇通常用来描述单色光强度，因为它的范围从黑到灰、最后到白。</li>
<li>通常有三个基本量用于描述色彩光源的质量：发光强度、光通量和亮度。</li>
<li>用f(x,y)二维函数形式表示图像,在特定的坐标(x,y)处,f的值或幅度是一个正的标量,其物理意义由图像源决定.当一幅图像从物理过程产生时,它的值正比于物理源的辐射能量(如电磁波).因此,f(x,y)一定是非零和有限的,这就是:
<ul>
<li> 0 &lt; f(x,y) &lt; Infinite</li>
</ul>
<p>函数f(x,y)可由两个分量来表征:(1)入射到观察场景的光源总量和(2)场景中的物体反射光的总量.相应地称为入射分量和反射分量,并分别表示为i(x,y)和r(x,y).两个函数合并形成f(x,y):</p>
<ul>
<li>f(x,y) = i(x,y)r(x,y)</li>
</ul>
<p>这里</p>
<ul>
<li>0 &lt; i(x,y) &lt; Infinite</li>
<li>0 &lt; r(x,y) &lt; 1</li>
</ul>
</li>
</ul>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2010. |
<a href="http://meiyou.org/2010/04/digital-image-processing-second-edition/">Permalink</a> |
<a href="http://meiyou.org/2010/04/digital-image-processing-second-edition/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2010/04/digital-image-processing-second-edition/&title=[笔记]数字图像处理">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/mathematics/" rel="tag">数学</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2010/04/digital-image-processing-second-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[笔记]Mathematica学习笔记</title>
		<link>http://meiyou.org/2010/04/learning-mathematica-note/</link>
		<comments>http://meiyou.org/2010/04/learning-mathematica-note/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 10:25:38 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[数学]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1975</guid>
		<description><![CDATA[高等数学的实验课使用的是数学计算工具"Mathematica"，所以从图书馆借来这本《数学实验》来帮助学习。

此博文即时这本书的学习笔记。［手工内容输入］]]></description>
			<content:encoded><![CDATA[<h3>20100509</h3>
<ul>
<li>在Mathematica中，注释的格式为：
<pre>(*注释内容*)</pre>
<p>来源：[<a title="Input Syntax - Wolfram Mathematica 7 Documentation" href="http://reference.wolfram.com/mathematica/tutorial/InputSyntax.html">1</a>][<a title="Documentation Constructs - Wolfram Mathematica 7 Documentation" href="http://reference.wolfram.com/mathematica/tutorial/DocumentationConstructs.html">2</a>]</li>
</ul>
<h3>20100420</h3>
<ul>
<li>如果要绘制一些最基本的图形，如点、线段、圆等，可以先用Graphics语句（三维图用Graphics3D）作出基本的图形元素，再用Show语句显示图形。</li>
<li>Mathematica软件在屏幕上显示图形后，可以用Show命令再现图形、组合图形和修改图形的各种选项。</li>
<li>Mathematica软件提供了一些描述条件分支的结构，它们常用在程序里，用于控制程序的执行过程。
<ol>
<li>If语句：
<ol>
<li>形式一：If[test,expr]</li>
<li>形式二：If[test,expr1,expr2]</li>
<li>形式三：If[test,expr1,expr2,expr3]</li>
</ol>
</li>
<li>Which语句：Which[test,expr1,test,expr2,...]</li>
</ol>
</li>
<li>高级程序设计语言都提供了描述重复执行的循环语句。在Mathematica软件中也提供了一些类似的循环控制结构。
<ol>
<li>While[test,expr]</li>
<li>For[start,test,incr,body]</li>
<li>Do[expr,{i,imin,imax,di}]</li>
</ol>
</li>
<li>在高级程序设计语言中提供了子程序功能，用来将某些语句串在一起以实现某种目的。Mathematica软件中的过程也有类似的功能。
<ol>
<li>{expr1;expr2;&#8230;;exprn}</li>
<li>Module[{x=x0,y,...},expr1;expr2;...;exprn]<br />
在Module过程中，大括号中的语句用来说明局部变量，并可以赋初值。其输出结果也是表达式exprn的值。有时，我们为了输出多个结果，可将Return[{exprk1,exprk2,...}]置于Module过程的最后一个语句。</li>
</ol>
</li>
</ul>
<h3>20100418</h3>
<ul>
<li>在Mathematica软件中，英文字母大小写严格区分，函数与命令的第一个字母必须大写。函数与命令后面的表达式要放在中括号里。</li>
<li>Mathematica软件中的语句可以写在同一行里，中间用分号隔开，分号之前的命令不显示结果。</li>
<li>Mathematica软件中的函数可以用递归的方法进行定义。<br />
若函数采用递归定义，一般不能用“f[x]/.x-&gt;x0”的形式计算函数的值。</li>
<li>与变量赋值类似，函数定义也分为即时定义与延迟定义。</li>
<li>变量与函数在定义后可用Clear命令清除其内容。</li>
<li>在编写程序时，一般在每个程序段的开始将程序中所用的符号的内容都用Clear命令加以清除，以防出错。</li>
<li>在Mathematica软件中的许多名词后加上字母Q构成了许多逻辑判断命令。</li>
<li>在Mathematica软件中向量、矩阵都可以看作为集合。</li>
<li>在Mathematica软件中可用%表示前一个命令的结果，%%表示前面倒数第二个命令的结果，%n表示第n个命令的结果。</li>
<li>在Mathematica软件中，符号、变量的值及命令等除了在程序中直接输入外，还可以在程序运行时从键盘输入。</li>
<li>有时，由于编写的语句、程序比较长，我们可以用别的编辑器先编好程序，然后在Mathematica软件中加以调用。</li>
<li>在编写程序时，语句与语句之间一般要加分号，此时程序的中间结果不在屏幕上显示出来。如果我们要查看中间结果，可以用Print命令。</li>
<li>Print中的内容用逗号隔开，不加双引号的变量输出变量的值，双引号的内容作为字符串直接输出。</li>
<li>如果要将输出结果放在文件中，可用Save命令与符号“&gt;&gt;”和“&gt;&gt;&gt;”。</li>
<li>可以看出，Save语句也将内容添加至文件尾部，这一点与符号“&gt;&gt;&gt;”类似。要注意的是，符号“&gt;&gt;”和“&gt;&gt;&gt;”只能将表达式存入文件，而Save命令存入的是变量所代表的内容；另外，用Save命令可存入多项内容。</li>
</ul>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2010. |
<a href="http://meiyou.org/2010/04/learning-mathematica-note/">Permalink</a> |
<a href="http://meiyou.org/2010/04/learning-mathematica-note/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2010/04/learning-mathematica-note/&title=[笔记]Mathematica学习笔记">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/mathematics/" rel="tag">数学</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2010/04/learning-mathematica-note/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server学习记录</title>
		<link>http://meiyou.org/2009/11/sql-server/</link>
		<comments>http://meiyou.org/2009/11/sql-server/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 11:03:26 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1551</guid>
		<description><![CDATA[其实之前并不想弄SQL的学习记录,但是由于现在写查询代码比较多,而且正在复习相关的考试科目

所以还是记录一下吧.

基本上是我们教材上的示例代码,是<数据库应用教程(Visual Basic+SQL Server>和它的配套实验指导.]]></description>
			<content:encoded><![CDATA[<h2>缘由</h2>
<p style="padding-left: 30px;">其实之前并不想弄SQL的学习记录,但是由于现在写查询代码比较多,而且正在复习相关的考试科目,所以还是记录一下吧.</p>
<p style="padding-left: 30px;">基本上是我们教材上的示例代码,是&lt;数据库应用教程(Visual Basic+SQL Server&gt;和它的配套实验指导.</p>
<h2>进展</h2>
<h3>20091211</h3>
<p style="padding-left: 30px;">复习完数据库的前4章,其实不应叫做复习,因为基本上是第一次&#8221;学习&#8221;,但是感觉前面的知识更加抽象,不过对后面对数据库的认识还是很有帮助的.</p>
<p style="padding-left: 30px;">那数据库的学习就先告一段落,下面着手准备数字逻辑的学习!</p>
<h3>20091210</h3>
<p style="padding-left: 30px;">做完两个实验:</p>
<ul>
<li>实验4 视图,存储过程,触发器等的建立与维护</li>
<li>实验5 数据库的控制与维护</li>
</ul>
<p style="padding-left: 30px;">由于了解到,VB部分的编程不做考试要求,因此数据库的复习任务主要就落在了课本的前半部分,即数据库原理的学习.</p>
<h3>20091208</h3>
<p style="padding-left: 30px;">从今天开始专注于SQL Server的学习.今天看完第8章:SQL Server 2000数据库控制与维护.</p>
<h3>20091204</h3>
<p style="padding-left: 30px;">昨晚终于把第7章看完,写写示例代码,挺简单的.</p>
<h3>20091129</h3>
<p style="padding-left: 30px;">把之前的代码行数统计下,下面是结果,也是当作基数来使用,直接加到原先总的统计结果上.</p>
<p style="padding-left: 30px;">20091115编写课本第六章代码85行,22个文件.</p>
<p style="padding-left: 30px;">20091117编写课本第六章代码42行,12个文件.</p>
<p style="padding-left: 30px;">20091118编写课本第七章代码18行,2个文件.</p>
<p style="padding-left: 30px;">20091119编写课本第七章代码96行,7个文件.</p>
<p style="padding-left: 30px;">20091119编写实验2代码37行,5个文件.</p>
<p style="padding-left: 30px;">20091123编写实验2代码207行,18个文件.</p>
<p style="padding-left: 30px;">20091125编写课本第七章代码189行,11个文件.</p>
<p style="padding-left: 30px;">20091126编写实验3代码54行,3个文件.</p>
<p style="padding-left: 30px;">&#8212;&#8212;-</p>
<p style="padding-left: 30px;">20091129编写实验3代码208行,9个文件.完成实验3.</p>
<h2>统计</h2>
<h3>20091210</h3>
<p style="padding-left: 30px;">共编写<strong>1354</strong>行代码,共<strong>128</strong>个文件.<em>(新添加65行,共6个文件)</em></p>
<h3>20091209</h3>
<p style="padding-left: 30px;">共编写<strong>1289</strong>行代码,共<strong>122</strong>个文件.<em>(新添加193行,共15个文件)</em></p>
<h3>20091208</h3>
<p style="padding-left: 30px;">共编写<strong>1096</strong>行代码,共<strong>107</strong>个文件.<em>(新添加109行,共13个文件)</em></p>
<h3>20091204</h3>
<p style="padding-left: 30px;">共编写<strong>987</strong>行代码,共<strong>94</strong>个文件.<em>(新添加51行,共5个文件)</em></p>
<h3>20091129</h3>
<p style="padding-left: 30px;">共编写<strong>936</strong>行代码,共<strong>89</strong>个文件.<em>(新添加208行,共9个文件)</em></p>
<h3>20091129之前遗留</h3>
<p style="padding-left: 30px;"><strong>728</strong>行,<strong>80</strong>个文件.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/11/sql-server/">Permalink</a> |
<a href="http://meiyou.org/2009/11/sql-server/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/11/sql-server/&title=SQL Server学习记录">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sql/" rel="tag">SQL</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/11/sql-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>《C++面向对象程序设计(第四版)》自学记录</title>
		<link>http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/</link>
		<comments>http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 15:12:17 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[程序设计]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1440</guid>
		<description><![CDATA[学校发的C++书,但是没有上过这门"C++程序设计语言"课.
只好在自己不明白C++的时候看看了,因为是中文版的,估计还看到快一些.
所以,可能只在需要的时候才看,因此,更新会少一些.]]></description>
			<content:encoded><![CDATA[<h2>学到什么?</h2>
<h3>20091107</h3>
<p style="padding-left: 30px;">今天本来是在上&#8221;<a title="《数据结构(C语言版)》学习记录" href="http://meiyou.org/2009/09/data-structures-in-c/">数据结构</a>&#8220;的实验课,但是,捣鼓了两节课我的线性链表也没有实现.看着乱糟的代码.</p>
<p style="padding-left: 30px;">突然我明白.我的基础还是不扎实,于是找到这本书,从新开始学吧!</p>
<p style="padding-left: 30px;">晚上就把STL的几个顺序容器示例代码敲了一下:vector, list, deque.然后看了一下模板函数和模板类的相关内容.</p>
<p style="padding-left: 30px;">不学不行了!&#8230;</p>
<h2>写了多少?</h2>
<h3>20091107</h3>
<p style="padding-left: 30px;">写了14章和15章.其中14章写了6个文件,共241行代码.而15章也是写了6文件,共106行代码.</p>
<p style="padding-left: 30px;">累计: <strong>12</strong>个文件, <strong>347</strong>行代码.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/">Permalink</a> |
<a href="http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/&title=《C++面向对象程序设计(第四版)》自学记录">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/11/object-oriented-programming-in-cpp-4th-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>《高等数学》学习笔记</title>
		<link>http://meiyou.org/2009/11/gaodengshuxue/</link>
		<comments>http://meiyou.org/2009/11/gaodengshuxue/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 09:51:13 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[书摘]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[数学]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1429</guid>
		<description><![CDATA[不学不行了...]]></description>
			<content:encoded><![CDATA[<h2>笔记:</h2>
<h3>20091106</h3>
<ol>
<li>[6p]幂函数, 指数函数, 对数函数, 三角函数和反三角函数统称为<strong>基本初等函数</strong>.</li>
<li>[7p]指数函数的图形总在x轴的上方,且通过点(0, 1).</li>
<li>[10p]把一个复合函数分成不同层次的函数,叫做<strong>复合函数的分解</strong>.合理分解复合函数,在微积分中有着十分重要的意义.分解的步骤是从外向里,评判分解合理与否的准则是,观察各层次函数是否为基本初等函数或有理分式函数.</li>
<li>[11p]由常数和基本初等函数经过有限次的四则运算和有限次的复合步骤所构成并可用一个式子表示的函数,称为<strong>初等函数</strong>.</li>
<li>[14p]如果当n趋于无穷是,数列的第n项不以任何常数为极限,则称数列<strong>发散</strong>.反之则称数列<strong>收敛</strong>.</li>
<li>[15p]一般地,任何一个常数列{C}的极限都是这个常数的本身.</li>
<li>[15p]极限的唯一性:<strong>收敛数列的极限必唯一</strong>.</li>
<li>[15p]收敛数列的有界性:<strong>如果数列收敛,那么数列一定有界</strong>.</li>
<li>[16p]如果数列无界,则数列一定发散.但是,如果数列有界,却不能断定数列一定收敛,例如数列:<br />
1, -1, 1, &#8230; , 1, (-1)<sup>n+1</sup>, &#8230;<br />
有界,但这个数列是发散的.</li>
<li>[17p]函数f(x)当x-&gt;x<sub>0</sub>时极限存在的充分必要条件是左极限和右极限都存在并且相等.</li>
<li>[19p]应注意,无穷小不能看作&#8221;一个很小的数&#8221;,它是一种以零为极限的函数.但如果一个函数取值恒为零,依定义它是一个无穷小.</li>
<li>[19p]函数f(x)在自变量的某一变化过程中以常数A为极限的充分必要条件是函数f(x)能表示为常数A与α无穷小的和,即f(x)=A+α.</li>
<li>[19p]同样应注意,无穷大不能看作&#8221;一个很大的数&#8221;,它是在自变量的某一变化过程中绝对值无限增大的函数.</li>
<li>[20p]<strong>在自变量的同一变化过程中,如果f(x)为无穷大,则 1/f(x) 为无穷小;反之,如果f(x)为去穷小,且 f(x) ≠ 0, 则 1/f(x)为无穷大.</strong></li>
</ol>
<h2>感想:</h2>
<h2>数据:</h2>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/11/gaodengshuxue/">Permalink</a> |
<a href="http://meiyou.org/2009/11/gaodengshuxue/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/11/gaodengshuxue/&title=《高等数学》学习笔记">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/bookmark/" rel="tag">书摘</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/mathematics/" rel="tag">数学</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/11/gaodengshuxue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《数据结构(C语言版)》学习记录</title>
		<link>http://meiyou.org/2009/09/data-structures-in-c/</link>
		<comments>http://meiyou.org/2009/09/data-structures-in-c/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 14:59:12 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[数学]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[算法]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1187</guid>
		<description><![CDATA["数据结构"是计算机程序设计的重要理论技术基础,它不仅是计算机学科的核心课程,而且已成为其他理工专业的热门选修课.本书是为"数据结构"课程编写的教材,其内容选取符合教学大纲要求,并兼顾学科的广度和深度,适用面广.--本书前言]]></description>
			<content:encoded><![CDATA[<h2>阅读思路</h2>
<h3>20091201</h3>
<p>今天看的&#8221;树&#8221;,有些难,不过当看到&#8221;普通树&#8221;和二叉树之间的转换以及二叉树和森林之间的转换的时候感觉比较有意思,同时这些东西真的很有用,把复杂的东西简化抽象出来.神奇!</p>
<p>但是现在的学习进度我还是比较担心的,太慢!</p>
<h3>20091115</h3>
<p>昨天晚上做的&#8221;数据结构题集&#8221;上的题目,感觉挺有意思.</p>
<p>实现了一个基于&#8221;三元组顺序表&#8221;的矩阵相加的算法,算法的时间复杂度为O(m+n)(其中m和n代表两个矩阵的元素个数),基本思想比较简单,但是我写的代码可能比较多,比较凌乱.</p>
<h3>20091112</h3>
<p>上午背日语累了,就跑回寝室实现了一个稀疏矩阵的快速转置算法.现在比较来看还是这个快速算法比较快.</p>
<p>下午晚上就一直在看矩阵的乘法,完成了一个比较简单的乘法算法.但是那个基于&#8221;行逻辑链接的顺序表&#8221;的算法目前没有实现.</p>
<h3>20091111</h3>
<p>现在终于开始恩那个静下心来做些练习,编写一些代码,实现一些代码.</p>
<p>同时,随着难度的增加,数据结构的升级.越来越感觉可以实现的东西多了.可以完成的任务多了.挺棒!</p>
<p>比如今天就编写了一个&#8221;三元组顺序表&#8221;,用来实现普通的&#8221;稀疏矩阵的转换&#8221;.</p>
<h3>20091108</h3>
<p>今天终于完成了关于&#8221;2.3 线性表的链式表示和实现&#8221;这部分的代码,虽然是初步的实现(仅仅包含:构造函数,pop(), push(), remove(), insert()函数).但是已经相当有成就感了.因为以前实现别的东西都是用数组的方式实现的.这是第一次用指针表达的链式结构.</p>
<p>开还是要多看书,多学一些了&#8230;</p>
<h3>20091106</h3>
<p>发现我的这篇文章好久没有更新了.失败!</p>
<p>今天老师讲的是数组和广义表.讲了二维,三维及多维的数组表示,和矩阵的压缩.现在的我听到矩阵就很兴奋.因为最近一直在和矩阵打交道.因为学习OpenCV中大部分的函数都在和矩阵打交道,比如图像就是用矩阵来表示的.主要有IplImage, CvMat, CvArr等结构.</p>
<p>该学习了.要不估计期末考试够呛!</p>
<h3>20090926</h3>
<p>补充几个不错的链接,关于数据结构的:</p>
<ul>
<li><a href="http://www.jjj.de/fxt/demo/ds/">http://www.jjj.de/fxt/demo/ds/</a></li>
<li><a href="http://www.cs.auckland.ac.nz/software/AlgAnim/ds_ToC.html">http://www.cs.auckland.ac.nz/software/AlgAnim/ds_ToC.html</a></li>
<li><a href="http://academic.evergreen.edu/curricular/dsa01/dsa-resources.html">http://academic.evergreen.edu/curricular/dsa01/dsa-resources.html</a></li>
</ul>
<h3>20090925</h3>
<p>上午有底小强老师的&lt;数据结构&gt;课,这节课听了老师讲的堆栈(Stack),又了解了一些堆栈的应用.</p>
<p>其中关于数制的转换,括号匹配的检验,行编辑程序的实现是比较有趣的.现在想起以前的一些ACM题目,不由得感觉数据结构真的很有用.拓宽了自己的视野.有学习的价值.</p>
<p>分享几个关于Data Structures的站点:</p>
<ul>
<li><a href="http://academicearth.org/courses/data-structures">http://academicearth.org/courses/data-structures</a></li>
<li><a href="http://www.cse.unr.edu/~bebis/CS308/">http://www.cse.unr.edu/~bebis/CS308/</a></li>
<li><a href="http://courses.cs.vt.edu/~csonline/DataStructures/Lessons/index.html">http://courses.cs.vt.edu/~csonline/DataStructures/Lessons/index.html</a></li>
</ul>
<h2>实现完成</h2>
<ul>
<li>Stack的C++实现</li>
<li><em>10进制到任意进制的转换(未完全实现)</em></li>
<li>括号匹配的检验 / 20090926</li>
<li>行编辑程序(简易) / 20090926</li>
<li>List的C++实现(应用了template)</li>
<li>稀疏矩阵的普通转置和快速转置(20091112)</li>
</ul>
<h2>章节学习</h2>
<h3>第2章 线性表</h3>
<p style="padding-left: 30px;">20091108:(2文件, 197行, 至31页) / 2.3 线性表的链式表示和实现</p>
<h3>第3章 栈和队列</h3>
<p style="padding-left: 30px;">20090925:(4文件, 284行,至48页) / <strong>3.1 栈; 3.2 栈的应用举例;</strong></p>
<p style="padding-left: 30px;">20090926:(2文件, 98行, 至50页)</p>
<h3>第5章 数组和广义表</h3>
<p style="padding-left: 30px;">20091111:(1文件,73行, 至99页)</p>
<p style="padding-left: 30px;">20091112:(2文件,137行, 至101页)</p>
<p style="padding-left: 30px;">20091114:(1文件, 135行)</p>
<h3>第6章 树和二叉树</h3>
<p style="padding-left: 30px;">20091201:(至140页)</p>
<h2>行数统计</h2>
<h3>20091114</h3>
<p>共<strong>12</strong>文件,共<strong>924</strong>行.<em>(增加1文件,135行)</em></p>
<h3>20091112</h3>
<p>共<strong>11</strong>文件,共<strong>789</strong>行.<em>(增加2文件,137行)</em></p>
<h3>20091111</h3>
<p>共<strong>9</strong>文件,共<strong>652</strong>行.<em>(增加1文件,73行)</em></p>
<h3>20091108</h3>
<p>共<strong>8</strong>文件,共<strong>579</strong>行.<em>(增加2文件,197行)</em></p>
<h3>20090926</h3>
<p>共<strong>6</strong>文件,共<strong>382</strong>行.<em>(增加2文件,98行)</em></p>
<h3>20090925</h3>
<p>共<strong>4</strong>文件,共<strong>284</strong>行.<em>(增加4文件,284行)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/data-structures-in-c/">Permalink</a> |
<a href="http://meiyou.org/2009/09/data-structures-in-c/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/data-structures-in-c/&title=《数据结构(C语言版)》学习记录">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/mathematics/" rel="tag">数学</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a>, <a href="http://meiyou.org/labels/algorithms/" rel="tag">算法</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/data-structures-in-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>《Visual C++ 应用教程》学习记录</title>
		<link>http://meiyou.org/2009/09/virtual-cpp/</link>
		<comments>http://meiyou.org/2009/09/virtual-cpp/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 13:22:17 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1150</guid>
		<description><![CDATA[学校开的专业课,由韩成老师讲授.
主要是学习一下MFC之类的知识.在这里记录一下,自我激励!]]></description>
			<content:encoded><![CDATA[<h2>编程随想</h2>
<h3>20091208</h3>
<p style="padding-left: 30px;">经过这几天的奋战,VC++应用教程的第一部分&#8221;Visual C++教程&#8221;的9章内容已基本搞定,第二部分&#8221;实验&#8221;也基本搞定,这里的&#8221;搞定&#8221;意思是指书上所有示例代码敲过,通览一遍.</p>
<p style="padding-left: 30px;">现在只剩下第三部分&#8221;实习&#8221;了,计划考试前做温习用.</p>
<p style="padding-left: 30px;">至此,VC++部分的学习暂告一段落,剩下的时间复习其他功课&#8230;</p>
<p style="padding-left: 30px;">Oh,Yeah!</p>
<h3>20091205</h3>
<p style="padding-left: 30px;">写书上的代码到现在,用6个多小时把第八章看完.真是写恶心了都.</p>
<p style="padding-left: 30px;">其中那个综合应用一直报错,后来才发现是选择了多文本的模板造成的,害的我有重新做一遍.以后还真的要小心啊&#8230;</p>
<h3>20091204</h3>
<p style="padding-left: 30px;">这次并没有像其他时候&#8221;连夜&#8221;更新博客,忙着看电影了都.</p>
<p style="padding-left: 30px;">把第七章看完,最后的那个综合应用真是麻烦,写了N久.发现VC++的&#8221;画图&#8221;功能挺强.如图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1585" href="http://meiyou.org/2009/09/virtual-cpp/ex_drawtext/"><img class="alignnone size-medium wp-image-1585" title="Ex_DrawText" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_DrawText-640x242.png" alt="Ex_DrawText" width="640" height="242" /></a></p>
<h3>20091203</h3>
<p style="padding-left: 30px;">半夜看书估计已经习惯了,看的是关于图形处理的内容,这个是我比较感兴趣的.那就看图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1578" href="http://meiyou.org/2009/09/virtual-cpp/ex_gdi/"><img class="alignnone size-medium wp-image-1578" title="Ex_GDI" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_GDI-640x370.png" alt="Ex_GDI" width="640" height="370" /></a></p>
<p style="padding-left: 30px;">照着书上代码敲的,感觉这个MFC也挺有意思的,还能用在图像的生成,不错.赞一个..</p>
<h3>20091202</h3>
<p style="padding-left: 30px;">半夜看起来VC++的书来,真不知道自己怎么想的.</p>
<p style="padding-left: 30px;">看了一下第七章的内容,做了一个示例程序.</p>
<p style="padding-left: 30px;">估计这样稍减罪恶感.估计.</p>
<h3>20091130</h3>
<p style="padding-left: 30px;">看完第六章,做完综合练习,但,做是做了,并没有一种自身提高的感觉.</p>
<p style="padding-left: 30px;">小失落&#8230;准备看完VC++接着学侯捷老师的&lt;深入浅出MFC&gt;.</p>
<h3>20091123</h3>
<p style="padding-left: 30px;">写了两个示例代码,没有什么意思.</p>
<p style="padding-left: 30px;">不过现在MFC学习的还是真快,现在都学到第六章:数据和文档了.但是这么学习感觉少了些什么.或者说缺少了些什么.</p>
<h3>20091119</h3>
<p style="padding-left: 30px;">实在无聊,做做MFC,还是可视化简单啊!</p>
<h3>20091117</h3>
<p style="padding-left: 30px;">晚上看了一下VC++的书,第五章就剩下最后的综合实践部分了.等下回做的时候再弄吧.</p>
<h3>20091116</h3>
<p style="padding-left: 30px;">上午没听课,回来做了一个示例程序,但是稍微改动了一下:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1488" href="http://meiyou.org/2009/09/virtual-cpp/rbt/"><img class="alignnone size-full wp-image-1488" style="border: 1px solid #cccccc" title="Just For RBT" src="http://meiyou.org/wp-content/uploads/2009/09/RBT.png" alt="Just For RBT" width="448" height="269" /></a></p>
<h3>20091114</h3>
<p style="padding-left: 30px;">今天上午的VC++实验课我改到了上午1,2节,不过课上并没有做什么.做了一个程序,一个要求输入用户名和密码的登录框.但老是结果不对.原来以为是CString类型处理有问题,但是后来发现,原来是没有添加UpdateData()函数.</p>
<p style="padding-left: 30px;">真是无语了,因为这点小的错误.让我百思不得其解.开来编程就是这样,要一步一步的做出来,并不可以看看会就可以.要不什么也学不到.</p>
<h3>20091112</h3>
<p style="padding-left: 30px;">晚上做了一下MFC的小例子.主要是考虑到周六可能不会上太长时间的VC++实验课的缘故(有其他重要事情要做).那就先把相关的实验先做了再说.</p>
<h3>20091109</h3>
<p style="padding-left: 30px;">今天老师上课.虽然坐在第一排,但是没有听太多的内容.困啊,不知道为什么.</p>
<p style="padding-left: 30px;">晚上实在是很无聊,心里面又比较浮躁,看不下去书,但是还是勉强使自己看看VC++,做些练习:</p>
<ol>
<li>Ex_ContentMenu</li>
<li>Ex_Menu</li>
<li>Ex_MultiBar</li>
<li>Ex_SDI</li>
<li>Ex_TM</li>
</ol>
<p style="padding-left: 30px;">看看书,做做练习.还是无聊&#8230;</p>
<h3>20091107</h3>
<p style="padding-left: 30px;">今天实验课完成3个实验:</p>
<ol>
<li>Ex_BkColor</li>
<li>Ex_Timer</li>
<li>Ex_CityZone<em>(有Bug,未修复)</em></li>
</ol>
<p style="padding-left: 30px;">难度不太大,还有就是上了半节课,然后就跑去501阶上吕堂红老师&#8221;离散数学&#8221;了.</p>
<h3>20091102</h3>
<p style="padding-left: 30px;">上午是老师的课.但是由于是星期一,没有打起精神来.</p>
<p style="padding-left: 30px;">但还要在下午把之前的东西再学一遍.</p>
<h3>20091019</h3>
<p style="padding-left: 30px;">停课一周,今天晚上上机做的实验.由于现在封校,还是不能自由出入.只能在我们研究生教学楼的513网络实验室做实验.不过这里的环境要比东区好一些.</p>
<p style="padding-left: 30px;">没有行数统计.因为是MFC有些东西是VC自动合成的.所以统计行数不太方便.</p>
<h3>20090921</h3>
<p style="padding-left: 30px;">今天上午有韩成老师的课,但是2个小时的课,基本上我是睡过来的.不知道星期一为什么这么困.</p>
<p style="padding-left: 30px;">下课后看了一下第二章的内容,讲的是Windows编程.由于想做一些东西,所以还是对这部分内容很期待的.</p>
<p style="padding-left: 30px;">于是敲了一下示例代码,挺简单,但就是看不明白,过一阵子会好些吧.</p>
<p style="padding-left: 30px;">晚上是上机课,敲了两百多行代码.接近我的三万行代码,但是还是少一些.</p>
<h3>20090920</h3>
<p style="padding-left: 30px;">用了一个多小时把第一章剩下的示例代码敲完了。不错还。</p>
<h2>编写章节</h2>
<h3>第一章 C++基础</h3>
<p style="padding-left: 30px;">20090920:(8文件,291行)</p>
<h3>第二章 MFC编程和操作</h3>
<p style="padding-left: 30px;">20090921:(5文件,350行)</p>
<h3>第三章 对话框和常用控件</h3>
<p style="padding-left: 30px;">20091019:(5 工程, X行)</p>
<p style="padding-left: 30px;">20091102:( 2 工程, X 行)</p>
<p style="padding-left: 30px;">20091107:(3 工程)</p>
<p style="padding-left: 30px;">20091114:(1 工程)</p>
<h3>第四章 菜单,工具栏和状态栏</h3>
<p style="padding-left: 30px;">20091109:(5工程)</p>
<p style="padding-left: 30px;">20091112:(1工程)</p>
<p style="padding-left: 30px;">20091113:(1 工程)</p>
<h3>第五章 图标,光标和窗口框架</h3>
<p style="padding-left: 30px;">20091116:(4工程)</p>
<p style="padding-left: 30px;">20091117:(1工程)</p>
<p style="padding-left: 30px;">20091119:(1工程)</p>
<h3>第六章 数据和文档</h3>
<p style="padding-left: 30px;">20091123:(1工程)</p>
<p style="padding-left: 30px;">20091130:(1工程)</p>
<h3>第七章 图形,文本和位图</h3>
<p style="padding-left: 30px;">20091202:(1工程)</p>
<p style="padding-left: 30px;">20091203:(6工程)</p>
<h3>第八章 视图应用框架</h3>
<p style="padding-left: 30px;">20091205:(8工程)</p>
<h3>第九章 数据库应用</h3>
<p style="padding-left: 30px;">20991206:(1工程)</p>
<p style="padding-left: 30px;">20091207:(6工程)</p>
<h2>行数统计</h2>
<h3>20090921</h3>
<p>总共<strong>13</strong>文件,共<strong>641</strong>行.<em>(增加5文件,350行)</em></p>
<h3>20090920</h3>
<p>总共<strong>8</strong>文件,共<strong>291</strong>行.<em>(增加8文件,291行)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/virtual-cpp/">Permalink</a> |
<a href="http://meiyou.org/2009/09/virtual-cpp/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/virtual-cpp/&title=《Visual C++ 应用教程》学习记录">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/virtual-cpp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning OpenCV</title>
		<link>http://meiyou.org/2009/09/learning-opencv/</link>
		<comments>http://meiyou.org/2009/09/learning-opencv/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 15:46:09 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1103</guid>
		<description><![CDATA[为了学习验证码技术,我买来这本介绍OpenCV的书籍,希望可以学习相关的计算机视觉技术.现在看来很有意思.希望可以继续下去!]]></description>
			<content:encoded><![CDATA[<h2>What Is New?</h2>
<h3>20100128</h3>
<p style="padding-left: 30px;">今天可以是学习的辛苦啊,一直学习到这个时候(03:35),不过虽然很辛苦.但是看着自己一页一页的笔记,很是欣慰.</p>
<p style="padding-left: 30px;">还有几页,第十章的内容就看完了.下一步准备跳过12,13章,看第14章的Mechine Learning,因为这章我感觉还和验证码的识别有些关系,至于11章(Camera Models and Calibration)和12章(Projection and 3D Vision)貌似和验证码识别关系不大,既然现在的时间不是很充裕.那就把这些不相关的章节略去.直接学习些有用的吧.</p>
<p style="padding-left: 30px;">Show图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1751" href="http://meiyou.org/2009/09/learning-opencv/opencv-kalman-filter/"><img class="alignnone size-full wp-image-1751" title="OpenCV Kalman Filter" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Kalman-Filter.png" alt="" width="513" height="536" /></a></p>
<p style="padding-left: 30px;">书上是这么解释的:</p>
<p style="padding-left: 30px;">&#8220;We&#8217;l write a program (Example 10-2) whose output will show the car circling around (<strong>in red</strong>) as well as the measurement we make (<strong>in yellow</strong>) and the location predicted by the Kalman filter (<strong>in white</strong>).&#8221;</p>
<h3>20100127</h3>
<p style="padding-left: 30px;">好几天荒废的学业,今天又重新拾起.看了两个小节的书,抄写了两个示例程序</p>
<p style="padding-left: 30px;">现在学习的主要是动作跟踪判断和识别之类的东西.</p>
<p style="padding-left: 30px;">有图有真相:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1742" href="http://meiyou.org/2009/09/learning-opencv/opencv-motion-templates/"><img class="alignnone size-full wp-image-1742" title="OpenCV Motion Templates" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Motion-Templates.png" alt="" width="333" height="276" /></a></p>
<p style="padding-left: 30px;">上图是Motion Template(运动模型)对手的方向进行跟踪的效果.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1741" href="http://meiyou.org/2009/09/learning-opencv/opencv-horn-schunck-method/"><img class="alignnone size-medium wp-image-1741" title="OpenCV Horn-Schunck Method" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV-Horn-Schunck-Method-640x505.png" alt="" width="640" height="505" /></a></p>
<p style="padding-left: 30px;">上图为应用Horn-Schunck方法处理的Optical Flow(光流)结果.</p>
<h3>20100124</h3>
<p style="padding-left: 30px;">从&#8221;昨天&#8221;晚上开始学习Optical Flow(光流)部分,这个倒是慢慢扣就可以的.</p>
<p style="padding-left: 30px;">但是想自己用OpenCV画一个箭头形状的线都算不好它们之间的三角函数关系.头晕啊.学习了这么长时间的OpenCV和数学,居然连这个都做不了.真是无奈啊!!!</p>
<p style="padding-left: 30px;">Pyramid Lucas-Kanade optical flow example:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1734" href="http://meiyou.org/2009/09/learning-opencv/lkpyr_opticalflow/"><img class="alignnone size-medium wp-image-1734" title="LKpyr_OpticalFlow(图片为源码附带测试图片)" src="http://meiyou.org/wp-content/uploads/2009/09/LKpyr_OpticalFlow-640x385.png" alt="" width="640" height="385" /></a></p>
<h3>20100121</h3>
<p style="padding-left: 30px;">第九章的学习任务基本完成.目前不准备做课后的习题了,为了赶进度,明日学习下一章的内容!</p>
<p style="padding-left: 30px;">今天的示例程序的输出图,最后结果前一帧:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1724" href="http://meiyou.org/2009/09/learning-opencv/ch9_delaunay_pre/"><img class="alignnone size-full wp-image-1724" title="Ch9_Delaunay_pre" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Delaunay_pre.png" alt="Delaunay处理的结果" width="613" height="636" /></a></p>
<p style="padding-left: 30px;">上图中,黑色线为Delaunay Triangulation处理的效果,绿色线为Voronoi Tesselation处理的效果.</p>
<p style="padding-left: 30px;">最后结果很想教堂的窗户.(龟裂的效果)</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1723" href="http://meiyou.org/2010/01/sophomore-coding-201001/ch9_delaunay/"><img class="alignnone size-full wp-image-1723" title="Ch9_Delaunay" src="http://meiyou.org/wp-content/uploads/2010/01/Ch9_Delaunay.png" alt="" width="613" height="636" /></a></p>
<p style="padding-left: 30px;">最后的效果其实就是把第一个图绿色线圈起来的部分填充上随机的颜色.(程序中随机参数没有完全设置好,每次产生的都是同样的图形和颜色)</p>
<h3>20100120</h3>
<p style="padding-left: 30px;">完成三个小节的学习:</p>
<ol>
<li>Watershed Algorithm</li>
<li>Image Repair by Inpainting</li>
<li>Mean-Shift Segmentation</li>
</ol>
<p style="padding-left: 30px;">那个&#8221;分水岭算法&#8221;的演示程序之前一直没有看明白,今天无意中发现原来是这么用的.真的好无奈.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1715" href="http://meiyou.org/2009/09/learning-opencv/ch9_watershed/"><img class="alignnone size-medium wp-image-1715" title="Ch9_Watershed" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Watershed-640x292.png" alt="" width="640" height="292" /></a></p>
<p style="padding-left: 30px;">再有就是那个所谓的图像修复技术,感觉实在是有些简单.只能马马虎虎的&#8221;修复&#8221;一下:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1716" href="http://meiyou.org/2009/09/learning-opencv/ch9_inpainting/"><img class="alignnone size-medium wp-image-1716" title="Ch9_Inpainting" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Inpainting-640x288.png" alt="" width="640" height="288" /></a></p>
<p style="padding-left: 30px;">最后一个Mean-Shift Segmentation(均值漂移分割)感觉貌似有用,但,也就仅限于使用函数,具体用在何种场合现在还是闹不清楚.参数:cvPyrMeanShiftFiltering( img, dst, 20, 40, 1 );</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1717" href="http://meiyou.org/2009/09/learning-opencv/ch9_cvpyrmeanshiftfiltering/"><img class="alignnone size-medium wp-image-1717" title="Ch9_cvPyrMeanShiftFiltering" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_cvPyrMeanShiftFiltering-640x292.png" alt="" width="640" height="292" /></a></p>
<h3>20100119</h3>
<p style="padding-left: 30px;">真是郁闷,编写了N多行,最后提示连接错误.</p>
<p style="padding-left: 30px;">外加前几天编写的一并统计.共6个文件885行.</p>
<p style="padding-left: 30px;">给你几个截图吧:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1706" href="http://meiyou.org/2009/09/learning-opencv/ch9_avgbackground/"><img class="alignnone size-medium wp-image-1706" title="Ch9_AvgBackground" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_AvgBackground-640x384.png" alt="" width="640" height="384" /></a></p>
<p style="padding-left: 30px;">上面那个图是Background Averaging背景减去法处理后的结果.</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1707" href="http://meiyou.org/2009/09/learning-opencv/ch9_test_cvrunningavg/"><img class="alignnone size-medium wp-image-1707" title="Ch9_Test_cvRunningAvg" src="http://meiyou.org/wp-content/uploads/2009/09/Ch9_Test_cvRunningAvg-640x178.png" alt="" width="640" height="178" /></a></p>
<p style="padding-left: 30px;">上面的是cvRunningAvg函数处理后的结果,图中间的那个是&#8221;累加&#8221;处理的结果,会有一种飘逸的效果.</p>
<p style="padding-left: 30px;">至于CodeBook法,由于编译链接的时候有错误显示,所以没有办法截图.见谅.</p>
<h3>20100112</h3>
<p style="padding-left: 30px;">两个月来又一次开始OpenCV的学习,感觉有些生疏.</p>
<p style="padding-left: 30px;">今天写的是一个视频帧相减的程序,如图:</p>
<p style="padding-left: 30px;"><a rel="attachment wp-att-1694" href="http://meiyou.org/2009/09/learning-opencv/frame_differencing/"><img class="alignnone size-full wp-image-1694" title="Frame Differencing" src="http://meiyou.org/wp-content/uploads/2009/09/Frame_Differencing.png" alt="" width="333" height="277" /></a></p>
<h3>20091105</h3>
<p>这几天其实没有什么进度,关键是OpenCV这个书后面章节的内容已经超出了我的学习能力范围.大多是一些数学公式的推导.而且由于我的数学基础不行,再加上这些东西的内容艰深.导致进度缓慢.</p>
<p>这不,昨天看了一些&#8221;卷积(Convolution)&#8221;的部分内容,今天就做了一个小的测试.关于使用cvFilter2D(IplImage* src, IplImage* dst, const CvMat* kernel, CvPoint anchor=cvPoint(-1, -1) );这个函数的.其中的那个矩阵(Martix),通过这两天的学习,我找到了一个3*3的矩阵:</p>
<p style="padding-left: 60px;">[ 0 0 0 ]</p>
<p style="padding-left: 60px;">[ 1 0 -1]</p>
<p style="padding-left: 60px;">[ 0 0 0 ]</p>
<p>利用这个可以做出如下效果:</p>
<p><a rel="attachment wp-att-1422" href="http://meiyou.org/2009/09/learning-opencv/ch6_test_convolution/"><img class="alignnone size-medium wp-image-1422" title="Ch6 Test Convolution (关于卷积的处理)" src="http://meiyou.org/wp-content/uploads/2009/09/Ch6_Test_Convolution-640x266.png" alt="Ch6 Test Convolution (关于卷积的处理)" width="640" height="266" /></a></p>
<h3>20091103</h3>
<p>晚上无聊没事.还把之前一直想做的一个OpenCV的&#8221;Project&#8221;做了一些.就是一个通过Trackbar来控制RGB三色显示颜色的程序, 输出颜色倒是挺简单,关键是那个显示颜色属性的字.比如白色是&#8221;FFFFFF&#8221;,黑色是&#8221;000000&#8243;,但是就是这个让我做了半天,因为 Trackbar的Value是int型的,我现需要的是大写十六进制的输出.所以有些难.</p>
<p>但是还好,用了一个相对比较笨的方法实现了输出.是反色输出颜色属性.如图:</p>
<p><a rel="attachment wp-att-1417" href="http://meiyou.org/2009/09/learning-opencv/project_select_color/"><img class="alignnone size-full wp-image-1417" title="Select_Color 的输出." src="http://meiyou.org/wp-content/uploads/2009/09/Project_Select_Color.png" alt="Select_Color 的输出." width="313" height="514" /></a></p>
<p>那个&#8221;123456&#8243;是我特意选择出来的,是十六进制的表示.即代表:(R,18; G,52; B,86).相对来说还是比较简单的.</p>
<h3>20091102</h3>
<p>今天又做了两个练习分别是5-11,5-12.</p>
<p>其中5-11做的是cvPyrSegmentation()函数的处理.不过这个函数到底是怎么来的,我还真的不太明了.现在只知道照着代码敲.明天再研究一下.</p>
<p><a rel="attachment wp-att-1409" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_11/"><img class="alignnone size-medium wp-image-1409" title="Exercise_5_11练习的cvPyrSegmentation()函数处理效果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_11-640x266.png" alt="Exercise_5_11练习的cvPyrSegmentation()函数处理效果" width="640" height="266" /></a></p>
<p>而5-12也不太难,就是把代码抄一下.不过那个IplImage*数组生成及销毁(Release)还是有点意思.下面是两个不同的处理版本,关于阀值处理的.</p>
<p>第一个是cvThreshold()处理效果(其中:Threshold:128, Max_value: 255, 而那个threshold_type分别为:</p>
<ul>
<li>CV_THRESH_BINARY</li>
<li>CV_THRESH_BINARY_INV</li>
<li>CV_THRESH_TRUNC</li>
<li>CV_THRESH_TOZERO_INV</li>
<li>CV_THRESH_TOZERO</li>
</ul>
<p><a rel="attachment wp-att-1410" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvthreshold/"><img class="alignnone size-medium wp-image-1410" title="Exercise_5_12 cvThreshold()函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_12-cvThreshold-640x354.png" alt="Exercise_5_12 cvThreshold()函数处理后的效果" width="640" height="354" /></a></p>
<p>第二个是cvAdaptiveThreshold()函数处理的效果,但是Threshold_type只能使用CV_THRESH_BINARY和CV_THRESH_BINARY_INV两个类型.</p>
<p><a rel="attachment wp-att-1411" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_12-cvadaptviethreshold/"><img class="alignnone size-medium wp-image-1411" title="Exercise_5_12 cvAdaptvieThreshold()函数处理结果" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_12-cvAdaptvieThreshold-640x179.png" alt="Exercise_5_12 cvAdaptvieThreshold()函数处理结果" width="640" height="179" /></a></p>
<h3>20091101</h3>
<p>做第五章练习,有个题目居然没有看懂.无奈自己的英语水平.</p>
<p>跳过去这个,下一个题目的截图,关于cvResize()和cvPyrDown()对图片缩小差异的题目.我估计cvPyrDown()对对图片使用了高斯模糊处理(默认参数:IPL_GAUSSIAN_5x5),所以缩小的图像看起来有些&#8221;模糊&#8221;的感觉.而cvResize()函数的默认处理参数为:CV_INTER_LINEAR.Show图大家看:</p>
<p><a rel="attachment wp-att-1402" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_10/"><img class="alignnone size-medium wp-image-1402" title="Exercise_5_10" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_10-640x377.png" alt="Exercise_5_10" width="640" height="377" /></a></p>
<h3>20091030</h3>
<p>明天就要返校了.估计这也是我最后的更新了.到了学校再说吧!</p>
<p>做了两个练习:Exercise 5.7和Exercise 5.8.</p>
<p><a rel="attachment wp-att-1390" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_7/"><img class="alignnone size-medium wp-image-1390" title="Exercise_5_7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_7-640x406.png" alt="Exercise_5_7" width="640" height="406" /></a></p>
<p>下面的这个就是模仿&#8221;Sapce&#8221;了.这也是我刚刚完成的&#8221;Project&#8221;的想法来源.不过&#8230;</p>
<p><a rel="attachment wp-att-1391" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_8/"><img class="alignnone size-medium wp-image-1391" title="Exercise_5_8" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_8-640x505.png" alt="Exercise_5_8" width="640" height="505" /></a></p>
<p>不过我的这个Project是动态的.没有办法上传截图.(其实截图看不出来什么,之所以是动态的,是因为利用了人眼的&#8221;误差&#8221;).</p>
<p>(Space&amp;Stars.截图略)</p>
<h3>20091029</h3>
<p>昨天晚上开始,做些练习.第五章的.</p>
<p>也不知道怎么的,突然就又想起来做练习了.记得前几天放假的时候做过一些.感觉不错,现在又找到这样的感觉.</p>
<p>主要是Exercise 5.6花费的时间比较长.Exercise 5.5还好说一点.不过通过做5.6倒是有把cvFloodFill又学习了一遍.上回看的时候没有太看仔细.现在反过来看,一下子就明白了不少.同时感觉自己的英文水平还是真的差的太多.还需要继续努力学习啊!</p>
<p>Exercise 5.5 Take a picture of a scene:</p>
<p><a rel="attachment wp-att-1382" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_5/"><img class="alignnone size-medium wp-image-1382" title="Exercise_5_5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_5-640x330.png" alt="Exercise_5_5" width="640" height="330" /></a></p>
<p>Exercise 5.6 Create a clean mask from noise:</p>
<p><a rel="attachment wp-att-1383" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_6/"><img class="alignnone size-medium wp-image-1383" title="Exercise_5_6" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_6-640x261.png" alt="Exercise_5_6" width="640" height="261" /></a></p>
<h3>20091026</h3>
<p>晚上没有事情做.还是做做OpenCV,但是练习现在也没有心情做.</p>
<p>那就做一个自己以前想起来做的东西.一个Canny的处理程序:</p>
<p><a rel="attachment wp-att-1368" href="http://meiyou.org/2009/09/learning-opencv/best-threshold/"><img class="alignnone size-medium wp-image-1368" title="Best Threshold" src="http://meiyou.org/wp-content/uploads/2009/09/Best-Threshold-640x356.png" alt="Best Threshold" width="640" height="356" /></a></p>
<p>其实,这个东西原本想用于此处:</p>
<p><a rel="attachment wp-att-1369" href="http://meiyou.org/2009/09/learning-opencv/qq_captcha/"><img class="alignnone size-full wp-image-1369" title="QQ_Captcha" src="http://meiyou.org/wp-content/uploads/2009/09/QQ_Captcha.png" alt="QQ_Captcha" width="403" height="181" /></a></p>
<h3>20091021</h3>
<p>发现,复课以后很难再安心学习.每天也就是应付功课一样写一些代码.</p>
<p>不过我想,这种情况还要继续.那就这样吧.</p>
<h3>20091020</h3>
<p>晚上写了一个示例程序.做的是图像某个线的RGB值的输出.截图就不做了.YY吧,</p>
<h3>20091019</h3>
<p>今天虽然说是开始上课了.但是由于是星期一,没有太多的课,还是比较清闲的.上午看的是VC++那本教材,下午就是做的OpenCV,完成了第四章练习的第八题.同时还做了一个第五章的一个题.比较简单.</p>
<p>昨天的题:</p>
<p><a rel="attachment wp-att-1349" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_8/"><img class="alignnone size-full wp-image-1349" title="Exercise_4_8" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_8.png" alt="Exercise_4_8" width="513" height="404" /></a></p>
<p>下面的图像,是题目要求做出来.有些恐怖,那个白色的骷髅是我画出来的.</p>
<p>在网上找来半天也没有找到合适的.后来也就自己做了一个:<a rel="attachment wp-att-1352" href="http://meiyou.org/2009/09/learning-opencv/skull/">skull.jpg</a></p>
<p><a rel="attachment wp-att-1350" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_8_skull/"><img class="alignnone size-full wp-image-1350" title="Exercise_4_8_skull" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_8_skull.png" alt="Exercise_4_8_skull" width="513" height="404" /></a></p>
<p>下面的是今天做的第五章习题.</p>
<p><a rel="attachment wp-att-1351" href="http://meiyou.org/2009/09/learning-opencv/exercise_5_4/"><img class="alignnone size-medium wp-image-1351" title="Exercise_5_4" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_5_4-640x425.png" alt="Exercise_5_4" width="640" height="425" /></a></p>
<h3>20091018</h3>
<p>下面的是Exercise 4.6的截图,上面的字符都是&#8221;打&#8221;上去的.注意那个&#8221;meiyou.org&#8221;还有&#8221;192.168.157.19&#8243;.</p>
<p><a rel="attachment wp-att-1339" href="http://meiyou.org/2009/09/learning-opencv/exercise-4-6/"><img class="alignnone size-full wp-image-1339" title="Exercise 4-6的截图" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-4-6.png" alt="Exercise 4-6的截图" width="333" height="276" /></a></p>
<p>Perspective Transformation的截图:</p>
<p><a rel="attachment wp-att-1340" href="http://meiyou.org/2009/09/learning-opencv/exercise-4-7/"><img class="alignnone size-medium wp-image-1340" title="Exercise 4-7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-4-7-640x321.png" alt="Exercise 4-7" width="640" height="321" /></a></p>
<p>最后其实还有一个人脸识别的练习.但是现在还没有弄好,所以暂时不更新截图.</p>
<h3>20091017</h3>
<p>昨天的练习一直做到凌晨.一个图片信息提取程序.如图:</p>
<p><a rel="attachment wp-att-1317" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_3/"><img class="alignnone size-medium wp-image-1317" title="Exercise_4_3" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_3-640x265.png" alt="Exercise_4_3" width="640" height="265" /></a></p>
<p>其他的,也有一些,现在上传上来:</p>
<p><a rel="attachment wp-att-1315" href="http://meiyou.org/2009/09/learning-opencv/exercise-3-5/"><img class="alignnone size-full wp-image-1315" title="Exercise 3-5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-3-5.png" alt="Exercise 3-5" width="223" height="246" /></a></p>
<p><a rel="attachment wp-att-1316" href="http://meiyou.org/2009/09/learning-opencv/exercise_3_6/"><img class="alignnone size-full wp-image-1316" title="Exercise_3_6" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_3_6.png" alt="Exercise_3_6" width="333" height="276" /></a></p>
<p>下面这张比较恐怖&#8230;(我不是故意的,这是产生一个MASK后处理的效果)</p>
<p><a rel="attachment wp-att-1314" href="http://meiyou.org/2009/09/learning-opencv/exercise_3_7/"><img class="alignnone size-full wp-image-1314" title="Exercise_3_7" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_3_7.png" alt="Exercise_3_7" width="333" height="276" /></a></p>
<p><strong>今天做的小程序截图:</strong></p>
<p><a rel="attachment wp-att-1318" href="http://meiyou.org/2009/09/learning-opencv/exercise_4_4/"><img class="alignnone size-full wp-image-1318" title="Exercise_4_4" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise_4_4.png" alt="Exercise_4_4" width="333" height="368" /></a></p>
<h3>20091015</h3>
<p>这几天没有敲代码.今天特意做一些习题.第二章和第三章.</p>
<p><a rel="attachment wp-att-1306" href="http://meiyou.org/2009/09/learning-opencv/cvcirclecvcreatemat/"><img class="alignnone size-full wp-image-1306" title="cvCircle&amp;cvCreateMat" src="http://meiyou.org/wp-content/uploads/2009/09/cvCirclecvCreateMat.png" alt="cvCircle&amp;cvCreateMat" width="117" height="136" /></a><a rel="attachment wp-att-1307" href="http://meiyou.org/2009/09/learning-opencv/cvptr2d/"><img class="alignnone size-full wp-image-1307" title="cvPtr2D" src="http://meiyou.org/wp-content/uploads/2009/09/cvPtr2D.png" alt="cvPtr2D" width="117" height="136" /></a></p>
<p><a rel="attachment wp-att-1308" href="http://meiyou.org/2009/09/learning-opencv/exercise-5/"><img class="alignnone size-full wp-image-1308" title="Exercise 5" src="http://meiyou.org/wp-content/uploads/2009/09/Exercise-5.png" alt="Exercise 5" width="507" height="369" /></a></p>
<h3>20091014</h3>
<p>上午把第八章看完,下午和晚上就是查一下不会的单词.</p>
<p>终于有时间把第八章看完,明天继续第九章的学习.自己给自己加油!</p>
<h3>20091013</h3>
<p>看来清闲的一天也不能清闲.一天除了上午还查了一下昨天看书的单词外其他的就没有看太多.</p>
<p>小失落.</p>
<h3>20091012</h3>
<p>今天是软件学院封校不上课第一天,预订计划是停课一周.那么这周主要看一些OpenCV的知识.</p>
<p>本来OpenCV的这个课本都是英语,看起来很费劲.现在可以沉下心来做些事情.</p>
<p><a rel="attachment wp-att-1290" href="http://meiyou.org/2009/09/learning-opencv/ex_8_2/"><img class="alignnone size-full wp-image-1290" title="Ex_8_2" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_8_2.png" alt="Ex_8_2" width="320" height="240" /></a></p>
<p><a rel="attachment wp-att-1291" href="http://meiyou.org/2009/09/learning-opencv/ex_8_3/"><img class="alignnone size-full wp-image-1291" title="Example 8 3:cvDrawContours应用举例" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_8_3.png" alt="Example 8 3:cvDrawContours应用举例" width="228" height="333" /></a></p>
<h3>20091009</h3>
<p>这几天很少看OpenCV了,因为功课毕竟还是不能耽误的.</p>
<p>不过由于明天是星期六,事情不太多.所以晚上还是有时间看看我的OpenCV.今天就没有编写什么程序了.只是看书.已经看到了Chapter 8: Contours(轮廓),第234页.</p>
<h3>20091007</h3>
<p>看书,写代码.不过现在由于内容比较艰深已经看不懂太多.只能为了看而看.为了写而写.</p>
<p><a rel="attachment wp-att-1269" href="http://meiyou.org/2009/09/learning-opencv/template_matching/"><img class="alignnone size-medium wp-image-1269" title="template matching 处理结果" src="http://meiyou.org/wp-content/uploads/2009/09/template_matching-640x322.png" alt="template matching 处理结果" width="640" height="322" /></a></p>
<h3>20091006</h3>
<p>晚上把代码敲了一下,真多,一个文件居然有158行.呵呵.调试就费老劲了.</p>
<p><a rel="attachment wp-att-1264" href="http://meiyou.org/2009/09/learning-opencv/ex_7_3/"><img class="alignnone size-medium wp-image-1264" title="Example 7-3 输出结果截图" src="http://meiyou.org/wp-content/uploads/2009/09/Ex_7_3-640x138.png" alt="Example 7-3 输出结果截图" width="640" height="138" /></a></p>
<h3>20091004</h3>
<p>昨天编写了一些代码,但是由于时间原因没有更新,其实就是一些变换一个是Affine Transform,另一个是Perspective Transfrom.如图:</p>
<p><a rel="attachment wp-att-1236" href="http://meiyou.org/2009/09/learning-opencv/cvwarpaffine/"><img class="alignnone size-full wp-image-1236" title="cvWarpAffine" src="http://meiyou.org/wp-content/uploads/2009/09/cvWarpAffine.png" alt="cvWarpAffine" width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1235" href="http://meiyou.org/2009/09/learning-opencv/cvgetperspectivetransform/"><img class="alignnone size-full wp-image-1235" title="cvGetPerspectiveTransform" src="http://meiyou.org/wp-content/uploads/2009/09/cvGetPerspectiveTransform.png" alt="cvGetPerspectiveTransform" width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1247" href="http://meiyou.org/2009/09/learning-opencv/log-polar/"><img class="alignnone size-medium wp-image-1247" title="Log-polar Transform Example" src="http://meiyou.org/wp-content/uploads/2009/09/log-polar-640x266.png" alt="Log-polar Transform Example" width="640" height="266" /></a></p>
<p>由于第六章剩下的内容已经超过我的数学认知范围,所以我还是选择先跳过这些章节.直接看第七章:Histogram and Matching.</p>
<p><a rel="attachment wp-att-1251" href="http://meiyou.org/2009/09/learning-opencv/histogram/"><img class="alignnone size-full wp-image-1251" title="Histogram处理结果图" src="http://meiyou.org/wp-content/uploads/2009/09/Histogram.png" alt="Histogram处理结果图" width="313" height="356" /></a></p>
<h3>20091002</h3>
<p>今天看了一下Hough转换的一些知识,主要是Line和Circle的识别.如图:</p>
<p><a rel="attachment wp-att-1223" href="http://meiyou.org/2009/09/learning-opencv/cvhoughlines2/"><img class="alignnone size-medium wp-image-1223" title="cvHoughLines2" src="http://meiyou.org/wp-content/uploads/2009/09/cvHoughLines2-640x277.png" alt="cvHoughLines2" width="640" height="277" /></a></p>
<p><a rel="attachment wp-att-1226" href="http://meiyou.org/2009/09/learning-opencv/cvhoughcirlcles/"><img class="alignnone size-full wp-image-1226" title="cvHoughCirlcles" src="http://meiyou.org/wp-content/uploads/2009/09/cvHoughCirlcles.png" alt="cvHoughCirlcles" width="513" height="336" /></a></p>
<h3>20091001</h3>
<p>今天学习了两个函数:cvLaplace和cvCanny.具体效果如图:</p>
<p><a rel="attachment wp-att-1215" href="http://meiyou.org/2009/09/learning-opencv/cvlaplace/"><img class="alignnone size-medium wp-image-1215" title="cvLaplace函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/cvLaplace-640x266.png" alt="cvLaplace" width="640" height="266" /></a></p>
<p><a rel="attachment wp-att-1216" href="http://meiyou.org/2009/09/learning-opencv/cvcanny/"><img class="alignnone size-full wp-image-1216" title="cvCanny函数处理后的效果" src="http://meiyou.org/wp-content/uploads/2009/09/cvCanny.png" alt="cvCanny函数处理后的效果" width="411" height="190" /></a></p>
<p>上面那个效果我感觉特别棒!因为我原本学习OpenCV的目的就是用来处理验证码信息的,现在看来我是学对方向了.真的,上面的那个效果一下子就把我震撼了.(处理函数为:cvCanny( src, dst, 500, 1000, 3 );</p>
<p>OpenCV真是太强了!</p>
<h3>20090930</h3>
<p>今天终于进行到了第六章: Image Transforms,然后练习了两个函数:cvCopyMakeBorder和cvSobel,效果如图:</p>
<p><a rel="attachment wp-att-1207" href="http://meiyou.org/2009/09/learning-opencv/cvcopymakeborder/"><img class="alignnone size-medium wp-image-1207" title="cvCopyMakeBorder函数的处理结果,连个不同参数" src="http://meiyou.org/wp-content/uploads/2009/09/cvCopyMakeBorder-640x425.png" alt="cvCopyMakeBorder函数的处理结果,连个不同参数" width="640" height="425" /></a></p>
<p><a rel="attachment wp-att-1208" href="http://meiyou.org/2009/09/learning-opencv/cvsobel/"><img class="alignnone size-medium wp-image-1208" title="cvSobel处理后的效果,比较恐怖." src="http://meiyou.org/wp-content/uploads/2009/09/cvSobel-640x265.png" alt="cvSobel处理后的效果,比较恐怖." width="640" height="265" /></a></p>
<p>然后又实现了一个Resize函数,效果如下(大小都一样,但是所用的interpolation不一样,分别为:CV_INTER_NN,CV_INTER_LINEAR,CV_INTER_AREA,CV_INTER_CUBIC</p>
<p><a rel="attachment wp-att-1209" href="http://meiyou.org/2009/09/learning-opencv/tower/"><img class="alignnone size-medium wp-image-1209" title="使用cvResize函数处理出来的Tower,净月潭的了望塔" src="http://meiyou.org/wp-content/uploads/2009/09/tower-640x419.png" alt="使用cvResize函数处理出来的Tower,净月潭的了望塔" width="640" height="419" /></a></p>
<h3>20090926</h3>
<p>做了第五章后面的练习题.头三个题目还是很简单的.就是堆砌代码.上图:</p>
<p><a rel="attachment wp-att-1200" href="http://meiyou.org/2009/09/learning-opencv/param1234/"><img class="alignnone size-medium wp-image-1200" title="不同格式的cvSmooth()函数结果" src="http://meiyou.org/wp-content/uploads/2009/09/param1234-640x384.png" alt="不同格式的cvSmooth()函数结果" width="640" height="384" /></a></p>
<h3>20090923</h3>
<p>今天学习的是Threshold(阀值化)部分,就是现实一个黑白图像,但是应该是只有&#8221;黑&#8221;,&#8221;白&#8221;两色.还是看图实在:</p>
<p><a rel="attachment wp-att-1174" href="http://meiyou.org/2009/09/learning-opencv/pyrsegmentation/"><img class="alignnone size-full wp-image-1174" title="cvPyrSegmentation处理后的结果." src="http://meiyou.org/wp-content/uploads/2009/09/PyrSegmentation.png" alt="cvPyrSegmentation处理后的结果." width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1175" href="http://meiyou.org/2009/09/learning-opencv/threshold/"><img class="alignnone size-full wp-image-1175" title="cvThreshold处理后的结果." src="http://meiyou.org/wp-content/uploads/2009/09/Threshold.png" alt="cvThreshold处理后的结果." width="333" height="276" /></a></p>
<p><a rel="attachment wp-att-1177" href="http://meiyou.org/2009/09/learning-opencv/cvadaptivethreshold/"><img class="alignnone size-full wp-image-1177" title="cvAdaptiveThreshold与cvThreshold的对比" src="http://meiyou.org/wp-content/uploads/2009/09/cvAdaptiveThreshold.png" alt="cvAdaptiveThreshold与cvThreshold的对比" width="623" height="501" /></a></p>
<h3>20090922</h3>
<p>今天晚上研究了一下&#8221;Image Morphology&#8221;,也就是图像形态学.Show图:</p>
<p><a rel="attachment wp-att-1169" href="http://meiyou.org/2009/09/learning-opencv/cverode_cvdilate/"><img class="alignnone size-medium wp-image-1169" title="cvErode函数与cvDilate函数的测试" src="http://meiyou.org/wp-content/uploads/2009/09/cvErode_cvDilate-640x342.jpg" alt="cvErode函数与cvDilate函数的测试" width="640" height="342" /></a></p>
<p><a rel="attachment wp-att-1170" href="http://meiyou.org/2009/09/learning-opencv/kernels/"><img class="alignnone size-medium wp-image-1170" title="几种不同的Kernel的对比" src="http://meiyou.org/wp-content/uploads/2009/09/Kernels-640x260.jpg" alt="几种不同的Kernel的对比" width="640" height="260" /></a></p>
<h3>20090919</h3>
<p>晚上写了一些东西,主要是书上的示例函数的实现.发现一些问题,CV_BILATERAL无法使用.明天再研究一下!</p>
<p><a rel="attachment wp-att-1145" href="http://meiyou.org/2009/09/learning-opencv/ch5_test_20090919/"><img class="alignnone size-medium wp-image-1145" title="OpenCV Image Processing cvSmooth Function" src="http://meiyou.org/wp-content/uploads/2009/09/Ch5_test_20090919-640x489.png" alt="OpenCV Image Processing cvSmooth Function" width="640" height="489" /></a></p>
<h3>20090917</h3>
<p>最近几天也没有往后看,一直在编写107的练习题目,发现图像编程也挺有意思的.</p>
<p>还是写一些代码实在!</p>
<p>获取坐标及RGB值,如图:</p>
<p><a rel="attachment wp-att-1134" href="http://meiyou.org/2009/09/learning-opencv/saaya/"><img class="alignnone size-full wp-image-1134" title="背景图片是入江纱绫" src="http://meiyou.org/wp-content/uploads/2009/09/saaya.png" alt="背景图片是入江纱绫" width="368" height="186" /></a></p>
<h3>20090915</h3>
<p>今天忙一天的编程比赛.晚上才有一些时间来写OpenCV的程序,还挺有意思的.</p>
<h3>20090914</h3>
<p>昨天晚上编写了一个可以在一个图片上显示三个图像的程序.为了编写它,折腾了我一下午和一晚上.不过效果还可以.看图:</p>
<p><a rel="attachment wp-att-1124" href="http://meiyou.org/2009/09/learning-opencv/three-in-one/"><img class="alignnone size-medium wp-image-1124" title="three in one" src="http://meiyou.org/wp-content/uploads/2009/09/three-in-one-640x181.png" alt="three in one" width="640" height="181" /></a></p>
<h3>20090912</h3>
<p>还是更新的昨天的.</p>
<h3>20090911</h3>
<p>昨天晚上编写的代码由于没有时间来上传,现在上传上来,主要是第三章的矩阵处理技术.</p>
<h3>20090909</h3>
<p>Show some captures of my OpenCV Example works.</p>
<p><a rel="attachment wp-att-1109" href="http://meiyou.org/2009/09/learning-opencv/opencv_me/"><img class="alignnone size-medium wp-image-1109" title="OpenCV_Me" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV_Me-640x400.png" alt="OpenCV_Me" width="640" height="400" /></a></p>
<p><a rel="attachment wp-att-1110" href="http://meiyou.org/2009/09/learning-opencv/opencv_tabels/"><img class="alignnone size-medium wp-image-1110" title="OpenCV_Tabels" src="http://meiyou.org/wp-content/uploads/2009/09/OpenCV_Tabels-640x400.png" alt="OpenCV_Tabels" width="640" height="400" /></a></p>
<h2>Coding Every Day</h2>
<h3>Chapter 2: Introduction to OpenCV</h3>
<p style="padding-left: 30px;">20090908:(6 Files, 143 Lines)</p>
<p style="padding-left: 30px;">20090909:(4 Files, 151 Lines)</p>
<p style="padding-left: 30px;">20091015:(1 File, 79 Lines)</p>
<h3>Chapter 3: Getting to Know OpenCV</h3>
<p style="padding-left: 30px;">20090910:(8 Files, 178 Lines)</p>
<p style="padding-left: 30px;">20091015:(3 Files, 97 Lines)</p>
<p style="padding-left: 30px;">20091016:(4 Files, 151 Lines)</p>
<h3>Chapter 4: HighGUI</h3>
<p style="padding-left: 30px;">20090910:(1 File, 24 Lines)</p>
<p style="padding-left: 30px;">20090913:(5 Files, 393 Lines)</p>
<p style="padding-left: 30px;">20090915:(1 File, 70 Lines)</p>
<p style="padding-left: 30px;">20090916:(2 Files, 269 Lines)</p>
<p style="padding-left: 30px;">20091016:(1 File, 145 Lines)</p>
<p style="padding-left: 30px;">20091017:(1 File, 98 Lines)</p>
<p style="padding-left: 30px;">20091018:(3 Files, 360 Lines)</p>
<h3>Chapter 5: Image Processing</h3>
<p style="padding-left: 30px;">20090919:(1 File, 54 Lines)</p>
<p style="padding-left: 30px;">20090922:(2 Files, 146 Lines)</p>
<p style="padding-left: 30px;">20090923:(4 Files, 164 Lines)</p>
<p style="padding-left: 30px;">20090926:(4 Files, 159 Lines)</p>
<p style="padding-left: 30px;">20091019:(1 File, 57 Lines)</p>
<p style="padding-left: 30px;">20091028:(2 Files, 137 Lines)</p>
<p style="padding-left: 30px;">20091029:(3 Files, 130 Lines)</p>
<p style="padding-left: 30px;">20091101:(1 File, 71 Lines)</p>
<p style="padding-left: 30px;">20091102:(2 Files, 111 Lines)</p>
<h3>Chapter 6: Image Transforms</h3>
<p style="padding-left: 30px;">20090930:(3 Files, 148 Lines)</p>
<p style="padding-left: 30px;">20091001:(2 Files, 75 Lines)</p>
<p style="padding-left: 30px;">20091002:(2 Files, 101 Lines)</p>
<p style="padding-left: 30px;">20091003:(2 Files, 97 Lines)</p>
<p style="padding-left: 30px;">20091004:(1 File, 40 Lines)</p>
<p style="padding-left: 30px;">20091105:(1 File, 48 Lines)</p>
<h3>Chapter 7: Histograms and Matching</h3>
<p style="padding-left: 30px;">20091004:(1 File, 67 Lines)</p>
<p style="padding-left: 30px;">20091006:(1 File, 158 Lines)</p>
<p style="padding-left: 30px;">20091007:(1 File, 49 Lines)</p>
<h3>Chapter 8: Contours</h3>
<p style="padding-left: 30px;">20091009:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20091012:(2 Files, 100 Lines)</p>
<p style="padding-left: 30px;">20091014:(0 File, 0 Line)</p>
<h3>Chapter 9: Image Parts and Segmentation</h3>
<p style="padding-left: 30px;">20091020:(1 File, 49 Lines)</p>
<p style="padding-left: 30px;">20091021:(2 Files, 111 Lines)</p>
<p style="padding-left: 30px;">20100112:(1 File, 55 Lines)</p>
<p style="padding-left: 30px;">20100119:(6 Files, 885 Lines)</p>
<p style="padding-left: 30px;">20100120:(3 Files, 230 Lines)</p>
<p style="padding-left: 30px;">20100121:(1 File, 149 Lines)</p>
<h3>Chapter 10: Tracking and Motion</h3>
<p style="padding-left: 30px;">20100124:(2 Files, 158 Lines)</p>
<p style="padding-left: 30px;">20100127:(2 Files, 233 Lines)</p>
<p style="padding-left: 30px;">20100128:(1 File, 96 Lines)</p>
<h2>Coding Lines</h2>
<h3>20100128</h3>
<p>Total: <strong>99</strong> Files,<strong>6418 </strong>Lines. <em>(Add 1 File, 96 Lines)</em></p>
<h3>20100127</h3>
<p>Total: <strong>98</strong> Files,<strong>6322 </strong>Lines. <em>(Add 2 Files, 233 Lines)</em></p>
<h3>20100124</h3>
<p>Total: <strong>96</strong> Files,<strong>6089 </strong>Lines. <em>(Add 2 Files, 158 Lines)</em></p>
<h3>20100121</h3>
<p>Total: <strong>94</strong> Files,<strong>5931 </strong>Lines. <em>(Add 1 File, 149 Lines)</em></p>
<h3>20100120</h3>
<p>Total: <strong>93</strong> Files,<strong>5782 </strong>Lines. <em>(Add 3 Files, 230 Lines)</em></p>
<h3>20100119</h3>
<p>Total: <strong>90</strong> Files,<strong>5552 </strong>Lines. <em>(Add 5 Files, 885 Lines)</em></p>
<h3>20100112</h3>
<p>Total: <strong>84</strong> Files,<strong>4667 </strong>Lines. <em>(Add 1 File, 55 Lines)</em></p>
<h3>20091105</h3>
<p>Total: <strong>83</strong> Files,<strong>4612 </strong>Lines. <em>(Add 1 File, 48 Lines)</em></p>
<h3>20091103</h3>
<p>Total: <strong>82</strong> Files,<strong>4564 </strong>Lines. <em>(Add 1 File, 120 Lines)</em></p>
<h3>20091102</h3>
<p>Total: <strong>81</strong> Files,<strong>4444 </strong>Lines. <em>(Add 2 Files, 111 Lines)</em></p>
<h3>20091101</h3>
<p>Total: <strong>79</strong> Files,<strong>4333 </strong>Lines. <em>(Add 1 File, 71 Lines)</em></p>
<h3>20091029</h3>
<p>Total: <strong>78</strong> Files,<strong>4262 </strong>Lines. <em>(Add 4 Files, 221 Lines)</em></p>
<h3>20091028</h3>
<p>Total: <strong>74</strong> Files,<strong>4041 </strong>Lines. <em>(Add 2 Files, 137Lines)</em></p>
<h3>20091025</h3>
<p>Total: <strong>72</strong> Files,<strong>3904 </strong>Lines. <em>(Add 2 Files, 171 Lines)</em></p>
<h3>20091021</h3>
<p>Total: <strong>70</strong> Files,<strong>3733 </strong>Lines. <em>(Add 2 Files, 111 Lines)</em></p>
<h3>20091020</h3>
<p>Total: <strong>68</strong> Files,<strong>3622 </strong>Lines. <em>(Add 1 File, 49 Lines)</em></p>
<h3>20091019</h3>
<p>Total: <strong>67</strong> Files,<strong>3573 </strong>Lines. <em>(Add 1 File, 57 Lines)</em></p>
<h3>20091018</h3>
<p>Total: <strong>66</strong> Files,<strong>3516 </strong>Lines. <em>(Add 3 Files, 360 Lines)</em></p>
<h3>20091017</h3>
<p>Total: <strong>63</strong> Files,<strong>3156 </strong>Lines. <em>(Add 1 File, 98 Lines)</em></p>
<h3>20091016</h3>
<p>Total: <strong>62</strong> Files,<strong>3058 </strong>Lines. <em>(Add 5 Files, 296 Lines)</em></p>
<h3>20091015</h3>
<p>Total: <strong>57</strong> Files,<strong>2762 </strong>Lines. <em>(Add 4 Files, 176 Lines)</em></p>
<h3>20091012</h3>
<p>Total: <strong>53</strong> Files,<strong>2586 </strong>Lines. <em>(Add 2 Files, 100 Lines)</em></p>
<h3>20091007</h3>
<p>Total: <strong>51</strong> Files,<strong>2486 </strong>Lines. <em>(Add 1 File, 49 Lines)</em></p>
<h3>20091006</h3>
<p>Total: <strong>50</strong> Files,<strong>2437 </strong>Lines. <em>(Add 1 File, 158 Lines)</em></p>
<h3>20091004</h3>
<p>Total: <strong>49</strong> Files,<strong>2279 </strong>Lines. <em>(Add 2 Files, 107 Lines)</em></p>
<h3>20091003</h3>
<p>Total: <strong>47</strong> Files,<strong>2172 </strong>Lines. <em>(Add 2 Files, 97 Lines)</em></p>
<h3>20091002</h3>
<p>Total: <strong>45</strong> Files,<strong>2075 </strong>Lines. <em>(Add 2 Files, 101 Lines)</em></p>
<h3>20091001</h3>
<p>Total: <strong>43</strong> Files,<strong>1974 </strong>Lines. <em>(Add 2 Files, 75 Lines)</em></p>
<h3>20090930</h3>
<p>Total: <strong>41</strong> Files,<strong>1899 </strong>Lines. <em>(Add 3 Files, 148 Lines)</em></p>
<h3>20090926</h3>
<p>Total: <strong>38</strong> Files,<strong>1751 </strong>Lines. <em>(Add 4 Files, 159 Lines)</em></p>
<h3>20090923</h3>
<p>Total: <strong>34</strong> Files,<strong>1592 </strong>Lines. <em>(Add 4 Files, 164 Lines)</em></p>
<h3>20090922</h3>
<p>Total: <strong>30</strong> Files,<strong>1428 </strong>Lines. <em>(Add 2 Files, 146 Lines)</em></p>
<h3>20090919</h3>
<p>Total: <strong>28</strong> Files,<strong>1282 </strong>Lines. <em>(Add 1 File, 54 Lines)</em></p>
<h3>20090917</h3>
<p>Total: <strong>27</strong> Files,<strong>1228</strong> Lines. <em>(Add 2 Files, 269 Lines)</em></p>
<h3>20090915</h3>
<p>Total: <strong>25</strong> Files,<strong>959</strong> Lines. <em>(Add 1 File, 70 Lines)</em></p>
<h3>20090914</h3>
<p>Total: <strong>24</strong> Files,<strong>889</strong> Lines. <em>(Add 5 Files, 393 Lines)</em></p>
<h3>20090912</h3>
<p>Total: <strong>19</strong> Files,<strong>496</strong> Lines. <em>(Add 1 File, 24 Lines)</em></p>
<h3>20090911</h3>
<p>Total: <strong>18</strong> Files,<strong>472</strong> Lines. <em>(Add 8 Files, 178 Lines)</em></p>
<h3>20090909</h3>
<p>Total: <strong>10</strong> Files,<strong>294</strong> Lines. <em>(Add 4 Files, 151 Lines)</em></p>
<h3>20090908</h3>
<p>Total: <strong>6</strong> Files, <strong>143</strong> Lines. <em>(Add 6 Files, 143 Lines)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/learning-opencv/">Permalink</a> |
<a href="http://meiyou.org/2009/09/learning-opencv/#comments">21 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/learning-opencv/&title=Learning OpenCV">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/opencv/" rel="tag">OpenCV</a>, <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/learning-opencv/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>The C++ Programming language</title>
		<link>http://meiyou.org/2009/09/the-c-plus-plus-programming-language/</link>
		<comments>http://meiyou.org/2009/09/the-c-plus-plus-programming-language/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 13:56:08 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[大二]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[程序设计]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1077</guid>
		<description><![CDATA[重新学习C++,一方面是因为这本书的魅力,再有就是想编写一些不依靠虚拟机的应用程序,可以直接在Windows下运行.
所以,重新拿起这本<C++程序设计语言>(特别版 影印版)开始C++的学习!]]></description>
			<content:encoded><![CDATA[<h2>What New?</h2>
<h3>20090921</h3>
<p>Coding something is better than NOTHING!</p>
<h3>20090902</h3>
<p>The first day I read the book, not very easy!</p>
<h2>Coding Every Day</h2>
<h3><em>Introductory Material</em></h3>
<h3 style="padding-left: 30px;">Chapter 1: Notes to the Reader</h3>
<p style="padding-left: 30px;">20090902:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 2: A Tour of C++</h3>
<p style="padding-left: 30px;">20090921:(1 File, 55 Line)</p>
<h2>Coding Lines</h2>
<h3>20090921</h3>
<p>Total: <strong>1</strong> File, <strong>55</strong> Line.<em>(Added 1 File, 55 Line)</em></p>
<h3>20090902</h3>
<p>Total: <strong>0</strong> File, <strong>0</strong> Line.<strong><em>(First Day!)</em></strong></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/the-c-plus-plus-programming-language/">Permalink</a> |
<a href="http://meiyou.org/2009/09/the-c-plus-plus-programming-language/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/the-c-plus-plus-programming-language/&title=The C++ Programming language">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/sophomore/" rel="tag">大二</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/the-c-plus-plus-programming-language/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaScript &#8211; The Definitive Guide &#8211; Learning Notes</title>
		<link>http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/</link>
		<comments>http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 13:35:45 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=1071</guid>
		<description><![CDATA[听说这本"JavaScript权威指南"是学习JS比较好的教材,于是买来学习,希望可以提高页面的动态效果!]]></description>
			<content:encoded><![CDATA[<h2>Coding Every Day</h2>
<h3><em>Preface</em></h3>
<h3 style="padding-left: 30px;">Chapter 1: Introduction to JavaScript</h3>
<p style="padding-left: 30px;">20090902:(4 Files, 93 Lines)</p>
<h3><em>Part I. Core JavaScript</em></h3>
<h3 style="padding-left: 30px;">Chapter 2: Lexical Structure</h3>
<p style="padding-left: 30px;">20090902:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 3: Datatypes and Values</h3>
<p style="padding-left: 30px;">20090904:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20090905:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 4: Variables</h3>
<p style="padding-left: 30px;">20090906:(0 File, 0 Line)</p>
<h2>Coding Lines</h2>
<p><strong>20090902</strong></p>
<p>Total: <strong>4</strong> Files, <strong>93</strong> Lines. <em>(Add 4 Files, 93 Lines)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/">Permalink</a> |
<a href="http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/&title=JavaScript &#8211; The Definitive Guide &#8211; Learning Notes">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/09/javascript-the-definitive-guide-learning-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP and MySQL Web Development Learning Notes(0831 Update)</title>
		<link>http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/</link>
		<comments>http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 04:04:30 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[编程实践]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=769</guid>
		<description><![CDATA[因为最近快要4级考试了,不学英语已经是不行了,而且暑假我准备学习一下PHP语言和MySQL数据库,做一个网站.所以还是现在就预习一下.我从网上查了查,这本书在Amazon的排名还是比较靠前的.

既然如此,那就开始学习过程了.我把PDF格式的文件拿到东区去打印(不贵,每张0.1元,还可以接受),一次也不多打,一章的内容吧,现在看的第一章是45页.

看英文原版的东西就感觉自己的英文水平真的是差了很多,要不是这本书是我们的专业书籍,还好理解一些,生词有,但是不太多.刚开始应该会较多的出现,但是估计以后会渐渐变少吧.]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-770 alignleft" title="PHP and MySQL Web Development Cover" src="http://meiyou.org/wp-content/uploads/2009/06/meiyou.org-PHP-and-MySQL-Web-Development-497x640.jpg" alt="PHP and MySQL Web Development Cover" width="209" height="269" />因为最近快要4级考试了,不学英语已经是不行了,而且暑假我准备学习一下PHP语言和MySQL数据库,做一个网站.所以还是现在就预习一下.我从网上查了查,这本书在<a title="PHP and MySQL Web Development (4th Edition) (Developer's Library) (Paperback)" href="http://www.amazon.com/PHP-MySQL-Development-Developers-Library/dp/0672329166/ref=pd_ts_b_1?ie=UTF8&amp;s=books">Amazon</a>的排名还是比较靠前的.</p>
<p>既然如此,那就开始学习过程了.我把PDF格式的文件拿到东区去打印(不贵,每张0.1元,还可以接受),一次也不多打,一章的内容吧,现在看的第一章是45页.</p>
<p>看英文原版的东西就感觉自己的英文水平真的是差了很多,要不是这本书是我们的专业书籍,还好理解一些,生词有,但是不太多.刚开始应该会较多的出现,但是估计以后会渐渐变少吧.</p>
<p>其实就像<a title="刘未鹏 | Mind Hacks" href="http://mindhacks.cn/">刘未鹏</a>老师那样,看英文书籍资料比看中文书籍还要方便或者说更容易接受,是需要个过程的,所以趁这个机会还是要逐渐提高的英文水平,有机会也可以尝试用英文来进行写作,但是就像该才所说的那样,关键是要有这个过程,&#8221;人不是一生下来就可以会英语的&#8221;,呵呵.努力吧.</p>
<h2>编程随想</h2>
<h3>20090831</h3>
<p>Completed the whole book!</p>
<p><strong>Congratulations!</strong></p>
<h3>20090810</h3>
<p>Update the result of coding lines what is complated in 08/08.</p>
<h3>20090806</h3>
<p>Finished a Chpater : 31 Building Web Forumss</p>
<h3>20090805</h3>
<p>Today I have little time to see my &#8220;PHP&#8221;, so just type a little.</p>
<h3>20090804</h3>
<p>Total, Normal, Error</p>
<h3>20090803</h3>
<p>Normal</p>
<h3>20090802</h3>
<p>Finished the chapter 28 what using my whole day.</p>
<h3>20090801</h3>
<p>The whole day I did not compalete one chapter, WHY?</p>
<h3>20090731</h3>
<p>Build a database sketch for Express Management System.</p>
<h3>20090730</h3>
<p>The first &#8220;really&#8221; project I begin to creating.</p>
<h3>20090729</h3>
<p>Besides PHP ,I typed some C# code today.I also print the Part V of the book.</p>
<h3>20090728</h3>
<p>Up to 512p.</p>
<h3>20090727</h3>
<p>Nothing to say.Just do it on the way.</p>
<h3>20090726</h3>
<p>Today I have typed a lot &#8220;code&#8221;, but it is not a bad feel.</p>
<p>It tell me to work harder than NOW!</p>
<h3>20090725</h3>
<p>Have time to do work, feel very well!</p>
<h3>20090723</h3>
<p>I find my English is very poor, as I read the PART III of the book.</p>
<h3>20090722</h3>
<p>Because this days I&#8217;m so buzy, so I have no time to update this article.</p>
<h3>20090719</h3>
<p>Finished Chapter 11,but I could not install PEAR successfully. Try again can help me? I don&#8217;t know.</p>
<h3>20090718</h3>
<p>Finished Chapter 10.</p>
<h3>20090717</h3>
<p>Finished Chapter 9.</p>
<h3>20090716</h3>
<p>I did not type anything for the eighth chapter have no coding list. Readed to 218p.</p>
<h3>20090715</h3>
<p>Chapter 7: Error and Exception Handing finished,so Part One: Using PHP finished!</p>
<p>Congratulations for myself!</p>
<h3>20090713</h3>
<p>Chapter 06 Object-Oriented PHP 搞定.至191页.</p>
<h3>20090712</h3>
<p>前几天又在东区打印了一些章节,打印到了第二部分MySQL,准备在暑期看.</p>
<p>今天看了Chapter06,至168页.</p>
<h3>20090629</h3>
<p>在家的最后一天,也应该把回来带的那个PHP看完吧.呵呵,我是抱着看完的心态完成的.至158页.</p>
<h3>20090627</h3>
<p>事隔多日,重返PHP阵营.写一些,测一些,学一些,会一些.</p>
<h3>20090624</h3>
<p>在家,无趣,看看PHP解闷.把Chapter 4: String Manipulation and Regular Expressions看完了.还行,看到131页.</p>
<p>其实,感觉没有学习数据库MySQL,这些基础的PHP知识距离实际应用还是有差距的.</p>
<h3>20090619</h3>
<p>虽然明天就是4级考试,但是一天我也没有看4级题什么的.而是看我的PHP,看到116页.</p>
<h3>20090618</h3>
<p>昨天忙,看了,但是没有记录.今天把Chapter 3:Using Array看完了,到106页.并把本章的内容敲了一下.</p>
<p>下午去东区把第四章和第五章打印了一下,不过由于现在是毕业论文打印高峰期,每张纸已经涨到了1.5角了.较贵.</p>
<h3>20090616</h3>
<p>今天的效率不太高,没有看多少内容,看到了99页,估计明天就可以把Chapter 3 Using Arrays看完.</p>
<p>主要看了看数组在PHP中的使用,和其他的语言没有太大差别,小的差别有,但是不太明显.</p>
<h3>20090615</h3>
<p>估计今天是我看的页数最多的一天了,看到了80页,把Chapter 2 Storing and Retrieving Data看完了,主要讲的是文件的是使用.但是我感觉既然学习了PHP,主要就应该是用数据库,比如MySQL什么的.</p>
<h3>20090614</h3>
<p>今天看到了51页, 总体感觉PHP和C的关系实在是太紧密了.好似完全的抄袭,呵呵.Web版C?</p>
<h3>20090612</h3>
<p>昨天看到了27页,本来准备是把之前的生词全部查一遍,然后再回顾一下,但是直到熄灯也没有完成,只好在今天上午弄完了.</p>
<h2>代码编写</h2>
<h3><strong><em>PART I &#8211; Using PHP</em></strong></h3>
<h3 style="padding-left: 30px;">Chapter 1: PHP Crash Course</h3>
<p style="padding-left: 30px;">20090611:(2 Files, 68 Lines)</p>
<p style="padding-left: 30px;">20090614:(2 Files, 157 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 2: Storing and Retrieving Data</h3>
<p style="padding-left: 30px;">20090615:(7 Files, 241 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 3: Using Arrays</h3>
<p style="padding-left: 30px;">20090616:(2 Files, 50 Lines)</p>
<p style="padding-left: 30px;">20090618:(2 Files, 202 Lines)</p>
<h3 style="padding-left: 30px;"><strong>Chapter 4:String Manipulation and Regular Expressions</strong></h3>
<p style="padding-left: 30px;">20090619:(3 Files, 63 Lines)</p>
<p style="padding-left: 30px;">20090624:(1 File, 5 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 5:Reusing Code and Writing Functions</h3>
<p style="padding-left: 30px;">20090627:(5 Files, 85 Lines)</p>
<p style="padding-left: 30px;">20090628:(2 FIles, 140 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 6: Object-Oriented PHP</h3>
<p style="padding-left: 30px;">20090712:(1 File, 36 Lines)</p>
<p style="padding-left: 30px;">20090713:(8 Files, 296 LInes)</p>
<h3 style="padding-left: 30px;">Chapter 7: Error and Exception Handing</h3>
<p style="padding-left: 30px;">20090715:(5 Files, 146 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 8: Designing Your Web Database</h3>
<p style="padding-left: 30px;">20090716:(0 File, 0 Lines)</p>
<h3><em><strong>PART II &#8211; Using MySQL</strong></em></h3>
<h3 style="padding-left: 30px;">Chapter 9:Creating Your Web Database</h3>
<p style="padding-left: 30px;">20090717:(1 File, 33 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 10: Working with Your MySQL Database</h3>
<p style="padding-left: 30px;">20090718:(1 File, 26 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 11: Accessing Your MySQL Database from the Web with PHP</h3>
<p style="padding-left: 30px;">20090719:(5 Files, 177 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 12: Advanced MySQL Administration</h3>
<p style="padding-left: 30px;">20090720:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20090721:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 13: Advanced MySQL Programming</h3>
<p style="padding-left: 30px;">20090722:(4 Files, 49 Lines)</p>
<h3><em><strong>PART III &#8211; E-commerce and Security</strong></em></h3>
<h3 style="padding-left: 30px;">Chapter 14: Running an E-commerce Site</h3>
<p style="padding-left: 30px;">20090722:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 15: E-commerce Security Issues</h3>
<p style="padding-left: 30px;">20090723:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 16: Web Application Security</h3>
<p style="padding-left: 30px;">20090724:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20090725:(0 File, 0 Line)</p>
<h3 style="padding-left: 30px;">Chapter 17: Implementing Authentication with PHP and MySQL</h3>
<p style="padding-left: 30px;">20090725:(6 File, 98 Line)</p>
<p style="padding-left: 30px;">20090726:(X File, X Line)</p>
<h3 style="padding-left: 30px;">Chapter 18: Implementing Secure Transactions with PHP and MySQL</h3>
<p style="padding-left: 30px;">20090726:(X File, X Line)</p>
<h3><strong><em>PART IV &#8211; Advanced PHP Techniques</em></strong></h3>
<h3 style="padding-left: 30px;">Chapter 19: Interacting with the File System and the Server</h3>
<p style="padding-left: 30px;">20090726:(+X+X)(16 Files, 304 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 20:Using Network and Protocol Functions</h3>
<p style="padding-left: 30px;">20090727:(X Files, X Lines)</p>
<h3 style="padding-left: 30px;">Chapter 21: Managing the Date and Time</h3>
<p style="padding-left: 30px;">20090727:(X Files, X Lines)</p>
<h3 style="padding-left: 30px;">Chapter 22: Generating Images</h3>
<p style="padding-left: 30px;">20090727:(+X+X)(8 Files, 208 Lines)</p>
<p style="padding-left: 30px;">20090728:(5 Files, 176 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 23: Using Session Control in PHP</h3>
<p style="padding-left: 30px;">20090728:(0 File, 0 Line)</p>
<p style="padding-left: 30px;">20090729:(X File, X Line)</p>
<h3 style="padding-left: 30px;">Chapter 24: Other Useful Features</h3>
<p style="padding-left: 30px;">20090729:(X File, X Line)</p>
<h3><strong><em>PART V &#8211; Building Practical PHP and MySQL Projects<br />
</em></strong></h3>
<h3 style="padding-left: 30px;">Chapter 25: Using PHP and MySQL for Large Projects</h3>
<p style="padding-left: 30px;">20090729:(+X+X)(9 Files, 125 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 26: Debugging</h3>
<p style="padding-left: 30px;">20090730:(2 Files, 47 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 27: Building Authentication and Personalization</h3>
<p style="padding-left: 30px;">20090730:(11 Files, 276 Lines)</p>
<p style="padding-left: 30px;">20090731:(9 Files, 459 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 28: Building a Shopping Cart</h3>
<p style="padding-left: 30px;">20090801:(13 Files, 455 Lines)</p>
<p style="padding-left: 30px;">20090802:(18 Files, 922 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 29: Building a Web-Based Email Service</h3>
<p style="padding-left: 30px;">20090803:(8 Files, 804 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 30: Building a Mailing List Manager</h3>
<p style="padding-left: 30px;">20090804:(5 Files, 442 Lines)</p>
<p style="padding-left: 30px;">20090805:(2 Files, 321 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 31 Building Web Forums</h3>
<p style="padding-left: 30px;">20090806:(7 Files, 315 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 32 Generating Personalized PDF Documents</h3>
<p style="padding-left: 30px;">20090807:(4 Files, 186 Lines)</p>
<p style="padding-left: 30px;">20090808:(3 Files, 223 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 33 Connecting to Web Services with XML and SOAP</h3>
<p style="padding-left: 30px;">20090828:(X Files, X Lines)</p>
<p style="padding-left: 30px;">20090829:(+X)(6 Files, 271 Lines)</p>
<h3 style="padding-left: 30px;">Chapter 34 Building Web 2.0 Applications with Ajax</h3>
<p style="padding-left: 30px;">20090830:(X Files, X Lines)</p>
<p style="padding-left: 30px;">20090831:(+X)(12 Files, 603 Lines)</p>
<h2>行数统计</h2>
<h3>20090831</h3>
<p>Total: <strong>195</strong> Files,<strong> 8009 </strong>Lines.<em>(Add 18 Files, 874 Lines)</em></p>
<h3>20090808</h3>
<p>Total: <strong>177</strong> Files,<strong> 7135 </strong>Lines.<em>(Add 3 Files, 223 Lines)</em></p>
<h3>20090807</h3>
<p>Total: <strong>174</strong> Files,<strong> 6912 </strong>Lines.<em>(Add 4 Files, 186 Lines)</em></p>
<h3>20090806</h3>
<p>Total: <strong>170</strong> Files,<strong> 6726 </strong>Lines.<em>(Add 7 Files, 315Lines)</em></p>
<h3>20090805</h3>
<p>Total: <strong>163</strong> Files,<strong> 6411 </strong>Lines.<em>(Add 2 Files, 321Lines)</em></p>
<h3>20090804</h3>
<p>Total: <strong>161</strong> Files,<strong> 6090 </strong>Lines.<em>(Add 5 Files, 442 Lines)</em></p>
<h3>20090803</h3>
<p>Total: <strong>156</strong> Files,<strong> 5648 </strong>Lines.<em>(Add 8 Files, 804 Lines)</em></p>
<h3>20090802</h3>
<p>Total: <strong>148</strong> Files,<strong> 4844 </strong>Lines.<em>(Add 18 Files, 922 Lines)</em></p>
<h3>20090801</h3>
<p>Total: <strong>130</strong> Files,<strong> 3922 </strong>Lines.<em>(Add 13 Files, 455 Lines)</em></p>
<h3>20090731</h3>
<p>Total: <strong>117</strong> Files, <strong>3467 </strong>Lines.<em>(Add 9 Files, 459 Lines)</em></p>
<h3>20090730</h3>
<p>Total: <strong>108</strong> Files.<strong>3008 </strong>Lines.<em>(Add 13 Files, 323 Lines)</em></p>
<h3>20090729</h3>
<p>Total: <strong>95</strong> Files.<strong>2685 </strong>Lines.<em>(Add 9 Files, 125 Lines)</em></p>
<h3>20090728</h3>
<p>Total: <strong>86</strong> Files.<strong>2560 </strong>Lines.<em>(Add 5 Files, 176 Lines)</em></p>
<h3>20090727</h3>
<p>Total: <strong>81</strong> Files.<strong>2384 </strong>Lines.<em>(Add 8 Files, 208 Lines)</em></p>
<h3>20090726</h3>
<p>Total: <strong>73</strong> Files. <strong>2176 </strong>Lines.<em>(Add 16 Files, 304 Lines)</em></p>
<h3>20090725</h3>
<p>Total: <strong>57</strong> Files. <strong>1872</strong> Lines.<em>(Add 6 Files, 98 Lines)</em></p>
<h3>20090722</h3>
<p>Total: <strong>51</strong> Files. <strong>1774</strong> Lines.<em>(Add 4 Files, 49 Lines)</em></p>
<h3>20090719</h3>
<p>Total:<strong> 47</strong> Files, <strong>1725</strong> Lines.<em>(Add 5 Files, 177 Lines)</em></p>
<h3>20090718</h3>
<p>Total:<strong> 42</strong> Files, <strong>1548</strong> Lines.<em>(Add 1 File, 26 Lines)</em></p>
<h3>20090717</h3>
<p>Total:<strong> 41</strong> Files, <strong>1522</strong> Lines.<em>(Add 1 File, 33 Lines)</em></p>
<h3>20090715</h3>
<p>Total:<strong> 40</strong> Files, <strong>1489</strong> Lines.<em>(Add 5 Files, 146 Lines)</em></p>
<h3>20090713</h3>
<p>Total:<strong> 35</strong> Files, <strong>1343</strong> Lines.<em>(Add 8 Files, 296 Lines)</em></p>
<h3>20090712</h3>
<p>Total: <strong>27</strong> Files, <strong>1047</strong> Lines.<em>(Add 1 File, 36 Lines)</em></p>
<h3>20090629</h3>
<p>Total: <strong>26</strong> Files, <strong>1011</strong> Lines.<em>(Add 2 Files, 140 Lines)</em></p>
<h3>20090627</h3>
<p>Total: <strong>24</strong> Files, <strong>871</strong> Lines.<em>(Add 5 Files, 85 Lines)</em></p>
<h3>20090624</h3>
<p>Total: <strong>19</strong> Files, <strong>786</strong> Lines.(Add 1 File, 5 Lines)</p>
<h3>20090619</h3>
<p>Total: <strong>18</strong> Files, <strong>781</strong> Lines.(Add 3 Files, 63 Lines)</p>
<h3>20090618</h3>
<p>Total: <strong>15</strong> Files, <strong>718</strong> Lines.(Add 2 Files, 202 Lines)</p>
<h3>20090616</h3>
<p>Total: 13 Files, 516 Lines.(Add 2 Files, 50 Lines)</p>
<h3>20090615</h3>
<p>Total: 11 Files, 466 Lines.(Add 7 Files, 241 Lines)</p>
<h3>20090614</h3>
<p>Total: 4 Files, 225 Lines.(Add 2 Files, 157 Lines)</p>
<h3>20090611</h3>
<p>Total: 2 Files, 68 Lines.(Add 2 Files, 68 Lines)</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/">Permalink</a> |
<a href="http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/&title=PHP and MySQL Web Development Learning Notes(0831 Update)">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/php/" rel="tag">PHP</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/06/php-and-mysql-web-development-learning-notes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>《少年维特的烦恼》读后感</title>
		<link>http://meiyou.org/2009/05/the-sorrows-of-young-werther/</link>
		<comments>http://meiyou.org/2009/05/the-sorrows-of-young-werther/#comments</comments>
		<pubDate>Tue, 05 May 2009 09:56:40 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[书摘]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=607</guid>
		<description><![CDATA[有朋友推荐看一下《少年维特的烦恼》,于是就从图书馆借了一本书.由于平时时间比较紧,一直也没有看完,虽然内容不算多,但前后花了将近一个星期,刚看完,写一下读后感吧.]]></description>
			<content:encoded><![CDATA[<p><a href="http://meiyou.org/wp-content/uploads/2009/05/e5b091e5b9b4e7bbb4e789b9e79a84e783a6e681bc.jpg"><img class="size-medium wp-image-616 alignleft" title="少年维特的烦恼-封面" src="http://meiyou.org/wp-content/uploads/2009/05/e5b091e5b9b4e7bbb4e789b9e79a84e783a6e681bc-435x640.jpg" alt="少年维特的烦恼-封面" width="206" height="305" /></a></p>
<p>有朋友推荐看一下《少年维特的烦恼》,于是就从<a title="长春理工大学图书馆" href="http://lib.cust.edu.cn/">图书馆</a>借了<a title="长春理工大学图书馆-少年维特之烦恼 / (德)歌德著 林惠瑟译" href="http://210.47.0.174:8080/opac/item.php?marc_no=0000115710">一本书</a>.由于平时时间比较紧,一直也没有看完,虽然内容不算多,但前后花了将近一个星期,刚看完,写一下读后感吧.</p>
<h3>书摘:</h3>
<p>我最亲爱的,要是您能看到,就会知道,我心绪不定,神情恍惚,这股狂澜把我淹没了!我的心神智完全枯竭了!我的心没有片刻的充实,也没有片刻的快乐!什么也没有!什么也没有!我像站在一架西洋镜前,看着小人小马在我眼前转来转去,我常常问自己,这是不是光学的骗局.我自己也在参加表演,更多的是像个木偶似的被人耍,有时候我握着旁边一个人的木手,吓得赶忙缩了回来.晚上,我打算欣赏日出,可就是起不来床;白天,我希望观赏月色,但又一直呆在房里.我真不明白,我为什么起床,又为什么睡觉.</p>
<p>使我的生活活跃起来的酵母没有了;使我深夜里仍然精神饱满的魅力消失了;早晨把我从沉睡中唤醒的诱惑力也荡然无存了.[MY]</p>
<p>这帮傻瓜,他们看不到,位置其实是没有什么关心的,做首席的很少是第一号角色!正如有多少国王是通过他们的大臣来统治的,多少大臣又是通过他们的秘书来统治的!谁是第一号人物呢?窃以为是那个眼光过人,又拥有很大权力或工于心计,能把别人的力量和热情用来实现自己计划的人.[MY]</p>
<p>亲爱的朋友,我日益清楚地觉察到,以己之心去度他人之腹是多么愚蠢.我自己的事还忙不过来,心情又是如此激荡,&#8211;唉,我乐得让别人走他们自己的路,只要他们也能让我走我自己的路.[MY]</p>
<p>&#8220;故世的亲人是否知道,是否感觉得到,我们幸福的时候总是怀着温馨的爱追念他们呢?&#8221;她继续说下去道:&#8221;哦!当静静的夜晚坐在妈妈的孩子中间,他们围着我,就像当年围着妈妈一样,每当这时,母亲的身影就会浮现在我的眼前.我含着思慕的眼泪仰望天空,但愿她能往屋里看上一眼,看看我是如何向她许下的这个诺言的:当她的孩子的妈妈.我深情的呼喊:&#8217;倘若他们觉得,我对他们的关心不及你对他们那么周到,那就请你原谅我,最最亲爱的妈妈!哦,我一定做我力所能及的一起,给他们穿好吃好,还有,比这些更重要的是,给他们<strong>关怀和爱</strong>.你看,我们相处的多么和睦,亲爱的圣洁的妈妈!你一定会怀着最热烈的感激之情赞美上帝,赞美你含着最后的痛苦的泪水祈求他保佑你的孩子的主.&#8217;&#8221;[MY]</p>
<p>这时月光映照在山毛榉墙尽头的这个坡台上,她让我们注意欣赏月光的魅力:这景色真美,因为我们四周围都笼罩在朦胧的幽暗之中,因此那月光辉映之处就越发显得绚丽夺目.我们都没有说话,过了一会儿她先开始说:&#8221;我每次在月光下散步总会想起故世的亲人,死亡,未来等问题总会袭上我的心头.我们都是要死的!&#8221;她接着又说,声音里充满壮美的感情:&#8221;可是,维特,我们死后还会冲锋吗?会重新认得出来吗?您怎么想?你怎么说?&#8221;[MY]</p>
<p>我千百次地吻着蝴蝶结,每次呼吸都将种种幸福的回忆啜入心田,于是我便沉浸在幸福的日子里.这样的日志只有不多几天,现在已经一去不复返了.威廉呀!事情就是这样,我不抱怨,生命之花只不过是幻象!多少花朵凋谢了,没有留下一点痕迹,结了果的寥寥无几,而果实能成熟的就更是稀少!不过,世上的果实还是足够的;可是,我的兄弟呀,对于这些熟果难道我们可以不加理会,可以瞧不起,可以不去享受而任其烂掉吗?[MY]</p>
<p>八月二十一日</p>
<p>清晨,我从噩梦中醒来,向她伸出双臂,结果是竹篮打水;夜里,一个幸福无邪的梦捉弄了我,仿佛我在草地上坐在她的身边,握着她的手,印上千百个吻,随后我在床上找她时,又是海底捞月.唉,我在半睡半醒中昏昏聩聩地向她摸索,摸了一阵子就完全清醒了.&#8211;<strong>一股泪流从我压抑的心中迸涌而出,面对昏暗的前程,我绝望地哭了.</strong>[MY]</p>
<p>可怜的傻瓜!你把一切都看得如此微不足道,因为你自己就那么渺小.[MY]</p>
<p>我们总是愿意接受第一个印象,人生来就是这样,最最荒诞不经的事你也可以使他信以为真,并且立即记得牢牢的,谁要想重新把它推翻或者抹掉,谁就是在自找麻烦![MY]</p>
<p>我生平最讨厌的莫过于人与人之间相互折磨,尤其是风华正茂的年轻人,本可以胸怀坦荡地尽情快乐,可是他们却彼此拿一些无聊 的蠢事把不多几天的好日子都糟蹋掉,等到意识到浪费的光阴已经无法弥补时,已经太晚了.[MY]</p>
<p>7月26日</p>
<p>我下了很多次决心,决定不再那么常去看她,但是一个人如果真的能够坚持决心就好了!我每天都屈服于诱惑,并且相当郑重其事地对自己承诺,我明天一定要远离她.但是,当明天来临,我又会发现一些无法拒抗的理由让自己去找她,不及细想,早已又在她身边了.[MY]</p>
<p>然而,对于一个长年备受病痛折磨,生命逐渐耗尽的人,你能有什么要求呢?你能要求他给自己一刀,毅然了结悲惨的生命吗?病魔除了在耗尽他的体力之外,不也同时在摧残他让自己远离病魔所需要的勇气吗?[MY]</p>
<p>我走出城门,沿着第一次去接绿蒂参加舞会的那条路走时,感觉到人事已非!所有一切都过去了!过去的痕迹早已消失得无影无踪,过去的情感连一个心跳声也没有留下.[MY]</p>
<p><strong>我拥有了这么多,但是没有她,一切都会变得没有意义.</strong>[MY]</p>
<h3>读后感:</h3>
<p>很久没有完整的看完一部小说了,到大学这还是第一回,没有时间吗?不是的,是没有精力用在这方面,自己也不知道自己都在干些什么,都在想些什么,时间似乎过得很快,马上就要结束大一的生活了.真快.</p>
<p>维特,我感觉这个人确实有些浮躁,干什么事情也不能安心下来,就是&#8221;少年&#8221;吧.对社会的阴暗面排斥,而女主人公绿蒂也是处在两难的情景中,是放弃自己的丈夫投奔维特的怀抱,还是让维特彻底死心,放弃维特.她摇摆不定.确实,事物,并非只有黑白两面,往往人们总是处在事物的灰色地带.女人总是心软,怕伤害这个又怕伤害那个,从绿蒂和维特最后的那次见面就可以看出来,她听维特的朗诵,泪流满面,倍受感动,但,当维特深情的亲吻她的手时,她本能的缩了回去.当她的丈夫回到家,她又不敢给他提起这件事情.</p>
<p>她的内省在挣扎,但是,她最终还是选择渐渐疏远维特.</p>
<p>当维特感到这个世界已经不是他的世界,他的存在多余时,他选择了放弃,成全别人,只有这样才能结束他痛苦的挣扎.但,为什么他走不出去?看不到外面世界的美好?这也许就是爱情的盲目,深陷其中,不能自拔.</p>
<p>其实,两个人的关系就像是盒子,你在一个盒子里面看不到其他的盒子,自己以为这个盒子是最适合自己的,为什么?因为其实他的第一印象影响了他,越是他得不到的,他就会去最求,但,一旦他得到了,却了解到,和自己想象的不一样.为什么?</p>
<p><a title="盒子理论-Set us free.." href="http://mengqingmeng.l22.goodnic.net/read.php?265">一个盒子</a>,另一个盒子.那个是适合你的盒子?总要去自己找,远看,好像是适合自己的.但是,近看呢,跳进去呢.还是那个样子吗?</p>
<p>人们总是害怕一些不确定的东西,因为不知道,所以想知道.但是,想要知道,就要去知道.但是,怎么去知道.怎样跳出这个<a title="成熟的标志：更多地想“我有什么”而不是“我要什么”" href="http://www.xiaolai.net/index.php/archives/6407.html">怪圈</a>?</p>
<p>不知道.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/05/the-sorrows-of-young-werther/">Permalink</a> |
<a href="http://meiyou.org/2009/05/the-sorrows-of-young-werther/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/05/the-sorrows-of-young-werther/&title=《少年维特的烦恼》读后感">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/bookmark/" rel="tag">书摘</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/05/the-sorrows-of-young-werther/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《C#入门经典》学习记录(0603更新)</title>
		<link>http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/</link>
		<comments>http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 07:45:26 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[程序设计]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=426</guid>
		<description><![CDATA[今天我的书:<C#入门经典(中文第四版)>到货,一本书算下来85块一本.那就从今天开始C#之路.原来的算法导论看来只能搁浅了.因为人的精力毕竟是有限的,所以,还是应该把有限的精力放在应该用心的地方.既然加入了教育软件研究室,那就用心参加.好好学习吧.]]></description>
			<content:encoded><![CDATA[<h2>学习笔记</h2>
<h3>20090415</h3>
<p>今天我的书:&lt;<a title="C#入门经典(第4版) " href="http://www.amazon.cn/mn/detailApp?prodid=bkbk812686">C#入门经典(中文第四版)</a>&gt;到货,一本书算下来85块一本.那就从今天开始C#之路.原来的<a title="《算法导论》学习记录" href="http://meiyou.org/2009/03/introduction-to-algorithms/">算法导论</a>看来只能搁浅了.因为人的精力毕竟是有限的,所以,还是应该把有限的精力放在应该用心的地方.既然加入了<a title="在长春理工大学计算机研究所教育软件研究室学习体会" href="http://meiyou.org/2009/04/educational-software-research/">教育软件研究室</a>,那就用心参加.好好学习吧.</p>
<h3>20090416</h3>
<p>今天看到内容比较多,看到了第三章,但是有个问题摆在我的面前,怎样统计我编写的行数.以前一个程序都是自己从头到尾一点一点编写出来的,现在因为IDE比较高级,可以自动合成开始的那一部分,同时,现在的代码又非常的少.很难区分那个是自己编写的.</p>
<p>看来,现在我要在我编写的代码前面加上://20090416这样的标号,等以后有能力以后,自己编写一个程序用来查行数.这样比较可行.</p>
<p>因此,现在我的C#代码就先不统计了.</p>
<h3>20090419</h3>
<p>奋斗了一个晚上,终于在一边听歌,一边看文章,一边回复QQ群的情况下看完了C#的第4章:流程控制.累,等白天了再编写一下后面的练习.</p>
<p>不行了,休息一下.</p>
<p>&#8212;晚上更新&#8212;</p>
<p>今天添加了行数的统计,因为现在我生成了项目以后,会删除自动生成的部分.所以说代码都是我自己打的.虽然仅仅是对书上内容的&#8221;抄袭&#8221;,但是,打和不打绝对不一样最起码有个印象.</p>
<p>今天的统计代码包括以前的写的,今天实际编写了224行.共14个文件.</p>
<h3>20090421</h3>
<p>因为今天研究生考试占考场,所以今天有时间来看C#,敲代码,但是不知道为什么没有敲太多的代码,呵呵,耗费了一下午,不过,有些收获,知道了一些在C++中没有的特性,C#专有的特性.努力吧!</p>
<h3>20090422</h3>
<p>不知道为什么感觉今天所学的异常处理这块有点不明白,其实在学习C++的时候,就感觉异常处理这块有些难度,今天再看C#的相关部分,还是感觉有些迷惑.这一章讲的怎样在VS下对程序进行调试,才感觉到C#入门经典这本书不仅仅是讲C#的,就像它的英文书名:&lt;Begining Microsoft Visual C# 2008&gt;,其实这本书是讲在VS下的C#.</p>
<p>已经好久没有这样看着&#8221;图片&#8221;一步一步的分析,一步一步的学习了.感觉挺逗.</p>
<h3>20090423</h3>
<p>本来今天准备是艰难的完成第11章的内容,但是一天也没有倒出多少时间来学习这一章的内容,只看了部分.明天无论如何都要完成相关的任务.时间不多了.可要加油了!</p>
<h3>20090424</h3>
<p>为了完成今天的学习任务,同时也是为在最后期限前提交自己的代码,我在下午的英语课被老师逮了,当时我连书英语书都没有带,真是对不住老师了,真不好意思.</p>
<p>但,万幸,总算完成了这周的学习任务.虽然一周一直很紧张,但是,学到了很多知识,也是很有成就感.很好.</p>
<h3>20090428</h3>
<p>由于昨天没有时间看书,今天虽然说参加了一个诗歌朗诵会,但是还是学习了不少.完成了第八章,第九章和第十章部分.</p>
<h3>20090430</h3>
<p>就编写了一点点,实在是可怜的要紧.今天看的是泛型,有点迷惑反正.</p>
<h3>20090501</h3>
<p>今天总算看完了C#的第一部分:<strong>C#语言</strong>,主要讲的就是C#这门语言的一些内容,虽然随书编程还是没有完成,但是,能把书看完已经是相当吃力了.</p>
<p>但是,明天上午之前还要提交学习心得和代码,不知如何是好现在.</p>
<h3>20090516</h3>
<p>看了看Windows编程基础这一部分,挺有趣的,可视化真是一个大进步!不过还是尽量用纯手工敲代码比较好.</p>
<h3>20090517</h3>
<p>单手操作C#.</p>
<p>昨天对C# Windows编程的蔑视,今天看来并不简单.</p>
<h3>20090603</h3>
<p>昨天接触了一些asp.NET的东西,感觉C#真是威力强大,都把触角延伸到了Web编程上.</p>
<h2>统计信息</h2>
<h3>20090416</h3>
<p>学习章节数<strong>3</strong>,看到<strong>43</strong>页,编写<strong>5</strong>个Project.<em>(增加5个Project,看了33页)</em></p>
<h3>20090419</h3>
<p>学习章节数<strong>5</strong>,看到<strong>96</strong>页,编写<strong>20</strong>个Project,共<strong>296</strong>行.<em>(增加15个Project,共296行.看了53页)</em></p>
<h3>20090421</h3>
<p>学习章节数<strong>6</strong>,看到<strong>120</strong>页,编写<strong>31</strong>Project,共<strong>431</strong>行.<em>(增加11个Project,共135行,看了24页)</em></p>
<h3>20090422</h3>
<p>学习章节数<strong>7</strong>,看到<strong>146</strong>页,编写<strong>35</strong>Project,共<strong>545</strong>行.<em>(增加4个Project,共114行,看了26页)</em></p>
<h3>20090423</h3>
<p>学习章节数<strong>8</strong>,看到<strong>[225]</strong>页,编写<strong>39</strong>文件,共<strong>609</strong>行.<em>(增加4个文件,共64行,看了9页)</em></p>
<h3>20090424</h3>
<p>学习章节数<strong>8</strong>,看到<strong>[262]</strong>页,编写<strong>48</strong>文件,共<strong>804</strong>行.<em>(增加9个文件,共195行,看了37页)</em></p>
<h3>20090428</h3>
<p>学习章节数<strong>10</strong>,看到<strong>200</strong>页,编写<strong>55</strong>文件,共<strong>877</strong>行.<em>(增加7个文件,共73行,看了54页)</em></p>
<h3>20090430</h3>
<p>学习章节数<strong>12</strong>,看到<strong>293</strong>页,编写<strong>57</strong>文件,共<strong>897</strong>行.<em>(增加2个文件,共20行,看了93页)</em></p>
<h3>20090501</h3>
<p>学习章节数<strong>14</strong>,看到<strong>342</strong>页,编写<strong>65</strong>文件,共<strong>1015</strong>行.<em>(增加8个文件,共118行,看了49页)</em></p>
<h3>20090516</h3>
<p>学习章节数<strong>15</strong>,看到<strong>378</strong>页,编写<strong>69</strong>文件,共<strong>1178</strong>行.<em>(增加4个文件,共163行,看了36页)</em></p>
<h3>20090517</h3>
<p>学习章节数<strong>16</strong>,看到<strong>402</strong>页,编写<strong>73</strong>文件,共<strong>1320</strong>行.<em>(增加4个文件,共142行,看了24页)</em></p>
<h3>20090603</h3>
<p>学习章节数<strong>19</strong>,看到<strong>[509]</strong>页,编写<strong>75</strong>文件,共<strong>1358</strong>行.<em>(增加2个文件,共38行)</em></p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/">Permalink</a> |
<a href="http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/&title=《C#入门经典》学习记录(0603更新)">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/c/" rel="tag">C#</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/04/beginning-microsoft-visual-c-sharp-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>新概念英语第三册学习记录(0423更新)</title>
		<link>http://meiyou.org/2009/04/nce-developing-skills/</link>
		<comments>http://meiyou.org/2009/04/nce-developing-skills/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 13:25:25 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[NCE]]></category>
		<category><![CDATA[学习记录]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=416</guid>
		<description><![CDATA[中级水平的学生常常希望参加专业性的考试,如剑桥初级证书考试.现在有一种怪现象,即正规考试往往妨碍而不是有助于学生学习一门语言.但是,学习和考试并非一定是互相矛盾的:学生完全有可能在学习语言的同时,作好应试的准备.必须清醒地认识到:正规考试侧重于书面用语,如果把应付正规考试作为最终目标,那么必然对英语学习产生有害的影响.如果教师把自己所教的班能通过某种考试作为教学的唯一目的,他必然教不好语言.要永远把考试放在第二位,把它当成是学生在学习中顺理成章必然会取得的一种副产品,而决不能把它当成最终目的.一本中级水平的教材不仅应能使学生系统地学号英语,而且应使他无需专门的准备就能通过某种考试.]]></description>
			<content:encoded><![CDATA[<h2><em>每日一课</em></h2>
<h3><strong>20090407</strong></h3>
<p>Lesson 1 A puma at large 逃遁的美洲狮</p>
<h3><strong>20090408 &amp; 20090413</strong></h3>
<p>Lesson 2 Thirteen equals one 十三等于一</p>
<h3><strong>20090414</strong></h3>
<p>Lesson 3 An unknown goddess 无名女神</p>
<h3>20090416</h3>
<p>Lesson 5 The facts 确切数字</p>
<h3>20090420</h3>
<p>Lesson 8 A famous monastery 著名的修道院</p>
<h3>20090421</h3>
<p>Lesson 9 Flying cats 飞猫</p>
<h3>20090423</h3>
<p>Lesson 11 Not guilty 无罪</p>
<h2><em>每日感想</em></h2>
<h3><strong>20090414</strong></h3>
<p>可是说今天才正式进入学习新概念的状态,从网上下载了第三册所有的MP3音频,是一个<a title="21天免费精通新概念英语 V1.2" href="http://www.greendown.cn/soft/2904.html">教育软件</a>上带的.</p>
<p>以后也就计划每天学习一课,一方面是4级的压力,一方面是学习编程时看原版书的压力.</p>
<p>很欣赏这本新概念的&#8221;<em>致教师和学生</em>&#8220;:</p>
<p><em>中级水平的学生常常希望参加专业性的考试,如剑桥初级证书考试.现在有一种怪现象,即正规考试往往妨碍而不是有助于学生学习一门语言.但是,学习和考试并非一定是互相矛盾的:<strong>学生完全有可能在学习语言的同时,作好应试的准备.</strong>必须清醒地认识到:正规考试侧重于书面用语,如果把应付正规考试作为最终目标,那么必然对英语学习产生有害的影响.如果教师把自己所教的班能通过某种考试作为教学的唯一目的,他必然教不好语言.<strong>要永远把考试放在第二位,把它当成是学生在学习中顺理成章必然会取得的一种副产品,而决不能把它当成最终目的.一本中级水平的教材不仅应能使学生系统地学号英语,而且应使他无需专门的准备就能通过某种考试.</strong></em></p>
<p>但愿两个月后再来看这里的时候,我是完成我的这个计划的.加油!!!</p>
<h3>20090415</h3>
<p>今天困,上午没有学,下午游泳,然后就是没有听课的线性代数课(上课看的是C#入门经典),晚上是Java的上机,没有时间,真是没有时间.</p>
<p>所以,以后,尽量完成应该完成的,当时趴下,那下一次何时拾起书本就不知道了.就像C++中所说的,不要干未定义的事情.做一些尽可能在掌控之中的事情.So,Just Do It On Time!</p>
<h3>20090416</h3>
<p>再也不能像原先那样到最后再做了,今天也是起的比较晚,9点40才醒.所以就没有看NCE,本来准备把昨天的第4课补上,后来想,算了.以后如果没有完成当天的任务,就落下,等到周末再去补上.如果跟着补的话,会感到没有前途.丧失信心.</p>
<h3>20090419</h3>
<p>今天星期天,落下了太多的课程,白天在补吧.每周都要完成特定的任务,年轻人切忌浮躁.没有恒久的毅力,很难有大大成就.</p>
<p>还是,踏踏实实的学习吧!</p>
<h3>20090420</h3>
<p>今天上午就做完了今天的工作,上午的Java课还睡了一节课,被老师发现,下了课就上楼看书了.看来只用这样才能勉强完成任务.加油吧.</p>
<h3>20090421</h3>
<p>原本准备上午学习的内容,临时改到了晚上,晚自习学习了第九课,其实说实话,学过去以后印象不是太深,还要研究怎样使所学内容更充分吸收的策略.找找看吧.</p>
<h3>20090423</h3>
<p>本来准备下午上语音课的时候把11课做完,但是在看完上课放的人猿泰山2后就睡了,所以才在晚上做完,不过还行,总算是完成了今天的任务,不想昨天都没有看第10课.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/04/nce-developing-skills/">Permalink</a> |
<a href="http://meiyou.org/2009/04/nce-developing-skills/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/04/nce-developing-skills/&title=新概念英语第三册学习记录(0423更新)">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/nce/" rel="tag">NCE</a>, <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/04/nce-developing-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《算法导论》学习记录(暂停更新)</title>
		<link>http://meiyou.org/2009/03/introduction-to-algorithms/</link>
		<comments>http://meiyou.org/2009/03/introduction-to-algorithms/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 14:33:29 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[编程实践]]></category>
		<category><![CDATA[学习记录]]></category>
		<category><![CDATA[算法]]></category>
		<category><![CDATA[算法导论]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=167</guid>
		<description><![CDATA[原来为《C++ Primer》做了一个专门的日志,现在也为我的第一本购置的算法书籍建立一个专门页面用来与图书馆所借书籍的区别.从03月26号收到这本书开始,就要计划完成这本大部头了.
但是,由于很多原因,暂时收起这本书,开始专注于C#的学习.(20090416)]]></description>
			<content:encoded><![CDATA[<p>原来为《<a title="C++ Primer(中文第4版)" href="http://meiyou.org/2009/03/cpp-primer/" target="_blank">C++ Primer</a>》做了一个专门的日志,现在也为我的第一本购置的算法书籍建立一个专门页面用来与图书馆所借<a title="图书馆借的算法和数学类的书籍" href="http://meiyou.org/2009/03/arithmetic-notebook/" target="_blank">书籍</a>的区别.从03月26号收到这本书开始,就要计划完成这本大部头了.</p>
<h2>第一部分 基础知识</h2>
<h3>第1章 算法在计算中的应用</h3>
<p><strong>20090327</strong></p>
<p>今天是看这本书的第一天,把介绍算法的第一章看完了,不是很难,一共8页.很顺利完成.</p>
<h3>第2章 算法入门</h3>
<p><strong>20090329</strong></p>
<p>把第2章看了一看,这本书的确是讲的比较细致,说明的也完善,是本不错的算法书啊!</p>
<p><a rel="attachment wp-att-183" href="http://meiyou.org/2009/03/introduction-to-algorithms/20090329_insertion-sort-a/">20090329_insertion-sort-a.cpp</a>(38行)</p>
<p><strong>20090402</strong></p>
<p>把分治排序算法搞定:</p>
<p><a rel="attachment wp-att-257" href="http://meiyou.org/2009/03/introduction-to-algorithms/20090402-merge-sort-by-myself/">20090402-merge-sort-by-myself</a>(40行)</p>
<p>自己又做了一遍插入排序:</p>
<p><a rel="attachment wp-att-267" href="http://meiyou.org/2009/03/introduction-to-algorithms/20090402-insertion-sort-by-myself/">20090402-insertion-sort-by-myself</a>(28行)</p>
<p>晚上做的二分查找:</p>
<p><a rel="attachment wp-att-266" href="http://meiyou.org/2009/03/introduction-to-algorithms/20090402-binary-search/">20090402-binary-search</a>(71行)</p>
<p>Merge sort 的另一种方法:</p>
<p><a rel="attachment wp-att-270" href="http://meiyou.org/2009/03/introduction-to-algorithms/20090402-merge-sort-algorithm-with-another-array/">20090402-merge-sort-algorithm-with-another-array</a>(53行)</p>
<h2>第零部分 学习统计</h2>
<h3><strong>20090327</strong></h3>
<p>阅读章节数<strong>1</strong>,看到第<strong>8</strong>页,文件数<strong>0</strong>个,编程<strong>0</strong>行,实际用时<strong>1</strong>天.</p>
<h3><strong>20090329</strong></h3>
<p>阅读章节数<strong>2</strong>,看到第<strong>16</strong>页,文件数<strong>1</strong>个,编程<strong>38</strong>行,实际用时<strong>2</strong>天.</p>
<h3><strong>20090402</strong></h3>
<p>阅读章节数<strong>3</strong>,看到第<strong>28</strong>页,文件数<strong>5</strong>个,编程<strong>230</strong>行,实际用时<strong>3</strong>天.</p>
<h2>学习心得</h2>
<h3>20090416</h3>
<p>这几天一直没有看这本书,全都是因为参加了学校的计算机研究所的教育软件研究室.因为要学习C#,所以就没有时间来完成算法方面的学习.但是,现在仅仅是<strong>暂时</strong>搁浅.等到时机成熟一定会重新拾起.毕竟要成为一个好的,优秀的程序员.算法方面的知识是必不可少的.</p>
<p>暂时,只是暂时.</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/03/introduction-to-algorithms/">Permalink</a> |
<a href="http://meiyou.org/2009/03/introduction-to-algorithms/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/03/introduction-to-algorithms/&title=《算法导论》学习记录(暂停更新)">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/study-note/" rel="tag">学习记录</a>, <a href="http://meiyou.org/labels/algorithms/" rel="tag">算法</a>, <a href="http://meiyou.org/labels/ntroduction-to-algorithms/" rel="tag">算法导论</a>, <a href="http://meiyou.org/labels/programming/" rel="tag">编程</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/03/introduction-to-algorithms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《Java程序设计之网络编程》学习记录</title>
		<link>http://meiyou.org/2009/03/java-coding/</link>
		<comments>http://meiyou.org/2009/03/java-coding/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 14:31:01 +0000</pubDate>
		<dc:creator>郭一实</dc:creator>
				<category><![CDATA[书籍学习]]></category>
		<category><![CDATA[编程实践]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[底小强]]></category>
		<category><![CDATA[程序设计]]></category>

		<guid isPermaLink="false">http://meiyou.org/?p=42</guid>
		<description><![CDATA[大一下半年开设了一门Java入门课程,配书是清华大学的《Java程序设计之网络编程》,那我就以此书作为我学习Java的入门教程,不定期更新学习中的实践过程.]]></description>
			<content:encoded><![CDATA[<p>大一下半年开设了一门Java入门课程,配书是清华大学的《Java程序设计之网络编程》,那我就以此书作为我学习Java的入门教程,不定期更新学习中的实践过程.</p>
<h2><em><strong>敲代码部分:</strong></em></h2>
<h3>第一章 Java语言概述(20090302)(文件数4,共29行)</h3>
<p>20090302:(文件数4,共29行)</p>
<h3>第二章 数据类型及其运算</h3>
<p>20090309:(文件数5,共88行)</p>
<h3>第三章 程序控制语句</h3>
<p>20090313:(文件数7,共243行)</p>
<h3>第四章 Java面向对象程序设计基础</h3>
<p>20090314:(文件数10,共167行)</p>
<p>20090320:(文件数8,共82行)</p>
<h3>第五章 面向对象高级程序设计</h3>
<p>20090413:(文件数5,共90行)</p>
<p>20090417:(文件数10,共185行)</p>
<h3>第六章 字符串处理</h3>
<p>20090420:(文件数8,共180行)</p>
<p>20090425:(文件数6,共182行)</p>
<h3>第七章 Java标准类库</h3>
<p>20090429:(文件数9,共127行)</p>
<p>20090508:(文件数0,共0行)</p>
<p>20090515:(文件数3,共200行)</p>
<p>20090609:(文件数10,共180行)</p>
<p>20090610:(文件数7,共168行)</p>
<h3>第十一章 GUI程序设计</h3>
<p>20090603:(文件数6,共112行)</p>
<p>20090605:(文件数4,共94行)</p>
<h3>上机实验</h3>
<p><strong>实验1 Java程序基础(20090402-?)(文件数2,共66行)</strong></p>
<p>20090401:(文件数2,共66行)</p>
<p><strong>实验2 面向对象程序设计基础(20090415-?)(文件1,共72行)</strong></p>
<p>20090415:(文件数1,共72行)</p>
<h2><em><strong>学习笔记部分:</strong></em></h2>
<h3>20090302:</h3>
<p>今天上午,介绍了Java的一些特性,比如&#8221;翻译&#8221;,VM,还有一些DOS命令,我倒是对DOS命令比较感兴趣,有空学习学习.</p>
<h3>20090309:</h3>
<p>没有好好的学,实在是没有什么新内容.都是C原来学习的.看了一会&lt;走出软件作坊&gt;的电子书.</p>
<h3>20090313:</h3>
<p>今天是星期五,上午上课没有好好听,晚上就一直在敲代码,有几个问题比较棘手,浪费时间比较多多.花费了4个小时,学到了不少的东西,比方说一个输入语句:</p>
<p>BufferedReader br = new BufferedReader (new InputStreamReader(System.in));</p>
<p>然后用:</p>
<p>int ival = Integer.parseInt(br.readLine());</p>
<p>调用.再有System.out.print();和System.out.println();的区别等.</p>
<h3>20090320:</h3>
<p>其实今天的内容应该早些完成,星期一的时候就应该可以完成的,无奈这几天比较忙,知道拖到今天完成.</p>
<p>还要加把劲啊!</p>
<h3>20090402</h3>
<p>昨天晚上上了Java的上级课,2个小时就做了2个题目,一个是用Java编写水仙花数,还有一个是用Java编写1000以内10个最大素数的和.其实想想,没有什么难度,但是真的做起来,还真是困难,不过,还算是完成了编写,以前学习过的内容都忘的差不多了.</p>
<h3>20090413</h3>
<p>上午是Java课,学习的是接口内容,老师问,有没有人每天编程一小时以上的,我没有举手,我想,我是有编程,但是我并不是每天都编程啊.所以,从严格意义上来讲,我并不满足老师所说的条件.所以,呵呵,还是算了吧.自己知道自己该干什么就好.没有必要大家都知道.</p>
<p>还是,低调好.OVER!</p>
<h3>20090415</h3>
<p>今天晚上的上机课真是郁闷,一节课居然就连编写一个Java基本的三角形类都没有完成好不容易编写完了,不能正常运行.把代码发出来,给看下:<a href="http://meiyou.org/wp-content/uploads/2009/03/triangle.java">triangle</a></p>
<h3>20090417</h3>
<p>今天是高老师(高培成) 代 底老师(底小强)上的Java课,在第二节课还睡了会儿.回来就把第五章的内容编写了一下,一直到晚上.这章主要讲的是多态,继承和接口之类的内容,基本上和原来所学的C++面向对象部分雷同就是换了几个关键字,用了几个不同的机制.还好理解.不过,Java还是让我感觉有压力.好好学吧.</p>
<h3>20090420</h3>
<p>今天的代码编写主要集中在Java这部分上,因为上午的Java课我又习惯性的睡觉了.唉~~星期一的第一节课总是很困,估计是星期天太疲劳了.不知道,呵呵,所以就在下课编写了一些书本上的代码,我认为这些东西比较基础,简单,但是从我自学C++的经验来看,其实平时编写程序就是使用的这些看似简单的东西,但是大部分的人都不太注意这些细节,或者说这些琐碎的东西.</p>
<p>还有一点是为什么从书本上的东西开始的原因,这本教材不是太&#8221;认真&#8221;,错误比较多,书本上的代码有些错误是很明显的.所以为了记忆知识的保险起见,还是自己亲自测试比较好.</p>
<h3>20090425</h3>
<p>鼓捣了一上午,总算是吧老师昨天讲的没讲的内容看完了,感觉花费的时间不短,但就是不见代码的增加,为何?</p>
<h3>20090429</h3>
<p>晚上由于有Java的上机课,所以还有机会把Java书上的代码敲一下.</p>
<p>打的是第七章的内容,呵呵,说来这也是我很少有的提前预习的章节.</p>
<h3>20090508</h3>
<p>手不好用,左手就不敲代码了,等到手好了再说吧.看完第七章了,感觉Java的&#8221;容器&#8221;和C++,C#有些像,都是一样的东西,尤其是和C#较像.</p>
<p>就这样吧.</p>
<h3>20090515</h3>
<p>测试了TreeSet和我自己编造的问题,关于求和的问题,累加相除和两两相加再除以二的求出结果.</p>
<p>晚上倒是编了一个单向链表用Java.99行,听得意.呵呵.</p>
<h3>20090603</h3>
<p>Java又是晚上上机课打的字,原来准备把老师留的鼠标事件获取鼠标的坐标程序写一下,但是发现有些困难,不是太明白,看来Java还要用功一些!</p>
<h3>20090605</h3>
<p>无所事事的时候敲一下代码放松下,比看电影要好多了.</p>
<h3>20090609</h3>
<p>还是晚上抽出时间完成了部分的Java编程,都是以前手骨折时欠下的,现在还上吧.</p>
<h3>20090610</h3>
<p>我发现这几天就在敲Java的代码,其他的还真的关注很少,可能是期末只有Java的考试,其他的像C#没有,C++也没有.呵呵.势利啊!</p>
<hr />
<p><small>© 郭一实 for <a href="http://meiyou.org">meiyou.org</a>, 2009. |
<a href="http://meiyou.org/2009/03/java-coding/">Permalink</a> |
<a href="http://meiyou.org/2009/03/java-coding/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://meiyou.org/2009/03/java-coding/&title=《Java程序设计之网络编程》学习记录">del.icio.us</a>
<br/>
Post tags: <a href="http://meiyou.org/labels/java/" rel="tag">Java</a>, <a href="http://meiyou.org/labels/xiaoqiang-di/" rel="tag">底小强</a>, <a href="http://meiyou.org/labels/object-oriented-programming/" rel="tag">程序设计</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://meiyou.org/2009/03/java-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
