码迷,mamicode.com
首页 >  
搜索关键字:stack frame    ( 16930个结果)
[C++]LeetCode: 95 Binary Tree Preorder Traversal (先序遍历)
题目: Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recursive...
分类:编程语言   时间:2015-01-14 22:59:13    阅读次数:174
两道递归算法题
第一题: 给出{1, 2, 3,…, n}的入栈顺序, 输出所有可能的出栈顺序 #include "stdafx.h" #include #include #include #include #include using namespace std; int n = 0; typedef stack...
分类:编程语言   时间:2015-01-14 22:47:14    阅读次数:273
监听器
1 事件三要素 a)事件源:操作事件的对象,例如:窗体Frame b)事件监听器:事件监听器监听事件源,例如WindowListner,它是一个接口 c)事件,例如:单击事件,通过事件,可以取得事件源2 适配器模式 a)当一个接口有较多的方法时,而实现类只需对其中少数几...
分类:其他好文   时间:2015-01-14 21:24:12    阅读次数:278
JavaSE 窗口事件类(WindowEvent)实现
{相关信息}窗口事件(WindowEvent)指窗口状态改变的事件,例如当窗口 Window 对象的打开、关闭、激活、停用或者焦点转移到窗口内,以及焦点移除而生成的事件,一般发生在 Window、Frame、Dialog 等类的对象上。使用窗口事件必须为组件添加一个实现 WindowListener...
分类:编程语言   时间:2015-01-14 21:19:11    阅读次数:194
IOS8开发之:基于Swift实战UI从入门到精通(5大项目、深入解析拉手团购项目)
IOS8基础组件UIButton/UIImage使用,Tag使用,Frame使用,transform使用IOS8各类连线及错误解决办法适合对象:swift人群,oc转swift人群,大学老师及学生,爱好ios开发人士。学习条件:有一定swift基础,oc基础,或其他任何编程语言基矗需要更多相关资料可以联系Q2748165793课..
分类:移动开发   时间:2015-01-14 18:23:08    阅读次数:320
[C++]LeetCode: 93 Binary Search Tree Iterator (经典题,非递归的中序遍历)
题目: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the next smallest number in the BST. Note:...
分类:编程语言   时间:2015-01-14 18:01:28    阅读次数:182
数据结构基础(21) --DFS与BFS
DFS    从图中某个顶点V0 出发,访问此顶点,然后依次从V0的各个未被访问的邻接点出发深度优先搜索遍历图,直至图中所有和V0有路径相通的顶点都被访问到(使用堆栈). //使用邻接矩阵存储的无向图的深度优先遍历 template void Graph::DFS() { stack iStack; showVertex(0); vertexList[0]->wasVi...
分类:其他好文   时间:2015-01-14 16:55:55    阅读次数:204
前台技术学习
html 标记性语言,解释用的。 新建html,basic的。 框架 Top.html bottom.html left.html main.html right.html (Frame) 这里是index.html 如果是frameset的话,就不需要body了。 如何重新部署服务器 点击 第一个...
分类:其他好文   时间:2015-01-14 08:29:00    阅读次数:129
jquery flot 画柱状图
具体效果: 代码如下: $(function () { var d1 = [ { label: "Bar", data: [ [1, 13], [2, 11], [3, 7] ] } ]; var stack = 0, bars = true, lines =...
分类:Web程序   时间:2015-01-13 23:26:41    阅读次数:693
仿网易新闻客户端
先上图,大家可以看下我做的效果图。 1.我已经做了屏幕适配了,首先获取屏幕的宽和高, CGRect rect = [[UIScreen mainScreen] bounds]; ScWidth = rect.size.width; ScHeight = rect.size.height; 设置控件frame的时候,我尽量使用到这两个变量。 2.我使用了导航控制器来p...
分类:其他好文   时间:2015-01-13 23:26:23    阅读次数:571
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!