码迷,mamicode.com
首页 >  
搜索关键字:value    ( 37865个结果
C# 2012 step by step 学习笔记8 CHAPTER 9 Creating Value types with enumerations and Structures
C# 2012 step by step.学习笔记摘录...
分类:其他好文   时间:2014-06-19 09:39:57    阅读次数:285
NSString 转换
NSString *tempA = @"123";NSString *tempB = @"456";1,字符串拼接NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB];2,字符转intint intString =...
分类:其他好文   时间:2014-06-16 10:46:44    阅读次数:170
[转]解决a different object with the same identifier value was already associated with the session错误
NonUniqueObjectException解决a different object with the same identifier value was already associated with the session错误org.hibernate.NonUniqueObjectExce...
分类:其他好文   时间:2014-06-16 08:13:40    阅读次数:194
cctype头文件中的一些内容
1. string 标准库1.1初始化string s1;默认构造函数s1为空string s2(s1);将s2初始化为s1的一个副本string s3(“value”);将s3初始化为一个字符串字面值副本string s4(n,’c’);将s4初始化为字符’c’的n个副本string对象的赋值:赋...
分类:其他好文   时间:2014-06-16 00:37:25    阅读次数:331
cocos2dx跨平台使用自定义字体
首先需要一个ttf文件的字体。在ios中的方法:把ttf文件放入资源文件下,然后在你的工程的Info.plist文件中新建一行(Add Row),添加key为:Fonts provided by application,类型为Array或Dictionary都行;添加Value为XXX.ttf(你字...
分类:其他好文   时间:2014-06-13 19:56:52    阅读次数:428
解决php函数json_encode转换后中文被编码为unicode
大家都知道使用函数json_encode()可以方便快捷地将数组进行json编码转换,但是如果数组值存在着中文,json_encode会将中文转换为unicode编码,例如:$value){ $data[] = urlencode($value);}echo urldecode(json_en...
分类:Web程序   时间:2014-06-13 19:49:45    阅读次数:510
jquery 根据值设置radio选中状态
radio选中$("input[name=test][value=34]").attr("checked",true);//value=34的radio被选中$("input[id=testid][value=34]").attr("checked",true);//value=34的radio被选...
分类:Web程序   时间:2014-06-13 19:23:59    阅读次数:698
[2013] 链表逆序
题目二:逆序链表输出。题目描述: 将输入的一个单向链表,逆序后输出链表中的值。链表定义如下:typedef struct tagListNode { int value; struct tagListNode *next; }ListNode; 要求实现函数: void converse...
分类:其他好文   时间:2014-06-13 18:35:48    阅读次数:203
ajax & jsonp & img
ajax 是一种请求服务器的方式,核心是XMLHttpRequest对象;优点是无需刷新页面,缺点是不能跨域请求。/* * Ajax direacted by Zakas * * Ajax.get("url?p=value", function (data) { // handle data },....
分类:Web程序   时间:2014-06-12 09:37:20    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!