Given a linked list, remove the nth node from
the end of list and return its head. For example, Given linked list:
1->2->3->4->5, and n = 2. After rem...
分类:
其他好文 时间:
2014-05-26 09:08:23
阅读次数:
262
Session Options -- Terminal -- EmulationTerminal 选择
Linux OK来自为知笔记(Wiz)
分类:
其他好文 时间:
2014-05-26 08:20:03
阅读次数:
456
一、buffer overflow,limit of 10000 bytes
declare
begin
for c in 1..1000 loop
dbms_output.put_line('测试测试测试');
end loop;
end;
缓冲区默认大小为10000 bytes。循环1000次一共有6000个汉字,也就是12000 bytes。在SQL窗口的输出标签页可设置缓冲...
分类:
数据库 时间:
2014-05-26 06:14:00
阅读次数:
333
按先序序列输入字符序列(其中逗号表示空节点),输出该二叉树的层次遍历序列。
#include
#define END ','//表示空节点
using namespace std;
typedef char Elem_Type;
typedef struct BiTree
{
Elem_Type data;
struct BiTree *Lchild;
stru...
分类:
其他好文 时间:
2014-05-26 04:53:07
阅读次数:
261
总结一下大家在开发过程中遇到的浮动问题,如何清除浮动的技巧。...
分类:
其他好文 时间:
2014-05-26 03:38:37
阅读次数:
451
第6章 使用库算法
本章中主要教我们如何使用几个库算法来解决与处理字符串和学生成绩相关的问题。
1、分析字符串
使用一个循环来连接两幅字符图案
for(vector::const_iterator it = bottom.begin(); it != bottom.end(); ++it)
ret.push_back(*it);
等价于
ret.insert(ret.end(...
分类:
编程语言 时间:
2014-05-24 20:24:10
阅读次数:
365
1.gemFile
在rails 4 之后没有grop 了 要记得哦
# group :assets do
gem 'sass-rails', '~> 4.0.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
# end
# 页面渲染
gem 'jquery-rails' #这个
gem 'exe...
分类:
Web程序 时间:
2014-05-24 18:00:06
阅读次数:
435
SEP迁移升级方案方案一、灾难恢复后升级实施前提条件:更换服务器系统/重装服务器系统,但保持主机名和IP地址不变。实施步骤:1.先备份原有SEPM服务器数据库1.1到文件夹C:/programfiles/Symantec/Symantecendpointprotectionmanager/data/backup下检查是否有下面三个文件keysto..
分类:
其他好文 时间:
2014-05-24 16:50:56
阅读次数:
606
一、bufferoverflow,limitof10000
bytesdeclarebeginforcin1..1000loop
dbms_output.put_line(‘测试测试测试‘);endloop;end;缓冲区默认大小为10000
bytes。循环1000次就一共有6000个汉字,也就是12000bytes。在SQL窗口的输出标签页中设置缓冲区大校二、数字或值错误:字符串缓冲..
分类:
数据库 时间:
2014-05-24 15:18:07
阅读次数:
310
本文主要介绍va_start和va_end的使用及原理。介绍这两个宏之前先看一下C中传递函数的参数时的用法和原理:1.在C中,当我们无法列出传递函数的所有实参的类型和数目时,可以用省略号指定参数表void
foo(...);void foo(parm_list,...);这种方式和我们以前认识的不大...
分类:
其他好文 时间:
2014-05-24 13:09:18
阅读次数:
275