码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
T端判断装备等级
GetProto()->ItemLevel 判断装备等级 HandleBattleFieldPortOpcode 进入战场,。 bool ChatHandler::HandlegetHitemlvlCommand(const char* args){ Player* target; ...
分类:其他好文   时间:2014-05-28 04:11:14    阅读次数:249
一个jQuery扩展工具包
带有详尽注释的源代码:var jQuery = jQuery || {};// TODO// ###################################string操作相关函数###################################jQuery.string = jQuer...
分类:Web程序   时间:2014-05-28 04:07:56    阅读次数:373
[读书笔记]算法(Sedgewick著)·第二章.初级排序算法
三个初级排序算法(选择、插入、希尔)以及比较。
分类:其他好文   时间:2014-05-28 04:05:09    阅读次数:261
【LeetCode】Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-05-28 04:03:54    阅读次数:240
php Exception方法
getCode() 如果有,将返回收到的异常代号getMessage() 如果有,将返回收到的异常信息getFile() 返回发生异常的文件名getLine() 抛出异常的的代码行数getTrace() 一个诸如文件名、行号等信息的数组getTraceAsString() 与getTrace()返回...
分类:Web程序   时间:2014-05-28 04:02:42    阅读次数:293
asp.net常见面试题(一)
1、索引器 1 class Player 2 { 3 private int[] arr = new int[100]; 4 public int this[int index] 5 { 6 get { 7 ...
分类:Web程序   时间:2014-05-28 04:00:03    阅读次数:216
开始——写写写写写写博客
希望自己能坚持下去,坚持到自己都不认识自己。#include int main(){printf("Hello,cnblogs! \n I can hold on! ");return 0;}
分类:其他好文   时间:2014-05-28 03:59:27    阅读次数:230
NOIP 2007 守望者的逃离 动态规划
【问题描述】恶魔猎手尤迪安野心勃勃,他背叛了暗夜精灵,率领深藏在海底的娜迦族企图叛变。守望者在与尤迪安的交锋中遭遇了围杀,被困在一个荒芜的大岛上。为了杀死守望者,尤迪安开始对这个荒岛施咒,这座岛很快就会沉下去。到那时,岛上的所有人都会遇难。守望者的跑步速度为17m/s,以这样的速度是无法逃离荒岛的。...
分类:其他好文   时间:2014-05-28 03:58:46    阅读次数:238
[Scala] Currying
Currying是一種函數式編程技巧, 指的是把接受多個參數的函數變換成接受一個單一參數的函數。 以一個簡單的例子在Scala中實現.. def f(a:Int, b:Int)={ a+b }//f(2,3)=5//Currying def curried(a:Int)(b:Int){ a+b }/...
分类:其他好文   时间:2014-05-28 03:58:12    阅读次数:242
Custom UIView 通过xib实现一个简单地自定义视图
1 /**2 * 使用Custom UIView的这条路,我走的很不顺利,前期犯2,中期有事,浪费了很多时间!3 * 现在空闲的时间不多了,只能抓紧时间写两个小demo,一来做练习,二来整理下也许能给要学习的人一些帮助!4 */1 /**2 * Custom UIView常用的三种实现...
分类:其他好文   时间:2014-05-28 03:57:34    阅读次数:316
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!