码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果
MySQL不容忽视SQL_MODE的设置
CREATE DATABASE db_test;CREATE TABLE `tb1` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', `rank` int(10) unsigned NOT NULL DEFAULT...
分类:数据库   时间:2015-04-02 16:21:10    阅读次数:174
PHP反转中文字符串
借用多字节字符串函数function my_reverse($str=null){ $encode = mb_detect_encoding($str); for($i = 0 ; $i < mb_strlen($str,$encode) ; $i++) { ...
分类:Web程序   时间:2015-04-02 14:52:09    阅读次数:261
C#基本语法复习-创建并管理类和对象
控制可访问性: private一个方法或字段只允许从类的内部访问,private关键字是默认的 public方法或字段既能从类的内部访问也能从外部访问 方法中声明的变量默认是不初始化的,而类中的字段自动初始化为0,null,false使用构造器: 与类同名。能获取参数,但不能返回任何的值(即...
分类:Windows程序   时间:2015-04-02 14:48:17    阅读次数:152
php中对数字类型的处理是:ceil floor round intval sprintf number_format
1 '; //123,45739 echo number_format($number,null,null,' ').''; //123 45740 echo number_format($number,2,'.','').''; //123456.7941 ...
分类:Web程序   时间:2015-04-02 13:13:35    阅读次数:136
Introduce Null Object
【Introduce Null Object】
分类:其他好文   时间:2015-04-02 13:10:56    阅读次数:104
leetcode || 61、Rotate List
problem: Given a list, rotate the list to the right by k places, where k is non-negative. For example: Given 1->2->3->4->5->NULL and k = 2, return 4->5->1->2->3->NULL. Hide Tags  L...
分类:其他好文   时间:2015-04-02 10:31:03    阅读次数:117
cpp反汇编之构造函数2
先献上源代码 #include class CNumber { public: CNumber() { m_nNumber = 1; } int m_nNumber; }; void main() { CNumber *pNumber = NULL; pNumber = new CNumber; pNumber->m_nNumber = 3; printf("%d \r\n...
分类:其他好文   时间:2015-04-02 09:14:10    阅读次数:236
Lintcode: Nth to Last Node in List
Find the nth to last element of a singly linked list. The minimum number of nodes in list is n.ExampleGiven a List 3->2->1->5->null and n = 2, return....
分类:其他好文   时间:2015-04-02 06:34:52    阅读次数:101
android sqlite支持的数据类型
Sqlite3支持的数据类型 :NULL、INTEGER、REAL、TEXT、BLOB但实际上,sqlite3也接受如下的数据类型: smallint 16 位元的整数。 interger32 位元的整数。 decimal(p,s) p 精确值和 s 大小的十进位整数,精确值p是指全部有几个数(.....
分类:移动开发   时间:2015-04-02 01:02:04    阅读次数:365
leetcode_num98_Validate Binary Search Tree
判断是否为二叉搜索树 定义上下确界 /** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} *...
分类:其他好文   时间:2015-04-01 23:51:43    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!