直接上Code,上Pic
#include
#include
using namespace std;
// STL在迭代的过程中,删除指定的元素
int main()
{
list listTest;
listTest.push_back(-1);
listTest.push_back(-1);
listTest.push_back(-1);
listTest.push_b...
分类:
其他好文 时间:
2014-06-22 22:31:07
阅读次数:
280
??
Artifacts
工件
“Hello, World!”
is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, trigge...
分类:
其他好文 时间:
2014-06-22 19:50:03
阅读次数:
180
升级后:
android studio 0.6.0
build tools 19.1.0
Android SDK tools 22.6.4.
错误信息:
Error Info
Error:(11) Error parsing XML: not well-formed (invalid token)
Error:(11) Execution failed for task ':proc...
分类:
移动开发 时间:
2014-06-22 19:31:38
阅读次数:
276
先普及小知识:
STL 中栈的使用方法(stack)
基本操作:
push(x) 将x加入栈中,即入栈操作
pop() 出栈操作(删除栈顶),只是出栈,没有返回值
top() 返回第一个元素(栈顶元素)
size() 返回栈中的元素个数
empty() 当栈为空时,返回 true
STL 中队列的使用(queue)
基本操作:...
分类:
其他好文 时间:
2014-06-22 19:09:51
阅读次数:
169
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.libr...
分类:
编程语言 时间:
2014-06-22 18:49:58
阅读次数:
342
According to the order of data structure book, Arrays should be introduced in the frist time. When reviewing the some information related to arrays, I feel shocked that many useful classes and methods...
分类:
编程语言 时间:
2014-06-22 18:13:18
阅读次数:
316
The partial sum problem
时间限制:1000 ms | 内存限制:65535 KB
难度:2
描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N ...
分类:
其他好文 时间:
2014-06-22 18:00:48
阅读次数:
166
以下的一段代码:
#include
greeting()
{
printf("Hello, world!\n");
}
main()
{
greeting();
}
经过gcc、ld(链接、编译)之后,生成一个elf可执行文件,再使用objdump处理,生成的反汇编代码如下:
08048368 :
8048368: 55 push %ebp
8048369: 89 e5 mov %esp,...
分类:
系统相关 时间:
2014-06-22 17:34:39
阅读次数:
351
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
本人此次遇到此问题的是VSphere5.1。在此问题出现之前都正常,没出过任何问题,问之做过什么动作,是客户重配了网络,这其实是我要求改的,但是客户改的和我要求的不一样。我计划是vswitch0做管理,vswitch1做vmotion,vswitch2做vmnetwork;由于安装ESXI5.1时自动生成vswitch0..
分类:
其他好文 时间:
2014-06-21 19:27:14
阅读次数:
556