码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果)
Rotate List —— LeetCode
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.题目大意:...
分类:其他好文   时间:2015-05-20 14:39:18    阅读次数:106
1.3单链表的设计与实现
实现单链表的基本操作,包括链表的建立与释放,查找,求长度,查找后继,插入,删除,输出等函数. //调试环境:DevC++ //库文件和预设定义 #include #include #define NULL 0 typedef int ElemType;//指定单链表中的数据类型 //单链表存储结构定义 typedef struct LNode { ElemType data;//数...
分类:其他好文   时间:2015-05-20 13:12:13    阅读次数:128
Java外观模式(Facade模式)
外观模式(Facade)的定义:为子系统中的一组接口提供一个一致的界面。 Facade一个典型应用就是数据库JDBC的应用,如下例对数据库的操作: public class DBCompare {  Connection conn = null;  PreparedStatement prep = null;  ResultSet rset = null;  try {   Cl...
分类:编程语言   时间:2015-05-20 13:11:03    阅读次数:156
文件下载cordovaFileTransfer:cordova.file.documentsDirectory is null
在Android平台上使用:$cordovaFileTransfer进行文件下载时提示:cordova.file.documentsDirectory is null,查了以下文档参照:http://ngcordova.com/docs/plugins/file/,documentsDirector...
分类:其他好文   时间:2015-05-20 12:41:06    阅读次数:369
avformat_open_input() always return -13
我在调用avformat_open_input的时候,一直返回-13错误,如下代码: const char *url = "/mnt/sdcard/xpg.mp4"; av_register_all(); AVFormatContext *pFormatCtx = NULL; int ret = avformat_open...
分类:其他好文   时间:2015-05-20 11:31:43    阅读次数:692
iOS中nil 、NULL、 Nil 、NSNull的详解(一)
iOS中nil 、NULL、 Nil 、NSNull的详解...
分类:移动开发   时间:2015-05-20 11:19:41    阅读次数:174
Java for LeetCode 092 Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->...
分类:编程语言   时间:2015-05-20 11:10:04    阅读次数:280
【C语言】浅谈strtok()与NULL
一、strtok(  )函数 strtok(  )函数包含于头文件string.h 语法:char *strtok( char *str1, const char *str2 );  功能:函数返回字符串str1中紧接“标记”的部分的指针, 字符串str2是作为标记的分隔符。如果分隔标记没有找到,函数返回NULL。为了将字符串转换成标记,第一次调用str1 指向作为标记的分隔符。之后...
分类:编程语言   时间:2015-05-20 09:50:38    阅读次数:302
显示一个托盘
1 private NotifyIcon notifyIcon = null; //这里在窗体上没有拖拽一个NotifyIcon控件,而是在这里定义了一个变量 2 public Form1() 3 { 4 InitializeCompone...
分类:其他好文   时间:2015-05-20 09:31:07    阅读次数:108
util.js
jQuery.extend({ parseJSON: function (data) { if (typeof data !== "string" || !data) { return null; } // Make sure leading/trailing whitespace is remov...
分类:Web程序   时间:2015-05-20 08:15:37    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!