码迷,mamicode.com
首页 >  
搜索关键字:defined    ( 2488个结果
类和对象-4
一个考试成绩结果统计的小程序,共3个文件Analysis.h:头文件声明// Analysis.h// Definition of class Analysis that analyzes examination results.// Member-function is defined in An...
分类:其他好文   时间:2014-06-06 12:46:19    阅读次数:206
Animation Parameter
【Animation Parameter】 Animation Parameters are variables that are defined within the animation system but can also be accessed and assigned values fr....
分类:其他好文   时间:2014-06-04 16:29:33    阅读次数:304
projecteuler---->problem=14----Longest Collatz sequence
title: The following iterative sequence is defined for the set of positive integers: n n/2 (n is even) n 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the followi...
分类:其他好文   时间:2014-06-04 13:56:33    阅读次数:254
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-06-03 14:00:56    阅读次数:281
Amicable numbers -- Javascript 实现
问题描述: Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a  b, then a and b are an amicable pair and each ...
分类:编程语言   时间:2014-06-02 12:31:42    阅读次数:298
LeetCode: Validate Binary Search Tree [098]
【题目】 Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains only nodes with ke...
分类:其他好文   时间:2014-06-02 10:29:55    阅读次数:257
uboot中gd的定义和使用
最近在做uboot中nand启动相关的工作,遇到一个问题一直纠结着。现在终于明白了这个问题,想想还有好多兄弟在某个黑暗的角落里或者某台电脑前纠结着呢,所以赶紧写下来以供查阅。 uboot version 2014.4 /* Architecture-specific global data */ struct arch_global_data { #if defined(CONFIG_FS...
分类:其他好文   时间:2014-06-01 10:27:38    阅读次数:314
javascript 火狐event.keyCode不能使用event is not defined
在项目中,登录时需要enter按钮提交页面所以需要监听键盘输出但是在火狐中不支持event.code所以换了中写法1:form中加入时间传入event2:监听判断是否为enter按钮。 function onKeyPressBlockNumbers(e) { var key = ...
分类:编程语言   时间:2014-05-31 16:55:04    阅读次数:281
WinCE下带编辑与下拉功能的ListCtrl
CListCtrl带编辑功能与下拉功能的本质即在列表中嵌入CEdit和CComboBox控件,其具体代码如下所示://InPlaceEdit.h#if !defined(AFX_INPLACEEDIT_H__175AEDFF_731E_4721_8399_DE406A465861__INCLUDED...
分类:Windows程序   时间:2014-05-31 07:54:58    阅读次数:547
Summary of HashMap in Java
The tricky thing is how to decide the key for a hashmap. Especially when you intend to use self-defined objects as key.The simple rule is you have to ...
分类:编程语言   时间:2014-05-29 09:08:40    阅读次数:362
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!