码迷,mamicode.com
首页 >  
搜索关键字:nullptr null 0    ( 34233个结果
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
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
学习C/C++语言:结构体,动态链表
//*************************************************************** //结构体:简单的静态链表 #include #include #define NULL 0 #define SIZE 10 struct student { char num[SIZE]; float score; struct student *next; ...
分类:编程语言   时间:2014-05-15 02:55:09    阅读次数:359
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
学习C/C++语言:文件的操作
#include #include void main(int argc,char *argv[]) { FILE *in,*out; if(argc!=3) { printf("you forgot to enter a file name\n"); exit(0); } if((in=fopen(argv[1],"r"))==NULL) { printf("cannot...
分类:编程语言   时间:2014-05-14 21:37:56    阅读次数:321
谷歌浏览器的一个新特点——关于获取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
迷上了代码!