码迷,mamicode.com
首页 >  
搜索关键字:do it    ( 12356个结果
辛星和您关闭vim的自动备份功能
当我们使用gvim编辑文件的时候,会自动生成带~的备份文件,如果我们不想在编辑文件的时候自动生成备份文件的话,那么就需要修改其配置文件了,但是我在vimrc文件中没有找到相应的配置项,于是就发现应该在vim的安装目录下的74的vimrc_example.vim文件中进行修改,我们在它的第24行开始部分找到了如下代码: if has("vms") set nobackup " do not ...
分类:其他好文   时间:2014-08-08 16:06:56    阅读次数:244
Why do we need the copy-and-swap idiom?
Any class that manages a resource (awrapper, like a smart pointer) needs to implementThe Big Three. While the goals and implementation of the copy-con...
分类:其他好文   时间:2014-08-08 15:51:06    阅读次数:262
并查集
维基百科:http://zh.wikipedia.org/zh-cn/并查集假设初始化时用数组表示每个位置上的元素其father是自己,以对象是整数集为例Init:fori<- 1:n do father[i]<- i;findFather(x)if father[x] = x return f.....
分类:其他好文   时间:2014-08-08 15:45:36    阅读次数:169
强大的字符串函数 next_permutatiom()
这是一个求一个排序的下一个排列的函数,可以遍历全排列,要包含头文件 下面是以前的笔记   与之完全相反的函数还有prev_permutation   (求前一个排列)     (1) int 类型的next_permutation   int main() {  int a[3]; a[0]=1;a[1]=2;a[2]=3;  do { cout } while (nex...
分类:其他好文   时间:2014-08-08 12:57:05    阅读次数:243
过滤器的使用
过滤器在web.xml中的配置 systemFilter cn.itcast.elec.util.SystemFilter systemFilter *.do *.jsp 过滤器的java代码import java.io.IOException;import ...
分类:其他好文   时间:2014-08-08 12:31:45    阅读次数:151
初次接触modelsim的一些体验
在网上查找了一些资料来学习,看来看去觉得一篇讲modelsim三种仿真方式的不错,就按着步骤一步步做了,结果可想而知,问题是一个接一个啊,摸索了两天还是有点收获的,且记下。 第一点:操控modelsim的基本方式 1.用户图形界面接口(GUI),在界面也接受命令行输入。(适合菜鸟) 2.DO文件,....
分类:其他好文   时间:2014-08-08 01:49:26    阅读次数:288
Use PrefHUD ES to Do Frame Capture Android Game
Author: http://www.cnblogs.com/open-coder/p/3898224.html This is short tutorial about how to do frame capture with Nvidia PrefHUD. You could find a de...
分类:移动开发   时间:2014-08-08 01:31:04    阅读次数:421
ZOJ 1008 Gnome Tetravex (DFS + 剪枝)
Gnome Tetravex 题目:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=8 题意:有N*N个方格,每个方格分为上下左右四个部分,每个部分填数字。现在要求重排方块,使得每两个有边相连的方块对应的数字相同。 思路:就是一个简单的搜索,我想了个剪枝,将上下左右四个方向上每个数字对应的是哪几个方块记录下...
分类:其他好文   时间:2014-08-07 23:14:05    阅读次数:307
poj piggy-bank
Piggy-BankTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 7921Accepted: 3829DescriptionBefore ACM can do anything, a budget must be prepared....
分类:其他好文   时间:2014-08-07 21:49:10    阅读次数:349
【LeetCode】Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy t...
分类:其他好文   时间:2014-08-07 19:02:50    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!