码迷,mamicode.com
首页 >  
搜索关键字:empty    ( 6963个结果
NGUI使用4——创建动态字体
1 在开始在菜单中直接搜字体,拷贝几个字体至unity(ttf格式)2 创建一个空的游戏体:GameObject --> Crete Empty,为了方便管理,把这游戏体重命名为Font_xirod 。3 在 Inspector 面板中,为这个空游戏体添加 NGUI Font 这个脚本组件。(查找 ...
分类:其他好文   时间:2015-06-05 22:31:07    阅读次数:160
POJ 1308 Is It A Tree?
Is It A Tree? Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 24299   Accepted: 8339 Description A tree is a well-known data structure that is either empty...
分类:其他好文   时间:2015-06-04 22:49:07    阅读次数:146
STL --> stack栈
stack栈c++stack(堆栈)是一个容器的改编,它实现了一个先进后出的数据结构(FILO)使用该容器时需要包含#include头文件;定义stack对象的示例代码如下:stacks1;stacks2;stack的基本操作有:1 s.empty() 如果栈为空...
分类:其他好文   时间:2015-06-04 22:30:13    阅读次数:103
分享一段php获取任意时间的前一天代码
<?php /** * 获取给定日期的前一天 * @param string $date * @return string $yesterday */ function getYesterday($date) { if(empty($date)) { $yesterday = date("Y-m-d",strtotime("-1 day")); }e...
分类:Web程序   时间:2015-06-04 15:43:29    阅读次数:173
C# Process的使用
private static string ExecuteCmd(string wrokDirectory, string dosCommand) { string output = string.Empty; if (string.IsNullOrEmpty(...
分类:Windows程序   时间:2015-06-04 15:08:39    阅读次数:135
null 与 string.IsNullOrEmpty 区别
!=null就是不为null!string.IsNullOrEmpty不是null且不是""(string.Empty)-----------Response:!=null就是不为null!string.IsNullOrEmpty不是null且不是""(string.Empty)
分类:其他好文   时间:2015-06-04 13:44:57    阅读次数:121
LeetCode 44:Wildcard Matching
Implement wildcard pattern matching with support for '?' and '*'. '?' Matches any single character. '*' Matches any sequence of characters (including the empty sequence). The matching should cov...
分类:其他好文   时间:2015-06-03 23:28:01    阅读次数:162
php随机抽奖实例分析
$award) { self::$proSum += $award[self::$proField]; } if (empty(self::$proSum)) { return self::$checkAward = fals...
分类:Web程序   时间:2015-06-03 19:06:17    阅读次数:124
【Scramble String】cpp
题目:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representat...
分类:其他好文   时间:2015-06-03 15:33:00    阅读次数:168
LeetCode之“字符串”:Length of Last Word & Reverse Words in a String
1.Length of Last Word Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the st...
分类:其他好文   时间:2015-06-03 15:17:39    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!