class my_string{ friend ostream& operator<< (ostream&,my_string&);public: my_string():data(NULL) { } my_string(const char* str) { int n = strlen(s...
分类:
其他好文 时间:
2015-01-03 17:07:13
阅读次数:
178
有n个人,每个人有两个属性x,y。如果对于一个人P(x,y) 不存在另外一个人(x',y') 使得x'#include #include using namespace std;struct point{ int x , y ; bool operator S;multiset::iter...
分类:
其他好文 时间:
2015-01-01 19:43:28
阅读次数:
288
如下报错:
16:22:05.566 [http-nio-80-exec-12] ERROR 500.jsp - No enum constant org.springside.modules.persistence.SearchFilter.Operator.GE
java.lang.IllegalArgumentException: No enum constant org.springs...
分类:
编程语言 时间:
2015-01-01 17:24:15
阅读次数:
873
//string函数用法详解!附代码,写具体的用法! #include #include #include using namespace std;int main(){ //1.string类重载运算符operator>>用于输入,同样重载运算符operator> str1;//当用cin...
分类:
其他好文 时间:
2015-01-01 14:46:18
阅读次数:
183
1、错误描述
[RPC Fault faultString="Cannot invoke method
'saveOrUpdate'.
" faultCode="Server.ResourceUnavailable"
faultDetail="The expected argument types are
(com.***.***.model.****) but the
sup...
分类:
其他好文 时间:
2014-12-30 23:36:19
阅读次数:
231
写接口的话,无非就为了让移动端,WEB端,或者是PC Client调用。
我们写个返回JSON格式的接口,功能是关于四则运算。
header('Content-type:application/json');
$operator = $_GET['operator'];
$first = $_GET['first'];
$second = $_GET['second']; ...
直接代码、、、#include#include#include#include#includeusing namespace std;struct node{ int fuel,dist; //bool operator d.dist; // }}s[10005];bool cmp(...
分类:
其他好文 时间:
2014-12-30 20:27:21
阅读次数:
165
如果在linux下安装openssl,执行config和make之后,在执行make install时如果出现下面的错误
cms.pod around line 457: Expected text after =item, not a number
cms.pod around line 461: Expected text after =item, not a number
cms....
分类:
其他好文 时间:
2014-12-30 17:15:32
阅读次数:
238
此类博文都是因为自己粗心大意犯的一些错误,自己记下来,免得以后再犯!!!!!!今天运行项目的时候,在点击按钮,报出了一个错误:cc.Node:setAnchorPointargument#2is‘nil‘;‘table‘expected.我就纳闷了,后来问了群里的朋友,告诉我说,是设置锚点时,参数传错了~去看了下..
分类:
其他好文 时间:
2014-12-29 15:28:50
阅读次数:
289
Stat2.2x Probability(概率)课程由加州大学伯克利分校(University of California, Berkeley)于2014年在edX平台讲授。PDF笔记下载(Academia.edu)SummaryLaw of Large Numbers As the number ...
分类:
其他好文 时间:
2014-12-29 10:17:09
阅读次数:
292