码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
dsf
[ComVisible(true)] [ClassInterface(ClassInterfaceType.AutoDual)] [ProgId("HelloWorld.MyClass")] //类名 public class MyClass { public string UserName { g...
分类:其他好文   时间:2014-12-27 20:21:00    阅读次数:137
android ksoap2 中把XML(DataSet) 当做参数传递
我的android app中需要发送webservice ,于是我使用了 ksop2 进行发送,在测试过程中不是很顺利,不能正常工作.我的web service 请求格式如下[html]view plaincopy[string?][string?][string?][string?]我在andro...
分类:移动开发   时间:2014-12-27 20:15:38    阅读次数:205
Leetcode:Longest Substring Without Repeating Characters 解题报告
Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ...
分类:其他好文   时间:2014-12-27 20:14:16    阅读次数:214
Leetcode:【DP】Longest Palindromic Substring 解题报告
Longest Palindromic Substring-- HARD 级别Question SolutionGiven a string S, find the longest palindromic substring in S. You may assume that the maximum...
分类:其他好文   时间:2014-12-27 20:12:16    阅读次数:136
IO(File)
1. 一个File类的对象,表示了磁盘上的文件或目录2. File类提供了与平台无关的方法来对磁盘上的文件或目录进行操作3. File对象可用来获取或处理与磁盘文件相关的信息,如:权限,时间,日期和目录路径4. File类的构造方法: File(String directoryPath) Fil.....
分类:其他好文   时间:2014-12-27 20:10:55    阅读次数:119
Lable 控件 -- 用代码改变要显示字体的颜色
lable控件怎么改变显示字体的颜色代码如下:1 string color = "#B72C34";2 3 this.lbl.ForeColor = System.Drawing.ColorTranslator.FromHtml(color);*解说:1. 字符串 c...
分类:其他好文   时间:2014-12-27 18:57:19    阅读次数:118
string::find_last_of
今天在代码中用到string的这个方法,一不小心就用错了。这是http://www.cplusplus.com/关于这个方法的解释。Find character in string from the endSearches thestringfor the last character that m...
分类:其他好文   时间:2014-12-27 18:47:14    阅读次数:348
int 与 string::length()
今天在代码中遇到这样的问题int nStart = -1;while (nStart < strTemp.length()){ ... }感觉自己写的逻辑没有错误,但是,代码执行结果就是不对,结果单步调试到该处发现,while语句一次也没有执行,为什么呢?这里的原因是:string::len...
分类:其他好文   时间:2014-12-27 18:46:34    阅读次数:106
C语言原型模式
不知道为什么,我的代码运行提示段错误。 #include?<stdio.h> #include?<stdlib.h> #include?<string.h> #include?<assert.h> typedef?struct?_Person?{ ????const?char?*name; ????int?age?...
分类:编程语言   时间:2014-12-27 17:44:32    阅读次数:159
Java的split函数切分空串和标点
@Test public void test() { // 个人感觉Java提供的方法非常不一致,如果空串切分之后还是空串,那,以,切分之后不应该也是空串吗? String oneDot = ","; String emptyString = ""; String[] split = oneDot.split(",");// 切分完之后split大小是0 String[] s...
分类:编程语言   时间:2014-12-27 17:36:59    阅读次数:156
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!