码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
LeetCode之“动态规划”:Scramble String
题目链接 题目要求: Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possib...
分类:其他好文   时间:2015-06-16 16:08:21    阅读次数:120
C#解析Json
public class TransportUtility { public static OuterClass GetTransportWeb(string actionName, string json) { var serverUrl =...
分类:Windows程序   时间:2015-06-16 16:06:53    阅读次数:136
Java如何将Exception.printStackTrace()转换为String输出
package com.test1; import java.io.PrintWriter; import java.io.StringWriter; public class T010 { /** * @param args */ publi...
分类:编程语言   时间:2015-06-16 16:03:56    阅读次数:214
x64 linux c 调用约定
《x86/x64体系探索及编程》中提到x64下只有一种调用约定,分别使用ecx,edx,edi,esi,r8d,r9d浮点数使用xmm0。。。。c代码:#include"stdio.h" #include"string.h" voidpp(inta,intb,intc,intd,inte,intf,intg,inth,inti,intj) {} voidmain(){ pp(1,2,3,4,5,6,7,8,9,0); }ma..
分类:系统相关   时间:2015-06-16 14:49:42    阅读次数:453
word转html
private void E_docx(string f_o) { //BLL.MedicalTypeBLL mdl = new BLL.MedicalTypeBLL(); //HiddenField1.Value = mdl.D_Medicals(f_o).Rows[0]["MEDICAL_TEM...
分类:Web程序   时间:2015-06-16 14:25:54    阅读次数:158
Spring MVC 学习笔记-----data binding
Servlet中的输入参数为都是string类型,而spring mvc通过data bind机制将这些string 类型的输入参数转换为相应的command object(根据view和controller之间传输数据的具体逻辑,也可称为model attributes, domain model...
分类:编程语言   时间:2015-06-16 14:24:12    阅读次数:144
throw new Exception
throw?new Exception(String,?Exception) throw new Exception(String) throw是明确地抛出异常 MSDN:Exception?(String,?Exception)?使用指定错误信息和对作为此异常原因的内部异常的引用来初始化?Excepti...
分类:其他好文   时间:2015-06-16 13:12:01    阅读次数:117
String类的常用方法(轻松玩转String)
1、length( ):查看字符串长度 2、charAt( ):获取字符串中的某个值 3、getBytes( ):将字符串转换为字节数组 4、toCharArray( ):将字符串转换为字符数组 5、compareTo( ):比较两个字符串的大小,相等返回0,大于返回正数,小于返回负数 6、compareToIgnoreCase( ):比较两个字符串的大小,不考虑大小写 7、toU...
分类:其他好文   时间:2015-06-16 13:11:28    阅读次数:121
字符串比较函数汇总
字符串比较函数汇总 char *strchr(const char *string, int c); 查找字符c在字符串string中首次出现的位置, NULL结束符也包含在查找中. 返回一个指针, 指向字符c在字符串string中首次出现的位置, 如果没有找到, 则返回NULL. char *strrchr(const char *string, int c); 查找字符c...
分类:其他好文   时间:2015-06-16 13:04:55    阅读次数:119
D3js-三种图表tooltip提示框总结介绍
参考资料: 1. 交互图表之提示条 2. 交互式之提示框 效果图: 源码: <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+p...
分类:Web程序   时间:2015-06-16 13:00:48    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!