码迷,mamicode.com
首页 >  
搜索关键字:python long string    ( 244880个结果)
String,StringBuffer和StringBuilder的异同
String,StringBuffer和StringBuilder的异同 String,StringBuffer和StringBuilder的的源码已经在本博客的JDK源码学习系列中有了详细的介绍: String 源码: http://blog.csdn.net/sheepmu/article/details/23303837 StringBuffer 和StringBuil...
分类:其他好文   时间:2014-06-03 05:45:58    阅读次数:211
采用Android中的httpclient框架发送post请求
/** * 采用httpclientPost请求的方式 * * @param username * @param password * @return null表示求得的路径有问题,text返回请求得到的数据 */ public static String httpclientPost(String username, String password) { try ...
分类:移动开发   时间:2014-06-03 05:34:33    阅读次数:222
Java网络编程知识点(1)
如何将一个String转换...
分类:编程语言   时间:2014-06-03 04:49:50    阅读次数:223
STL的队列和栈简单使用
STL的队列和栈简单使用 #include #include #include #include #include #include using namespace std; int main() {  queue Q;  stack S;  int i;  for(i=1;i  {Q.push(i);S.push(i);}  while(...
分类:其他好文   时间:2014-06-03 03:51:26    阅读次数:238
采用Android中的httpclient框架发送get请求
/** * 采用httpclientGet请求的方式 * * @param username * @param password * @return null表示求得的路径有问题,text返回请求得到的数据 */ public static String httpclientGet(String username, String password) { try { ...
分类:移动开发   时间:2014-06-03 02:22:25    阅读次数:189
SVD小结
1.矩阵分解假设一个矩阵Data是m行n列,SVD(奇异值分解)将Data分解为U,E,VT 三个矩阵:Datam*n=Um*kEk*kVTk*nE是一个对角矩阵,对角元素为奇异值,对应Data的奇异值,即Data*DataT特征值的平方2.选取特征下面确定选取哪几维特征实现降维,去除噪声和冗余信息...
分类:其他好文   时间:2014-05-31 18:45:57    阅读次数:327
python 网络编程 (二)---tcp
异常python的socket模块实际上定义了4种可能出现的异常:1)与一般I/O 和通信问题有关的socket.error;2)与查询地址信息有关的socket.gaierror;3)与其他地址错误有关的socket.herror;4)与在一个socket上调用settimeout()后,处理超时...
分类:编程语言   时间:2014-05-31 18:42:49    阅读次数:220
string::replace
函数原型:string& replace (size_t pos, size_t len, const string& str);具体请查阅C++开发文档。只贴示例代码。示例代码:// replacing in a string#include #include int ...
分类:其他好文   时间:2014-05-31 18:35:32    阅读次数:202
exp函数
函数原型: double exp (double x); float exp (float x);long double exp (long double x); double exp (T x); // additional overloads for in...
分类:其他好文   时间:2014-05-31 18:25:15    阅读次数:233
abs函数
原型: double abs (double x); float abs (float x);long double abs (long double x); double abs (T x); // additional overloads for int...
分类:其他好文   时间:2014-05-31 18:20:46    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!