码迷,mamicode.com
首页 >  
搜索关键字:stack frame    ( 16930个结果)
数据结构:栈
以下是完整代码: /* ?*?this?file?is?an?implementation?of?stack ?*?file?name:?stack.c ?*?author:?John?Woods ?*?date:?2015/5/9 ?*?statement:?anyone?can?use?this?file?for?a...
分类:其他好文   时间:2015-05-09 22:11:36    阅读次数:161
栈的应用之进制转化
顺序栈的代码: 不再赘述:点击打开链接 //栈的应用-----进制转化 #include"stack.h" int main() { Stack st; InitStack(&st); int select; int num1; //要转化的数 int num2; //转化之后各个位的数 int flag = 1; //控制循环结束 while(flag...
分类:其他好文   时间:2015-05-09 16:33:04    阅读次数:112
Objective-C 给分类添加“属性”——关联对象
给分类添加“属性”咱们知道,分类中可以添加方法,却无法添加属性。那咱们有其他的方法来实现吗? 先来看看下面这段代码:@interface UIView (nl_Frame) @property (nonatomic, assign) CGFloat nl_width; @end @implementation UIView (nl_Frame) - (void)setNl_width:(CGFlo...
分类:其他好文   时间:2015-05-09 16:31:25    阅读次数:170
GUI(Frame)
import java.awt.*;/** 创建图形界面:*/public class AwtDemo {public static void main(String[] args) { /* * 创建Frame窗体 */ Frame f=new Frame("my awt"); /* * 对...
分类:其他好文   时间:2015-05-09 14:53:45    阅读次数:102
html的framset使用
frameset主要用在显示多个页面的需求下:看代码: html frameset test View Code有几个属性要提醒一下的:1. 关键,如果想要在一个frame中通过超链接去改变...
分类:Web程序   时间:2015-05-09 12:59:29    阅读次数:191
C++中STL的一些代码
这次把C++中的STL的一些东西练习一下下,STL全称为  Standard Template Library ,也就是标准模板库,  要使用STL,要了解以下几个基本概念:         容器:可以把它理解为存放数据的地方,常用的一些容器有 链表(list) 栈(stack) 动态数组 (vector) 双端队列(deque) 队列(queue) 映射(map)         游标(it...
分类:编程语言   时间:2015-05-09 11:52:16    阅读次数:143
Android之属性动画、值动画
Android属性动画 什么是Android属性动画 同类技术对比 补间动画Tween Animation 帧动画Frame Animation 属性动画Property Animation 属性动画组成部分相关类介绍 ObjectAnimator对象动画执行类 介绍 示例 ValueAnimator 值动画执行类 介绍 示例 PropertyValuesHolder 属性存储器 介绍 示例 Key...
分类:移动开发   时间:2015-05-09 11:45:19    阅读次数:234
【数据结构】 栈实现 十进制到八进制的转化
1.利用栈的基本操作#include #include #include #define STACKSIZE 100 typedef int ElemType; typedef struct { ElemType stack[STACKSIZE]; int top; }SeqStack; void Conversion(int N)...
分类:其他好文   时间:2015-05-09 06:36:27    阅读次数:122
js数据结构描述--栈
//栈的实现 function stack(){ this.dataStore = []; this.top = 0; this.pop = pop; this.push = push; this.peek = peek; }
分类:Web程序   时间:2015-05-08 23:35:45    阅读次数:131
IOS学习之 记录autolayout后的frame的处理
界面使用自动布局后,在代码中的viewDidLoad方法中获取到UIView的frame的值不是实时的,依旧是相对于600*600的界面的frame。需要在viewWillAppear或者viewDidAppear的方法中获取UIView的frame,才是正确的,因为此时的view才全部初始化了。记录一个CAGradientLayer的frame的问..
分类:移动开发   时间:2015-05-08 15:13:38    阅读次数:417
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!