Monday, July 19, 2010

C-Data structures in <a href="http://cplusplus.com">cplusplus.com</a>

We have already learned how groups of sequential data can be used in C++. But this is somewhat restrictive, since in many occasions what we want to store are not mere sequences of elements all of the same data type, but sets of different elements with different data types.

Data structures
A data structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Data structures are declared in C++ using the following syntax:

參考來源:

"Data structures A data structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Data structures are declared in C++ using the following syntax:"
- Data Structures (在「Google 網頁註解」中檢視)

Sunday, July 18, 2010

C++ - Sorting and searching data

How can I sort data in alphebatical order after writng them(some records containing information about customers,say)in to a file? How can I create a program to read and print customer records arranged with their names in alphabatical order?

參考來源:

"C++ - Sorting and searching data Expert: Ralph McArdell - 7/11/2006 QuestionHow can I sort data in alphebatical order after writng them(some records containing information about customers,say)in to a file? How can I create a program to read and print customer records arranged with their names in alphabatical order?"
- C++: Sorting and searching data, donald knuth, sorting algorithm (在「Google 網頁註解」中檢視)

C++ - About file handling in C++ Expert

You are here: Experts > Computing/Technology > C/C++ > C++ > About file handling in C++

C++ - About file handling in C++
Expert: Ralph McArdell - 12/2/2007

Question
Kindly requested that can you tell me How to sort the 100 records in the file in C++

參考來源:

"You are here:  Experts > Computing/Technology > C/C++ > C++ > About file handling in C++ C++ - About file handling in C++ Expert: Ralph McArdell - 12/2/2007 QuestionKindly requested that can you tell me How to sort the 100 records in the file in C++"
- C++: About file handling in C++, c standard library, file in c (在「Google 網頁註解」中檢視)

vim插件ZenCoding

vim插件ZenCoding
十分實用的html編輯的vim plugin

參考來源:

"vim插件ZenCoding一些常用的操作 相当的酷,记录一些常用的操作 安装很方便,不再像我以前使用的sparkup.vim得配置python环境了,可直接到http://github.com/mattn/zencoding-vim下载zencoding.vim文件放到vimfiles/plugin或.vim/plugin目录就OK了。 接下来介绍些使用方法(Copy自LazyHack的使用zen coding for vim快速编写html代码) 展开缩写 输入 div>p#foo$*3>a 这样的缩写,然后按 ctrl + y + , 来展开(注意那个逗号),展开后它应该是这个样子的 <div> <p id="foo1"> <a href=""></a> </p> <p id="foo2"> <a href=""></a> </p> <p id="foo3"> <a href=""></a> </p> </div>"
- vim插件ZenCoding一些常用的操作 - 简单其实不简单 - ITFeed (在「Google 網頁註解」中檢視)

預官的考古題

這邊有預官的考古題參考

參考來源:

"預官考古題目錄 87年試題:國文、英文 88年試題:國文、英文 89年試題:國文、英文 90年試題:國文、英文 91年試題:國文、英文、計算機概論、憲法與立國精神 92年試題:國文、英文、計算機概論、憲法與立國精神 93年試題:國文、英文、計算機概論、憲法與立國精神 94年試題:國文、英文、計算機概論、憲法與立國精神 95年試題:國文、英文、計算機概論、憲法與立國精神 96年試題:國文、英文、計算機概論、憲法與立國精神 97年試題:國文、英文、計算機概論、憲法與立國精神 98年試題:國文、英文、計算機概論、憲法與立國精神"
- 預官考古題 (在「Google 網頁註解」中檢視)

Saturday, July 17, 2010

關於胡鄧

胡鄧
這是一篇轉自人人網的文章,當然,人生有幾個15年。
楊正說過一句話,年輕的時候,要有能馬上放下任何東西的打算。
這個是他過來人的遺憾,
如下面的感想,一輩子能夠實現多少夢想,一輩子又有幾個15年。

參考來源:

