error: Failed dependencies: libgmp.so.3()(64bit) is needed by ppl-0.10.2-11.el6.x86_64试试yum provides *libgmp.so.3安装过程遇到的问题及解决方法[root@raymond Pa...
分类:
其他好文 时间:
2015-04-30 20:04:07
阅读次数:
152
常量区的值是不可修改的,而栈区的值是可以修改的所以不可以通过*pa来修改a的值#includeusing namespace std;int main(){const int a=5;int b=9;const int* pa=&a;int *const pb=&b;cout<<"a的值是"<<*p...
分类:
其他好文 时间:
2015-04-30 16:04:13
阅读次数:
125
网上各种资料够多了。只是不想每次都去搜索。就总结下吧。1、首先去下个Sublime 链接:http://www.sublimetext.com/2 下载需要的版本。注意:Sublime提供永久使用权。就不需要购买破解什么的。2、安装插件、首先你需要Package Control。https://pa...
分类:
其他好文 时间:
2015-04-30 15:48:09
阅读次数:
111
打开注册表编辑器(regedit),定位到以下路径:HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify删除其中的 IconStreams 和 Pa...
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2015-04-30 06:19:30
阅读次数:
117
iOS的富文本设置,在iOS8下在textView的代理方法中设置textview的attributedText时,会出现富文本格式未加到text上的情况,可以在初始化时将文本属性赋给textview的typingAttributes。代码如下:NSMutableParagraphStyle *pa...
分类:
移动开发 时间:
2015-04-30 00:58:44
阅读次数:
817
虽然做b/s也有一年半了,但是还没怎么认真的去看JQuery,趁自己生病的这几天,恶补一下JQuery方面的知识,保持学习的态度,内容很简单,聊以自慰一下>_ 按钮点击消失文本 This is a heading This is a paragraph This is a another pa...
分类:
Web程序 时间:
2015-04-30 00:39:45
阅读次数:
177
ios项目最新真机调试教程引言:众所周知,苹果的安全性做的一直很高,导致ios开发的门槛相对于安卓来说,高出不少,也就导致了现在iOS高级工程师一直是稀缺的资源。今天我们来谈一谈苹果的真机调试。苹果的真机测试要复杂好多,最主要的是你需要花费99$购买苹果的开发者认证,其他的条件有:一台测试手机或pa...
分类:
其他好文 时间:
2015-04-29 16:43:17
阅读次数:
128
Longest Valid Parentheses
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid pa...
分类:
其他好文 时间:
2015-04-29 15:06:06
阅读次数:
126
使用前注意事项:1、 由于Java面向对象编程的特性, 在命名时应尽量选择名词2、 驼峰命名法(Camel-Case): 当变量名或函式名是由一个或多个单字连结在一起,而构成的唯一识别字时,首字母以小写开头,每个单词首字母大写(第一个单词除外)。 如:myFirstName一 包名的书写规范 (Pa...
分类:
编程语言 时间:
2015-04-28 08:17:49
阅读次数:
214