码迷,mamicode.com
首页 >  
搜索关键字:string null    ( 125062个结果
AnimatorStateInfo
AnimatorStateInfoNamespace: UnityEngineDescriptionInformation about the current or next state.AnimatorStateInfo.nameHashvarnameHash: int;DescriptionNa...
分类:其他好文   时间:2014-05-01 13:29:12    阅读次数:592
提高SQL语句查询效率
1.对查询进行优化,应尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在num...
分类:数据库   时间:2014-05-01 13:23:55    阅读次数:443
vc 按钮自绘
按钮自绘,将按钮区域分成三部分,左边、右边、中间都由贴图绘制,可用于手动进度条按钮,或者左右选择项按钮cpp代码部分:[cpp]view plaincopy//LRSkinButton.cpp:implementationfile//#include"stdafx.h"#include"CRedra...
分类:其他好文   时间:2014-05-01 13:21:22    阅读次数:376
柔性数组(结构体最后一个域为0/1数组)
结构体最后的长度为0或1数组的作用(转载)2012-05-07 17:07:09其实很 早在看LINUX下就看到这个东西,后来在MFC内存池里同样也看到了类似的东西,还依照MFC写过一个类似的小内存池,(MFC用的是return this + 1)后来在李先静的《系统程序员成长计划》里看到了类似的定...
分类:其他好文   时间:2014-05-01 13:20:44    阅读次数:328
从指定的路径中查找含有特殊字符串的文件
import java.io.*;import java.util.*;import java.util.concurrent.*;public class SearchFile{ public static void main(String ... strings) { final int FI....
分类:其他好文   时间:2014-05-01 13:18:50    阅读次数:253
简单工厂模式
简单工厂模式: 自己的理解:一个类有多种子类,牵涉到要实例化某种子类,用工厂模式来生成对应的实例对象.比如如下的计算器的设计:Operation:操作类的基类 1 class Operation 2 { 3 public: 4 Operation(double lhs,double rhs...
分类:其他好文   时间:2014-05-01 13:17:25    阅读次数:419
19 inflate用法
LayoutInflater inflater=(LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);View layout = inflater.inflate(R.layout.main, null);...
分类:其他好文   时间:2014-05-01 13:10:22    阅读次数:310
POJ 3701 概率DP
给定2^n 支足球队进行比赛,n 3: #include 4: #include 5: #include 6: #include 7: using namespace std; 8: 9: double p[135][135]; 10: double dp[135][10]; 11: 12: pai...
分类:其他好文   时间:2014-05-01 13:07:14    阅读次数:384
Xcode环境下OpenGL C++ GLFW开发环境搭建
操作系统版本:MacOS Mavericks 10.9.2Xcode版本:5.0.1OpenGL版本:4.10GLFW版本:3.0.4一、GLFW编译1、下载并安装cmake(当前最新版本为2.8.12.2)http://www.cmake.org/cmake/resources/software....
分类:编程语言   时间:2014-05-01 13:02:37    阅读次数:1409
js跨域post请求
1 function funPostBack(srvMethod){ 2 /* 3 var contentNR=$(document.getElementById("reportFrame").contentWindow.document).find("#conte...
分类:Web程序   时间:2014-05-01 12:58:08    阅读次数:643
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!