Git Repo Gerrit User ManualRevision HistoryRevision # Description Date Author 0.1 Initial this document 2014/09/05 Deman Lu 0.2 Add First t...
分类:
其他好文 时间:
2014-10-20 11:22:51
阅读次数:
361
App entrance: namespace?first_portable_demo
{
????public?class?App
????{
????????public?static?Page?GetMainPage()
????????{
????????????return?new?Greet...
分类:
其他好文 时间:
2014-10-20 02:19:57
阅读次数:
193
工作需要,在虚拟机上安装中标麒麟3.2的64位版本。
虚拟机用的VMware Workstation 9.0,按照常识目标DVD光盘文件的类型选择Other Linux 2.6.x Kernel 64-bit(因为目前大部分都是2.6.18的内核以上,尤其是Suse Linux等,所以惯性使然),Power On后,出现版本选择窗口,
点击后,没有...
分类:
系统相关 时间:
2014-10-19 23:17:20
阅读次数:
333
Queue—线程安全的FIFO实现作用:提供一个线程安全的FIFO实现Queue模块提供了一个适用于多线程编程的先进先出(first-in,first-out)数据结构,可以用来在生产者和消费者线程之间安全地传递消息或其他数据。它会为调用者处理锁定,使多个线程可以安全第处理同一个Queue实例。Qu...
分类:
其他好文 时间:
2014-10-19 14:20:59
阅读次数:
225
MFC工程中关于链表的操作1.对于给定的整数n,编写算法删除链表中第n个节点,该链表的第一个节点由first指向。由于C++中没有关于node的标准头文件,要先手动定义node类,此处只定义了简单的data和next指针以及析构函数部分的内容:1 class node 2 {3 public:4 ....
分类:
编程语言 时间:
2014-10-19 13:00:22
阅读次数:
311
点击AlertDialog 关闭之后再点击报错:The specified child already has a parent. You must call removeView() on the child's parent first.意思是这个子view 已经有个父view了,你现在要使用的...
分类:
其他好文 时间:
2014-10-18 13:50:44
阅读次数:
170
一、非变异算法是一组不破坏操作数据的模板函数,用来对序列数据进行逐个处理、元素查找、子序列搜索、统计和匹配。非变异算法具有极为广泛的适用性,基本上可应用与各种容器。1查找容器元素find它用于查找等于某值的元素。它在迭代器区间[first,last)(闭开区间)上查找等于value值的元素,假设迭代...
分类:
编程语言 时间:
2014-10-18 13:50:23
阅读次数:
319
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.Solution: 1 public class S...
分类:
其他好文 时间:
2014-10-18 08:35:09
阅读次数:
162
Problem Description
To prove two sets A and B are equivalent, we can first prove A is a subset of B, and then prove B is a subset of A, so finally we got that these two sets are equivalent.
You ar...
分类:
其他好文 时间:
2014-10-18 03:05:05
阅读次数:
290
vector::eraseRemovesanelementorarangeofelementsinavectorfromspecifiedpositions.iteratorerase(iterator_Where);iteratorerase(iterator_First,iterator_Las...
分类:
其他好文 时间:
2014-10-17 20:22:25
阅读次数:
217