码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
字符串和文件的MD5
1 【1】 计算文件MD5值的方法: 2 /// 3 /// 计算文件MD5值 4 /// 5 /// 需要计算的文件路径 6 /// MD5值 7 public static string MD...
分类:其他好文   时间:2014-06-12 20:26:40    阅读次数:233
ASP.NET前台后台相互调用
1.前台调用后台方法//前台代码//后台代码public string GetStr()//GetStr()须有返回值,public可换成protect,但不能是private{ string s = "Hello World!"; return s;}2.后台调用前台函数//前台代码/...
分类:Web程序   时间:2014-06-12 19:41:39    阅读次数:276
C#中List〈string〉和string[]数组之间的相互转换
1,从System.String[]转到ListSystem.String[] str={"str","string","abc"};List listS=new List(str);2, 从List转到System.String[]List listS=new List();listS.Add("...
分类:其他好文   时间:2014-06-12 19:24:08    阅读次数:206
2014年百度之星程序设计大赛 - 初赛(第二轮)
1001暴力#include #include #include using namespace std;const int maxn = 100100;int ll[maxn], rr[maxn];struct node{ int x, y, bj;}e[maxn];int main(){ int...
分类:其他好文   时间:2014-06-12 18:51:11    阅读次数:238
protobuf引用其它proto文件
在一个proto文件中引用其它proto文件时,使用import“xx.proto”的方式,记得需要加上双引号,否则生成文件的时候会提示:Expectedastringnamingthefiletoimport.
分类:其他好文   时间:2014-06-12 18:45:35    阅读次数:1994
js变量类型及检查
一、变量的类型 JavaScript 有六种数据类型。主要的类型有 Number、String、object 以及 Boolean 类型,其他两种类型为 null 和 undefined。var obj = {x:[1,2],y:23};//Object类型 i=100;//Number类型 i="...
分类:Web程序   时间:2014-06-12 18:00:51    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!