安装过程中报错:The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl 解决方法:找到path ph...
分类:
其他好文 时间:
2015-03-11 13:12:12
阅读次数:
250
今天在使用swift时发现,写的func总是要求写出第二个参数的外部变量名,很不理解,感觉和书上说的function不一样,查了一下,终于发现了原因:写在class内部的function叫做method,是特殊的functoin,系统会自动补上外部变量名,参看以下连接http://stackover...
分类:
编程语言 时间:
2015-03-10 19:07:38
阅读次数:
200
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and uses constant spa...
分类:
其他好文 时间:
2015-03-10 10:26:23
阅读次数:
136
今天在导入项目的时候出现了这种错误:仅仅须要一步 就搞定:projecct ---> clean 又一次编译一下就可以搞定了。
分类:
移动开发 时间:
2015-03-07 22:41:31
阅读次数:
169
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run in O(n) time and uses constant...
分类:
其他好文 时间:
2015-03-04 21:08:58
阅读次数:
131
导入Maven项目异常信息:Missing artifact jdk.tools:jdk.tools:jar:1.6 在.pom文件中添加: <dependency>
????<groupId>jdk.tools</groupId>
????<artifactId>jdk.tools</artifactId>
????<version>...
分类:
其他好文 时间:
2015-03-02 21:05:26
阅读次数:
152
golang httpserver如果采用 fmt.Fprintf(w, result)来输出json数据时,若json数据包含%号,则会出现问题。输出结果里面会包含(MISSING)字样,造成json格式错误。把输出函数替换为w.Write即可。func Action(w http.Respons...
分类:
Web程序 时间:
2015-03-02 11:01:58
阅读次数:
228
[root@localhost mysql-5.5.11]# cmake .出现以下错误提示:-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)CMake Error at cmake/readline.cma...
分类:
数据库 时间:
2015-02-28 22:56:18
阅读次数:
395
android studio创建模拟器报错 emulator: ERROR: This AVD's configuration is missing a kernel file!! 的解决办法
原因有二:1 没有,解决办法通过sdk mangager 下载
2 找不到,解决办法看系统环境变量path(此种情况多数发生在android Studio和Eclip...
分类:
移动开发 时间:
2015-02-28 06:44:34
阅读次数:
217
题意:有一个排列,但少了两个数。给你少了这两个数的排列。找出是哪两个数。思路:看代码,,,代码:int a[1005];int main(){ int T; cin>>T; while(T--){ int n; cin>>n; mem(a,0);...
分类:
其他好文 时间:
2015-02-28 01:29:46
阅读次数:
149