码迷,mamicode.com
首页 >  
搜索关键字:is_null    ( 33914个结果
mysql workbench建表时PK,NN,UQ,BIN,UN,ZF,AI
[intrinsic column flags] (基本字段类型标识)- PK: primary key (column is part of a pk) 主键- NN: not null (column is nullable) 非空- UQ: unique (column is part of ...
分类:数据库   时间:2014-05-15 14:27:20    阅读次数:301
根据图像路径,创建CBitmap对象的方法
因为项目的关系,需要根据图像路径,创建CBitmap对象。起初查资料找到了LoadBitmap这个函数,根据CSDN得BOOL LoadBitmap ( LPCTSTRlpszResourceName);ParameterslpszResourceName:Points to a null-term...
分类:其他好文   时间:2014-05-15 14:16:30    阅读次数:337
Null Object模式
去除代码中的if(obj==null),或者try/catch语句.维持Code的一致性.Null对象,代表"什么也不做"的一个对象.使Null对象称为一个匿名内部类确保了该类只有单一实例.并且客户无法创建Null对象的其他实例.可以使用if(obj== Employee.Null)表达.[Agil...
分类:其他好文   时间:2014-05-15 13:54:47    阅读次数:224
Javascript的基本数据类型和判断
ECMAScript中有6种简单数据类型:Undefined,Null,Boolea,Number,String和Object,这些都是一些基本知识,有意思在后面 用javascript里的typeof检测一下这6个数据类型你会有新发现 “undefined” ---------- 如果值未定义 ....
分类:编程语言   时间:2014-05-15 10:54:52    阅读次数:365
c# 鼠标在控件上拖动 移动窗体 移动窗口
#region 移动窗体 移动窗口 private Point _mousePoint; private int topA(Control cc) { if (cc == null || cc == this) retu...
分类:移动开发   时间:2014-05-15 10:10:20    阅读次数:349
数组 对象!!
public class Test { public static void main(String[] string){ int[] i = new int[10]; System.out.println(i.equals(null)); }...
分类:其他好文   时间:2014-05-15 09:54:00    阅读次数:250
深入广播
深入广播单向群发,只要过滤条件匹配,都能接收到无序广播有序广播发送有序广播sendOrderedBroadcast(intent,null);//发送有序广播设置优先级:android:priority="1000"拦截:在高优先级的那边进行拦截//拦截广播abortBroadcast();拦截短信权限<uses-permissionandroid:name..
分类:其他好文   时间:2014-05-15 08:48:04    阅读次数:290
Leetcode | Implement strStr()
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.此题我觉得并不是真要你写出kmp算法。 指针暴力...
分类:其他好文   时间:2014-05-15 01:49:42    阅读次数:330
计数排序
第一、任意一个比较排序算法在最好情况下的时间复杂度也是O(nlogN); 第二、计数排序 假设n个输入元素的每一个都是介于0到k之间的整数,计数排序可用,需要临时存储空间O(K),时间复杂度是O(n). #include using namespace std; void countingSort(int *A,int len,int max) { if(A==NULL || len<...
分类:其他好文   时间:2014-05-14 23:58:58    阅读次数:382
谷歌浏览器的一个新特点——关于获取iframe的parent对象
Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match....
分类:其他好文   时间:2014-05-14 19:30:36    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!