import java.util.Stack;public class StringReverse { public static String reverse1(String s) { int length = s.length(); if (length = 0; i--) revers...
分类:
编程语言 时间:
2014-07-24 14:38:35
阅读次数:
291
题目链接:点击打开链接
gg。。。
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ll int
#define point Poin...
分类:
其他好文 时间:
2014-07-24 12:24:55
阅读次数:
256
一 MFC课程的安排 MFC - 微软基础类库和框架 COM - 组件对象的编程原理和应用 ADO - WINDOWS下 数据库的访问和操作 SOCKET - WINDOWS下网络通信编程二 需要掌握的技能 熟练掌握 断点调试 程序 学会使用 call stack(调用堆栈)查看函数之间...
分类:
其他好文 时间:
2014-07-24 00:51:57
阅读次数:
254
vi/etc/security/limits.confroot soft nofile 4096root hard nofile 65536root soft noproc 2047root hard noproc 16384root soft stack 10240root hard stack....
分类:
系统相关 时间:
2014-07-23 14:59:16
阅读次数:
291
理解stack栈的三种含义:数据结构、代码运行方式、内存区域...
分类:
其他好文 时间:
2014-07-23 13:13:16
阅读次数:
180
Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组Object,即C....
分类:
其他好文 时间:
2014-07-23 12:53:56
阅读次数:
264
首先分清楚Stack,Heap的中文翻译:Stack—栈,Heap—堆。 在中文里,Stack可以翻译为“堆栈”,所以我直接查找了计算机术语里面堆和栈开头的词语: 堆存储: heapstorage 堆存储分配: heapstorage allocation 堆存储管理: heap s...
分类:
编程语言 时间:
2014-07-23 12:51:26
阅读次数:
265
集合类说明及区别Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最基本的集合接口,一个Collection代表一组O....
分类:
编程语言 时间:
2014-07-23 11:31:16
阅读次数:
234
堆和栈的区别 (转贴) 非本人作也!因非常经典,所以收归旗下,与众人阅之!原作者不祥!堆和栈的区别一、预备知识—程序的内存分配一个由c/C++编译的程序占用的内存分为以下几个部分1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。2、堆...
分类:
其他好文 时间:
2014-07-22 22:44:15
阅读次数:
326
set
------------------------------------------------------------------------
所有元素都会根据元素的键值自动被排序。
不可以通过 set 的迭代器改变 set 的元素值。因为 set 元素值就是其键值,关系到 set 元素的排列规则。
set::iterator 被定义为底层 RB-tree 的 const_iterator,杜绝写入操作
标准的 STL set 以 RB-tree 为底层机制,就像 stack 以 dequ...
分类:
其他好文 时间:
2014-07-22 22:34:33
阅读次数:
231