码迷,mamicode.com
首页 >  
搜索关键字:stack frame    ( 16930个结果)
数据结构(2) -- 堆栈
1、顺序存储//栈的顺序存储实现//Stack.h#ifndef STACK_H_#define STACK_H_#define ElementType int #define MaxSize 100typedef struct _Node{ ElementType data[MaxSize]...
分类:其他好文   时间:2015-04-05 21:45:16    阅读次数:117
Pro5 从头到尾打印链表(java)
注:(1)这里体现了java数据结构与C语言的不同之处(2)栈的操作直接利用stack进行 1 package com.xsf.SordForOffer; 2 3 import java.util.Stack; 4 5 6 /* 7 *剑指offer 8 *pro5 链表逆序输出 9 ...
分类:编程语言   时间:2015-04-05 21:42:41    阅读次数:175
设置UIButton文字大小颜色不同
_loginBtn = [[UIButton alloc]initWithFrame:CGRectMake(iconX, CGRectGetMaxY(passwordBGView.frame)+25, 280, 35)];[_loginBtn setTitle:@"进入游戏\nSTART GAME"...
分类:其他好文   时间:2015-04-05 20:27:58    阅读次数:223
Stack
#includeusing namespace std;class Stack{ int top; int data[10];public: Stack(); bool empty(); void push(int dat); int pop();};Stack:...
分类:其他好文   时间:2015-04-05 17:23:39    阅读次数:91
中缀表达式转后缀表达式
中缀表达式转后缀表达式 2015-04-05 Lover雪儿 1 //中缀表达式转换为后缀表达式(逆波兰表达式) 2 #include 3 #include 4 #include 5 #include 6 7 #define STACK_INIT_SIZE 20...
分类:其他好文   时间:2015-04-05 17:18:28    阅读次数:141
栈实现逆波兰表达式
栈实现逆波兰表达式 2015-04-05 Lover雪儿 1 //逆波兰表达式 2 #include 3 #include 4 #include 5 #include 6 7 #define STACK_INIT_SIZE 20 //初始栈大小 8 #d...
分类:其他好文   时间:2015-04-05 15:56:54    阅读次数:166
ZOJ 3326 An Awful Problem 模拟
只有在 Month 和 Day 都为素数的时候才能得到糖那就模拟一遍时间即可.//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #in...
分类:其他好文   时间:2015-04-05 15:49:49    阅读次数:126
HDU 1022 Train Problem I stack 基础题
题意:有一个火车站,只有一个口同时用于进入和出去,但不能有2辆或以上同时进出。给出一个n代表有n辆火车(n 2 #include 3 #include 4 using namespace std; 5 char in[12]; 6 char out[12]; 7 int ans[24]; 8 int...
分类:其他好文   时间:2015-04-05 13:16:36    阅读次数:129
C语言栈队列实现二-十/二-八进制转换
C语言栈队列实现二-十/二-八进制转换 2015-04-05 Lover雪儿 1 //利用栈来求取二进制数的十进制与八进制的结果 2 #include 3 #include 4 #include 5 6 #define STACK_INIT_SIZE 20 //初始栈大...
分类:编程语言   时间:2015-04-05 13:14:10    阅读次数:156
UIActivityIndicatorView使用
UIActivityIndicatorView显示一个标准的旋转进度轮,类似网页AJAX加载时的图标。 letloadIndicator = UIActivityIndicatorView(frame: CGRectMake(100, 100, 32, 32)) //指示器的风格,可选为:Gr...
分类:其他好文   时间:2015-04-05 13:10:35    阅读次数:97
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!