码迷,mamicode.com
首页 >  
搜索关键字:nullptr null 0    ( 34233个结果
java 笔试
单例设计模式:public class Singliton { //no new private Singliton (){ } static Singliton ins = null; public static Singliton get(){ if(ins == null){ ...
分类:编程语言   时间:2014-06-18 22:52:01    阅读次数:238
刚学Android遇到的问题,findViewById值为null(新版本),老鸟欢迎你的指正
android findViewById 值为 null
分类:移动开发   时间:2014-06-18 22:40:33    阅读次数:380
【Leetcode】Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 思路:由【Leetcode】Linked List Cycle可知,利用一快一慢...
分类:其他好文   时间:2014-06-15 14:23:38    阅读次数:288
线程退出前操作
#include #include #include #include void cleanup(){ printf("cleanup\n");}void *test_cancel(void){ pthread_cleanup_push(cleanup,NULL); printf(...
分类:编程语言   时间:2014-06-15 13:13:00    阅读次数:225
Model层数据验证
问题1:View层如何向Controller的Action传递Model数据?在View中,可以使用Form表单进行模型数据的提交,同样的,我们需要关联提交数据的类型,则需要在View中使用@model + 数据类型不同的是,此时Model属性为null,而且Model是一个只读属性,我们不能使用它...
分类:其他好文   时间:2014-06-15 13:10:18    阅读次数:275
C++11 新特性之 nullptr
对于C和C++程序员来说,一定不会对NULL感到陌生。但是C和C++中的NULL却不等价。NULL表示指针不指向任何对象。 NULL是一个宏定义 在C中将NULL定义为void*指针值为0 #define NULL (void*)0 在C++中,NULL被定义为常数0 #ifndef NULL #ifdef __cplusplus #define NULL 0...
分类:编程语言   时间:2014-06-15 10:22:49    阅读次数:359
将html转换为word文档的几种方式
1 基于wps直接将页面信息下载成word文档 1 public void test() 2 { 3 4 WPS.Application wps = null; 5 try 6 { 7 ...
分类:Web程序   时间:2014-06-14 17:20:30    阅读次数:212
[LeetCode] Flatten Binary Tree to Linked List
1 迭代,重要关系 p->right = s.top(); 1 class flat{ 2 public: 3 void flatten(TreeNode* root) { 4 if (root == NULL) return; 5 ...
分类:其他好文   时间:2014-06-14 16:50:41    阅读次数:172
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:其他好文   时间:2014-06-14 15:48:59    阅读次数:217
UI标签库专题十二:JEECG智能开发平台 ckeditor(ckeditor插件标签)
??1. ckeditor(ckeditor插件标签)1.1. 参数属性名类型描述是否必须默认值namestring属性名称是nullvaluestring默认值否nullisfinderboolean是否加载ckfinder是truetypestring其它属性(用法: height:400,uiColor:'#9AB8F3' 用,分割)否null 1.2. 用法"name" isfinder=...
分类:其他好文   时间:2014-06-14 13:27:21    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!