1 #include 2 #include 3 4 class AutoExpand 5 { 6 public: 7 AutoExpand(int val, char* pval) 8 { 9 a = val;10 p = pval;11 ...
分类:
编程语言 时间:
2014-08-17 18:26:02
阅读次数:
383
有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super init];)时会报错,错误信息如下:error:Cannot assign to 'self' outside of a method in the in...
分类:
其他好文 时间:
2014-08-17 16:58:52
阅读次数:
201
svn更新代码后,打开xcode工程文件,会出现 xxx..xcodeproj cannot be opened because the project file cannot be parsed.因为.xcodeproj工程文件冲突了,然后还是会强制更新,内部文件出现了冲突,所以解析不了文件。会出...
分类:
其他好文 时间:
2014-08-17 11:35:52
阅读次数:
227
Sereja has an array a, consisting of
n integers a1,
a2,
..., an. The boy cannot sit and do nothing, he decided to study an array. Sereja took a piece of paper and wrote
out m integers l1,?l2,?.....
分类:
其他好文 时间:
2014-08-15 12:51:58
阅读次数:
233
Capacity 在.NET中List的容量应该只是受到硬件限制。属性Capacity的真正含义,是创建List时给它预分配的容量。一旦项的数量超过了当前的Capacity,Capacity会以Capacity = (Capacity==0)?A_VALUE_YOU_CANNOT_SURE:(C.....
分类:
其他好文 时间:
2014-08-15 12:19:48
阅读次数:
190
magento 在reindex的时候遇到Cannot initialize the indexer process错误,发现Catalog URL Rewrites 一项不能reindex解决方法:1.删除var/locks 目录下的所有文件 2.清空catalog_category_pr...
分类:
其他好文 时间:
2014-08-15 12:05:58
阅读次数:
218
前文介绍了使用mdadm命令穿件软RAID0的过程,本章将继续演示RAID1和RAID5的创建过程。在演示具体的创建过程之前,需要进一步介绍madam命令可用的选项:-f:把某设备指定为模拟损坏-r:把损坏的设备移除-a:新增一个设备到阵列中一、创建一个大小为1G的RAID1:对RAID1来说,其利..
分类:
其他好文 时间:
2014-08-15 02:43:58
阅读次数:
273
因为在蜥蜴上的Python被玩坏了,所以想要卸载重装。结果在Windows下的EasyBCD打开提示错误:The Boot Configuration Data Store Could Not Be Opened - The System Cannot Find The File Specified...
问题描述:[root@localhost ~]# /usr/local/php/bin/phpize Cannot find config.m4. Make sure that you run '/usr/local/php/bin/phpize' in the top level source d...
分类:
Web程序 时间:
2014-08-14 23:45:56
阅读次数:
2854
在执行mdrill创建表的时候报如下异常(蓝色部分为关键):[mdrill@hadoop1101 bin]$ ./bluewhale mdrill create ./create.sql higo execute [create, ./create.sql]Exception in thread "...
分类:
其他好文 时间:
2014-08-14 23:05:46
阅读次数:
246