boost::scoped_ptr虽然简单易用,但它不能共享所有权的特性却大大限制了其使用范围,而boost::shared_ptr可以解决这一局限。顾名思义,boost::shared_ptr是可以共享所有权的智能指针boost::shared_ptr的管理机制其实并不复杂,就是对所管理的对象进行...
分类:
其他好文 时间:
2014-09-24 00:23:55
阅读次数:
250
【转】http://blog.sina.com.cn/s/blog_64941c8101018dno.html- 已忽略版本控制的文件。可以通过Window → Preferences → Team → Ignored Resources.来忽略文件。A file ignored by versio...
分类:
系统相关 时间:
2014-09-23 17:07:05
阅读次数:
286
新安装的eclipse没有ndk组件, 我使用的安装包是:android-ndk32-r10b-windows-x86_64.zip,打开preferences如下在android下面应该有一个NDK项的, 用于设置NDK的目录,通过help->install new software来安装它loc...
分类:
系统相关 时间:
2014-09-23 17:03:54
阅读次数:
299
1、设置关键字自动大写:Tools->Preferences->Editor,将Keyword case选择Uppercase。这样在窗口中输入sql语句时,关键字会自动大写,而其它都是小写。这样阅读代码比较容易,且保持良好得编码风格,同理,在Tools->Preferences->Code Ass...
分类:
数据库 时间:
2014-09-23 15:11:44
阅读次数:
278
参考:http://blog.sina.com.cn/s/blog_637810b101018xw0.html- 已忽略版本控制的文件。可以通过Window → Preferences → Team → Ignored Resources.来忽略文件。A file ignored by versio...
分类:
系统相关 时间:
2014-09-23 14:34:54
阅读次数:
269
ubuntu 12.04 gedit 打开 windows 分区中的txt 文件乱码,是因为 ubuntu 和 windows 两个系统的编码不同。
解决办法1:(推荐)
终端里依次输入以下 2 条命令即可:
gsettings setorg.gnome.gedit.preferences.encodings auto-detected "['GB18030','GB2312', 'GBK'...
1、类SQL PLUS窗口:File->New->Command Window,这个类似于oracle的客户端工具sql plus,但比它好用多了。2、设置关键字自动大写:Tools->Preferences->Editor,将Keyword case选择Uppercase。这样在窗口中输入sql语...
分类:
数据库 时间:
2014-09-22 22:17:33
阅读次数:
264
一、free命令[root@xen_202_12 /]# free -m total used free shared buffers cachedMem: 3072 2459 612 0 207 1803-/+ buffers/cache: 447 2624Swap: 1913 0 1913第2行...
分类:
系统相关 时间:
2014-09-22 16:08:02
阅读次数:
207
We will have to edit grub configuration. Open a terminal and paste this: sudo gedit /etc/default/grub?Hit Enter. It will open grub preferences in Gedit. Locate the line?# GRUB_GFXMODE=800x600?(...
分类:
其他好文 时间:
2014-09-22 16:06:23
阅读次数:
347
一、在eclipse中选择window--->preferences二、runtime environment -----》edit三、在这个地方就可以进行选择jre了。
分类:
系统相关 时间:
2014-09-22 06:43:02
阅读次数:
251