The ref keyword causes an argument to be passed by reference, not by value. The effect of passing by reference is that any
change to the parameter in the called method is reflected in the calling me...
??
A variable of a
reference type does not contain its data directly; it contains a reference to its data.
When you pass a reference-type parameter by value, it is possible to change the data poin...
运行 #make menuconfig1 HOSTLD scripts/kconfig/mconf2 scripts/kconfig/mconf.o: In function `main':3 mconf.c:(.text.startup+0x6a): undefined reference ...
分类:
其他好文 时间:
2014-10-28 17:35:01
阅读次数:
229
原文:https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ls.1.html-a 列出目录下的所有文件,包括以 . 开头的隐含文件。-b 把文件名中不可输出的字符用反斜杠加字符编号(...
分类:
系统相关 时间:
2014-10-28 15:05:44
阅读次数:
317
1. by zero发生被0除错误2. Null object reference空对象引用3. Array boundary exceeded数组越界4. Enumerated value is out of range for function枚举值超出函数的范围5. Negative valu...
分类:
其他好文 时间:
2014-10-28 11:52:20
阅读次数:
582
这是使用libdlna0.2.4与ffmpeg2.4.2搭配遇到的问题
解决方法是使用ffmpeg2.2.9版本(更久的版本没测试过),
或者坚持要使用ffmpeg2.4.2版本的话,只需将
…/ffmpeg-2.4.2/libavformat/version.h文件中一点点内容进行修改:...
分类:
其他好文 时间:
2014-10-27 11:01:02
阅读次数:
375
今天发现自己连Bundle类都没有搞清楚,于是花时间研究了一下。依据google官方的文档(http://developer.android.com/reference/android/os/Bundle.html)Bundle类是一个key-value对,“A mapping from Strin...
分类:
移动开发 时间:
2014-10-25 15:40:20
阅读次数:
167
看到文章里的同学留言说到unique_ptr,这两天看了一下cplusplus提供的reference才知道这个东西是c++11的新特性,对c++11的新特性不是很了解,花时间了解了下unique_ptr,之前有写过auto_ptr的分析,这里就和auto_ptr对比下来看。unique_ptr.....
分类:
其他好文 时间:
2014-10-25 10:28:05
阅读次数:
1948
1.参考http://www.cplusplus.com/reference/list/list/2.合并主要有两个函数:splice()和merge()splice()有三种调用形式:第一种: list1.splice(it1, list2).将list2中的所有元素拷贝到list1中。在list...
分类:
编程语言 时间:
2014-10-25 10:26:11
阅读次数:
206