码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
jquery.easyui使用详解,和遇到的问题,提供大家在使用的时候少走弯路(二)
上次解释了几个易犯错的地方,当然对于大神们那都是小菜一碟了,今天来说说后台请求数据,分页,返回json数据废话不多说献上代码 private string QueryList(ArrayList arrayList) { //ArrayList ret = new Arra...
分类:Web程序   时间:2015-02-05 20:23:44    阅读次数:379
Char型和string型字符串比较整理
char型数组与string字符串操作比较
分类:其他好文   时间:2015-02-05 20:22:58    阅读次数:224
Effective C++ 总结(三)
五.实现条款26:尽可能延后变量定义式的出现时间 如果你定义了一个变量且该类型带一个构造函数或析构函数,当程序到达该变量时,你要承受构造成本,而离开作用域时,你要承受析构成本。为了减少这个成本,最好尽可能延后变量定义式的出现时间。举例说明:string encryptPassword(const ....
分类:编程语言   时间:2015-02-05 20:22:44    阅读次数:217
Python基础:Python可变对象和不可变对象
Python在heap中分配的对象分成两类:可变对象和不可变对象。所谓可变对象是指,对象的内容是可变的,例如list。而不可变的对象则相反,表示其内容不可变。不可变对象:int,string,float,tuple可变对象 :list,dictionary对于全局变量来说,可变对象和不可变对象有很大...
分类:编程语言   时间:2015-02-05 20:21:48    阅读次数:182
$.ajax()方法详解
jquery中的ajax方法参数总是记不住,这里记录一下。1.url:要求为String类型的参数,(默认为当前页地址)发送请求的地址。2.type:要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支...
分类:Web程序   时间:2015-02-05 20:12:29    阅读次数:129
Josn转换
也是搬的,大家勿喷,贴出来只为了自己记忆查找需要引用System.Web.Extensions.dll 这个类库命名空间:System.Web.Script.Serialization数据结构public class Team { public string Name { get; set; } p...
分类:其他好文   时间:2015-02-05 20:09:23    阅读次数:119
Scala 获取一个url的内容存到本地文件
1, 下载有效url的内容 /** * 获取一个有效的url地址的内容存到本地的本件中 * @param url * @param file */ def downloadUrlFile(url: String, file: String) = { val pw = new PrintWriter(file) ...
分类:Web程序   时间:2015-02-05 18:52:01    阅读次数:177
win32 wstring <-> string
static std::string w2c(std::wstring str) { int nlength = str.length(); int nbytes = WideCharToMultiByte(0,0,str.c_str(),nlength,NULL,0,NULL,NULL); if(nbytes == 0) return ""; char*buff = n...
分类:Windows程序   时间:2015-02-05 18:51:19    阅读次数:364
Linux C代码实现cgi shell
C语言实现cgiwebshell#include<stdio.h> #include<stdio.h> #include<string.h> #include<unistd.h> #include<stdlib.h> #include<sys/types.h> #include<sys/socket.h> #include<netinet/in.h> #include<arpa/inet.h> ..
分类:系统相关   时间:2015-02-05 18:45:18    阅读次数:332
Java输出(2.0 - 1.1)
package com; public class Welcome { public static void main(String[] args) { // TODO Auto-generated method stub int a = 0b1001; Float b = 11.5F; Double c = 33.567D; System.out.println...
分类:编程语言   时间:2015-02-05 18:23:24    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!