Generic.xaml is a particular name, you cannot
rename it.
分类:
其他好文 时间:
2014-06-06 20:47:27
阅读次数:
248
最近,用到了pdfcrop,用来去除pdf中空白的边。但是使用pdfcrop
--margins 0 *.pdf 后,给出了错误:Error: pdfcrop cannot call ghostscript
但是我已经安装了CTEX,里面已经包含Ghostscript,所以就不知道什么错误。在网上针...
分类:
其他好文 时间:
2014-06-06 16:49:28
阅读次数:
179
命名的强制类型转换:
有static_cast、dynamic_cast、const_cast、reinterpret_cast四种。
dynamic_cast支持运行时类型识别。
static_cast:该运算符把exdivssion转换为type-id类型,但没有运行时类型检查来保证转换的安全性。...
分类:
编程语言 时间:
2014-06-04 13:59:48
阅读次数:
333
One reason to use the wrapper objects is when
you want to augment the value and persist state. Because primitives are not
objects, they cannot be augm...
分类:
移动开发 时间:
2014-06-03 16:20:47
阅读次数:
345
C++类型转换分为:隐式类型转换和显式类型转换第1部分.隐式类型转换又称为“标准转换”,包括以下几种情况:1)
算术转换(Arithmetic conversion) : 在混合类型的算术表达式中,
最宽的数据类型成为目标转换类型。intival=3;doubledval=3.14159;ival+...
分类:
其他好文 时间:
2014-06-03 15:29:55
阅读次数:
264
函数原型:T qobject_cast ( QObject * object
)本方法返回object向下的转型T,如果转型不成功则返回0,如果传入的object本身就是0则返回0。在使用时有两个限制: 1#
T类型必须继承自QObject。 2# 在声明时必须有Q_OBJECT宏。使用场景:当某一...
分类:
其他好文 时间:
2014-06-03 14:50:31
阅读次数:
189
安装oracle时候在创建oracle用户后,切换oracle用户时,报如下错
[root@localhost~]#su-oracle
-bash:ulimit:maxuserprocesses:cannotmodifylimit:Operationnotpermitted
经查看结果是忘记修改/etc/security/limits.conf
关于/etc/security/limits.conf解释及应用,看我转载..
分类:
其他好文 时间:
2014-06-02 04:11:33
阅读次数:
264
Appliesto:
OracleServer-EnterpriseEdition-Version:8.1.7.4to11.2.0.2.0-Release:8.1.7to11.2
GenericUNIX
当检查oracle实例后台进程不存在这时启动启动数据库报错:
ORA-01081:"cannotstartalready-runningORACLE-shutitdownfirst"
造成此种原因是
Orphanedsharedmemor..
分类:
数据库 时间:
2014-06-02 04:04:29
阅读次数:
844
-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(EN_US.UTF-8)
把linux系统从中文设置英文字符集后发生以下报错
首先本系统字符集为中文UTF-8
[root@localhost~]#more/etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
修改为英文UTF-8
[root@localhost~]#vim/etc/sysconfig/i..
分类:
其他好文 时间:
2014-06-02 03:24:48
阅读次数:
331
方法1:在Eclipse中,右击项目,选择Java Build
Path->Libraries->Add External
JARs,找到你计算机中tomcat的安装路径,在common\lib文件夹下选中"servlet-api.jar",添加点击“确定”,ok!方法2:把servlet-api....
分类:
编程语言 时间:
2014-06-02 01:44:50
阅读次数:
349