"胡邓绝对是个非常有意思的人。   第一,他叫了个这么古怪的名字,一定是他爸爸姓胡他妈妈姓邓! 第二,他在电视上看起来傻乎乎的,居然还是心理专家,居然每次都能说到你骨头里,居然每次都说到你骨头里了还不忙不乱慢悠悠摆着手。   我无意间进了胡邓的博客,人真是不可貌相,原来他的生活那么精彩。下面这句介绍是摘来的:   胡邓何许人也?中国大学生中最早的背包自助旅行者,新浪网旅游论坛资深版主,此外,他还是中国人民大学心理科学研究中心博士,由他首开并主讲的“自助旅行与心理素质教育”一课年年爆满,人大学生在网上如是说:“能选到胡邓的课是你一生的福气!”"
- 【胡邓】_刺猬皮小袄_新浪博客 (在「Google 網頁註解」中檢視)

C

Port Check Program (in C) Part 1

Many programs exist that have the need to check the status of a port for one reason or another. In the least simply pre-checking for an open port can save a great deal of time for a program (especially if it relies upon default timing when doing the real connection). Recently I had the need to write a sort of pre-check program that would see if a port was open and could be accessed over the network. This series examines the rapid prototyping I ended up doing to get the program from a to z. It is designed for those who simply need or want to know how to do this sort of thing. This particular example is done in C, however, there might be follow on texts that tackle the task in other languages.

參考來源:

"Port Check Program (in C) Part 1 Many programs exist that have the need to check the status of a port for one reason or another. In the least simply pre-checking for an open port can save a great deal of time for a program (especially if it relies upon default timing when doing the real connection). Recently I had the need to write a sort of pre-check program that would see if a port was open and could be accessed over the network."
- Port Check Program Part 1 (在「Google 網頁註解」中檢視)

Daily Bookmarks 20100717

lxer
http://lxer.com/module/newswire/viewby.php?filter=9

蘇州上海杭州攻略

這個是蘇州上海杭州攻略 在去哪裡的blog 上的參考

參考來源:

"10月底的苏州 上海 杭州行详细攻略 (2009年10月29日) 分类: 默认分类 第一天 首都机场到无锡硕放机场     机票:260+50 从机场到苏州 每天10:30   11:20  14:30  17:10   20:20在无锡机场到达出口处门口有依维柯民航班车到苏州市区,票价30元每人。 入住苏州酒店  位于人民路上平门站的格林豪泰   酒店离汽车站及火车站都很近步行即可到达        去观前街商业区  有很多老字号   第二天 从酒店步行去了拙政园  狮子林  苏州博物馆"
- 地瓜地~ (在「Google 網頁註解」中檢視)

分享到校內

這個說明了怎麼不用插件分享至校內

參考來源:

"不用插件实现分享博文至校内 2009-06-30 By Leo.N 其实这是别人在WordPress.org.cn上提出来的问题,因为我也时不时弄下校内,所以就研究了下怎么实现。 首先,找到你所使用模板里的single.php,用文本编辑器打开(注意选择用UTF-8编码,某则会出现乱码)。 在适当位置添加一下代码: <a href="http://share.xiaonei.com/share/buttonshare.do?link=<?php the_permalink() ?>&title=<?php the_title(); ?>"target="_blank">分享到校内</a> 解释: http://share.xiaonei.com/share/buttonshare.do?link= 是校内提交分享地址的接口,等号后面的就是所需提交的地址; <?php the_permalink() ?>"
- 不用插件实现分享博文至校内 - 不知所云 Leo.N's Blog (在「Google 網頁註解」中檢視)

Thursday, July 15, 2010

Daily Bookmarks 20100715

A Web Search Engine for Indexing, Searching and Publishing Arabic Bibliographic Databases
http://www.isoc.org/inet99/proceedings/posters/085/index.htm#ref18

Computer Science 226Algorithms and Data StructuresSpring 2003
http://www.cs.princeton.edu/courses/archive/spring03/cs226/info.html

Algorithms in C code
http://www.cs.princeton.edu/~rs/Algs3.c1-4/code.txt

An Introduction to XML and Web Technologies example
http://www.brics.dk/ixwt/examples.html


External Memory Algorithms and Data Structures (EMADS), Fall 2003
http://www.daimi.au.dk/~gerth/emF03/

Monday, July 12, 2010

Daily Bookmarks 20100712

how to design template

http://www.freetemplatesonline.com/templates/

http://www.oswd.org/

http://dzineblog.com/2008/07/best-photoshop-layout-design-tutorials.html

http://www.photoshopsupport.com/tutorials/jennifer/web-template.html#free_website_design_resources

http://www.webstockbox.com/css/converting-photoshop-web-template-file-to-htmlxhtmlcss-web-page-file-video-tutorial/