上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
摘要: 今天中午,我突然想搞清楚Unicode和UTF-8之间的关系,于是就开始在网上查资料。 结果,这个问题比我想象的复杂,从午饭后一直看到晚上9点,才算初步搞清楚。 下面就是我的笔记,主要用来整理自己的思路。但是,我尽量试图写得通俗易懂,希望能对其他朋友有用。毕竟,字符编码是计算机技术的基石,想要熟练使用计算机,就必须懂得一点字符编码的知识。 1. ASCII码 我们知道,在计算机内部,所有的信息最终... 阅读全文
posted @ 2008-08-14 17:49 中土 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 我不知道怎样介绍Paul Graham这个人。 根据他的简历,他是一个计算机博士,一个程序员,一个风险投资家。但是,在我眼里,他其实是一个思想家。他的很多观点深刻地启发了我。 比如,他说,程序员就是当今时代的手工艺人,其他行业的人都必须依附于流水线的工业化生产才能谋生,只有程序员可以靠个人的手艺谋生。再比如,他说,互联网公司就像蚊子,唯一的竞争优势就是数量多,作为种族可以生存... 阅读全文
posted @ 2008-08-14 17:33 中土 阅读(458) 评论(0) 推荐(0) 编辑
摘要: API Design I'm heading up the API design for my company's next gen software package and was wondering if anyone knows of some good resources that deal with designing an API. Books or web resourc... 阅读全文
posted @ 2008-08-09 00:38 中土 阅读(348) 评论(0) 推荐(0) 编辑
摘要: How to design an API: best practises, concepts, technical aspects When I started to design Piwik I read a lot about APIs, software architecture, service oriented architecture (soa), etc. I really want... 阅读全文
posted @ 2008-08-09 00:24 中土 阅读(366) 评论(0) 推荐(0) 编辑
摘要: Looks like Brian McAllister may be preparing a talk on Designing Elegant APIs. I've been very interested in good API design for a long time. But I could never find a single book on the subject. Many ... 阅读全文
posted @ 2008-08-09 00:19 中土 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Qt datawidget: http://datawidget.sourceforge.net/ Qt Applications: http://www.qt-apps.org Qt Center: 阅读全文
posted @ 2008-08-09 00:16 中土 阅读(852) 评论(0) 推荐(0) 编辑
摘要: by Matthias Ettrich We have done substantial research at Trolltech into improving the Qt development experience. In this article, I want to share some of our findings and present the principles we've ... 阅读全文
posted @ 2008-08-08 23:29 中土 阅读(1315) 评论(1) 推荐(0) 编辑
摘要: 目前以lib后缀的库有两种,一种为静态链接库(Static Libary,以下简称“静态库”),另一种为动态连接库(DLL,以下简称“动态库”)的导入库(Import Libary,以下简称“导入库”)。 静态库是一个或者多个obj文件的打包,所以有人干脆把从obj文件生成lib的过程称为Archive,即合并到一起。比如你链接一个静态库,如果其中有错,它会准确的找到是哪个obj有错,即静态lib... 阅读全文
posted @ 2008-08-05 18:04 中土 阅读(25506) 评论(4) 推荐(4) 编辑
摘要: /* * main.cc * * Created on: 2008-8-5 * Author: Administrator */#include class Base{public: virtual Base *clone(){ std::cout clone(); Base *pb = pd; pb->clone(); return 0;} 结果: D... 阅读全文
posted @ 2008-08-05 18:01 中土 阅读(8610) 评论(2) 推荐(0) 编辑
摘要: assert宏的原型定义在中,其作用是如果它的条件返回错误,则终止程序执行,原型定义: #include void assert( int expression ); assert的作用是现计算表达式 expression ,如果其值为假(即为0),那么它先向stderr打印一条出错信息, 然后通过调用 abort 来终止程序运行。 请看下面的程序清单badptr.c: #include #i... 阅读全文
posted @ 2008-06-18 22:39 中土 阅读(51188) 评论(1) 推荐(5) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
©2005-2008 Suprasoft Inc., All right reserved.