2014年4月16日
摘要: Static type language: c++, Object Pascal ...Dynamic type language: Smalltalk, Objective-C ...Static type language prefer to behave object by class, ... 阅读全文
posted @ 2014-04-16 15:30 aoun 阅读(230) 评论(0) 推荐(0)
摘要: A class should have follow 4 functions:1. default constructor2.copy contructor3.operator =4.destructor 阅读全文
posted @ 2014-04-16 14:52 aoun 阅读(111) 评论(0) 推荐(0)
  2014年4月14日
摘要: For example: 10 apples, 9 boxes, then at least one box have two apples.Hash table's repeat problem is inevitable, because the number of Keys is alway... 阅读全文
posted @ 2014-04-14 23:57 aoun 阅读(229) 评论(0) 推荐(0)
摘要: Message-digest Algorithm 5 阅读全文
posted @ 2014-04-14 23:40 aoun 阅读(98) 评论(0) 推荐(0)
摘要: Encryption process does not request the use of a encryption key, because the key is input plaintext itself. 阅读全文
posted @ 2014-04-14 23:21 aoun 阅读(227) 评论(0) 推荐(0)
摘要: Request for commentsIs a series numbers scheduled file, documents collected Internet-related information, and software files for UNIX and Internet com... 阅读全文
posted @ 2014-04-14 23:15 aoun 阅读(108) 评论(0) 推荐(0)
  2014年4月10日
摘要: feof's definition in stdio.h:#define _IOEOF 0x0010#define feof(_stream) ((_stream)->_flag & _IOEOF)From here we know only _flag equal to _IOEOF then feof() return 1. When file position indicator arrive to end of file, and read/write again, the fp->_flag set to _IOEOF, then call feof() 阅读全文
posted @ 2014-04-10 23:15 aoun 阅读(260) 评论(0) 推荐(0)
  2014年4月2日
摘要: Template class's decalaration and implementation should place in the header file together.If separate them, then the complier will report "unresolved external symbol ..."I know they can separate, but I need more skills, so come on. 阅读全文
posted @ 2014-04-02 23:20 aoun 阅读(171) 评论(0) 推荐(0)
  2014年1月15日
摘要: 1 .bss不占磁盘空间2 自定义的段名不能使用"."作为前缀3.指定变量的段: _attribute_(section("foo")) int global = 42; 阅读全文
posted @ 2014-01-15 23:53 aoun 阅读(119) 评论(0) 推荐(0)
  2013年10月26日
摘要: 1 #include 2 #include 3 4 int main() 5 { 6 using std::cout; 7 using std::endl; 8 9 for(int i=0; i7 && j11 && j=7 && j 7 && j8 && j9 && j19 && j<23))) 30 cout<... 阅读全文
posted @ 2013-10-26 23:38 aoun 阅读(302) 评论(1) 推荐(0)