安装的时候,千万不要一路下一步,you should know,linux不是windows那么的傻瓜。 方法一: 在倒数最后一步,选择Desktop,而千万不要下一步,默认选择Basic Server,否则,安装后,是木有图形化界面滴。 方法二: 还有一种方法,就是如果选择基本服务器,记得选择现在...
分类:
其他好文 时间:
2014-07-07 09:18:52
阅读次数:
234
错误原因因为end函数的原因。end函数: mixed end ( array &$array )你可以看到end的参数是一个引用(reference),而你只能把一个变量的引用作为一个参数传给函数,而你直接把explode('.',$name)作为参数传给end函数,所以才有这个提示。你可以这样....
分类:
Web程序 时间:
2014-07-03 06:52:15
阅读次数:
234
在安装Ecshop的时候,遇到两个问题: 1.Strict Standards: Non-static method cls_image::gd_version() should not be called statically inD:\X\www\ecshop\install\includes....
分类:
其他好文 时间:
2014-07-03 06:30:25
阅读次数:
221
Accessors
存取方法
All instance variables are private in Objective-C by default, so you should use accessors to get and set values in most cases. There are two syntaxes. This is the traditional 1.x syntax:
OC中所有的实例变量默认是私有的,所以多数情况下你应该使用访问器来获得和设置实例变量的值。访问器有...
分类:
其他好文 时间:
2014-07-02 08:39:04
阅读次数:
231
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first
two lists.
代码如下:
* Definition for singly-linked list.
* struct L...
分类:
其他好文 时间:
2014-07-02 07:23:59
阅读次数:
159
Commercial vacuum cleaners range in cost from 200 to 2000 dollars . When you purchase a commercial vacuum cleaner you should look at the purchase as a...
分类:
其他好文 时间:
2014-07-01 18:40:25
阅读次数:
178
Format characters have the following meaning; the conversion between C and Python values should be obvious given their types. The ‘Standard size’ column refers to the size of the packed value in bytes...
分类:
编程语言 时间:
2014-07-01 14:51:47
阅读次数:
391
题目
Given a binary tree, flatten it to a linked list in-place.
For example,
Given
1
/ 2 5
/ \ 3 4 6
The flattened tree should look lik...
分类:
其他好文 时间:
2014-07-01 08:03:10
阅读次数:
127
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:
其他好文 时间:
2014-07-01 06:24:42
阅读次数:
204
题目
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it...
分类:
其他好文 时间:
2014-07-01 06:23:24
阅读次数:
334