现在位置: 首页 > FleendSycle发表的所有文章
  • 08月
  • 22日
综合 ⁄ 共 3754字 评论关闭
该系列博客的目录:     概述与请求方式: http://blog.csdn.net/hyzhou33550336/article/details/41620595 (请先看这篇了解公共请求参数)     实例管理:   http://blog.csdn.net/hyzhou33550336/article/details/41620749     数据库管理: http://blog.csdn.net/hyzhou33550336/article/details/41620833     数据迁入:   http://blog.csdn.net/hyzhou33550336/article/details/41620863     账号管理:   http://blog.csdn.net/hyzhou33550336/article/details/41620879     备份恢复:   http://blog.csdn.net/hyzhou33550336/arti......
阅读全文
  • 09月
  • 03日
综合 ⁄ 共 3094字 评论关闭
#include<stdio.h> #include<stdlib.h> #define STACK_INIT_SIZE 100 //存储空间初始分配量 #define STACK_ADD_SIZE 10 //存储空间分配增量 typedef struct adress { int x; int y; int di; //表示8个方向 }AD; typedef struct { AD *base; //构造前和销毁后,base=NULL AD *top; //栈顶指针 int stacksize; //当前已分配存储空间,元素为单位 }SqStack; void InitStack(SqStack *s) //初始化栈 { s->base = (AD*)malloc(STACK_INIT......
阅读全文
  • 08月
  • 12日
数据库 ⁄ 共 583字 评论关闭
需要卸载现有的oracle,然后重新安装oracle。 刚刚听朋友说,如果卸载oracle的时候要卸载注册表,否则不能正常安装,当时还以为不信,但今天竟然遇到了这种问题。 重新安装了oracle,发现OEM无法进入,而且用SQL Devloper也无法练级,报错显示:连接适配器错误,监听起不能正常启动,检查了本地命名,发现一切正常。查看服务,手动启动OracleTNSListener发现不能启动,右键查看属性,发现可执行文件的路径指向了以前oracle的目录(也许从新安装时才用原目录上安装不会有这种问题),终于找到问题所在了。   修改方法: 1.regedit.e......
阅读全文
  • 06月
  • 06日
综合 ⁄ 共 426字 评论关闭
下载jdk7 打开dmg文件打开终端,运行:pkgutil --expand "/Volumes/JDK 7 Update 45/JDK 7 Update 45.pkg" "/tmp/JDK 7 Update 45.unpkg" 进入 “/tmp/JDK 7 Update 45.unpkg" cd "tmp/JDK7 Update 45.unpkg" 用编辑器打开 Distribution 文件vim Distribution 按 Shift+R 进入修改模式 修改 pm_install_check() 函数,使其永远返回true, 然后保存文件。vim中:wq  保存返回。 终端运行: pkgutil --flatten "/tmp/JDK 7 Update 45.unpkg" "/tmp/JDK 7 Update 45.pkg" 终端运行: open "/tmp/JDK 7 Update 45.pkg" 这样设置之后......
阅读全文
  • 04月
  • 18日
综合 ⁄ 共 6146字 评论关闭
博主博客: 断桥残雪   SQL分类: DDL—数据定义语言(Create,Alter,Drop,DECLARE) DML—数据操纵语言(Select,Delete,Update,Insert) DCL—数据控制语言(GRANT,REVOKE,COMMIT,ROLLBACK)首先,简要介绍基础语句:1、说明:创建数据库Create DATABASE database-name 2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat'--- 开始 备份BACKUP DATABASE pubs TO testBack 4、说明:创建新表create tabl......
阅读全文
  • 04月
  • 05日
综合 ⁄ 共 449字 评论关闭
自定义控件的事件传递,一般都是有参数的,我们也想需要是能传递参数,下面给个简单的实例,总结如下: 需要使用delegete 来派生新的EventArgu,使用新的: 1:  声明自己的派生类,用来传递参数(EventArgs) class myEventArgs:EventArgs {  public myEventArgs( parameter )  {  }   ... .  ...//成员变量 } 2 声明自己的委托类型: public delegate void MyEventHandler(object sender,myEventArgs e); 3 声明事件 public Event MyEventHandler OnSelectChanged; 4 在需要促发的地方添加如下: myEventArgs e=new myEventArg......
阅读全文
  • 03月
  • 30日
综合 ⁄ 共 5694字 评论关闭
  http://zsy.javaeye.com/blog/165142 背景知识: 从JDK5开始提供名为Annotation(注释)的功能,它被定义为JSR-175规范。注释是以“@注释名”在代码中存在的,还可以添加一些参数值,例如:@SuppressWarnings(value="unchecked")。注释可以附加在package, class, method, field等上面,相当于给它们添加了额外的辅助信息,我们可以通过反射机制编程实现对这些元数据的访问。如果没有外部解析工具等对其加以解析和处理的情况,本身不会对Java的源代码或class文件等产生任何影响,也不会对它们的执行产生任何影响。 元数据的作用,......
阅读全文
  • 03月
  • 17日
综合 ⁄ 共 1460字 评论关闭
传送门: http://bulo.hujiang.com/menu/1999/item/818971/ 我承认...今天耽误太久了...但是怎么也不能断掉...先浅听一篇科学60秒吧... === 1024 疯长中的欧洲汉子  European Men Experienced Century-Plus Growth Spurt We already know human populations can get taller over time. But a new study shows just how extreme this growth spurt can be. 我们早已知晓人类不停地在长高。但一项新的研究表明身高的井喷式发展可以有多夸张。   Economic historian Timothy Hatton, of the University of Essex and Aust......
阅读全文
  • 02月
  • 22日
综合 ⁄ 共 1588字 评论关闭
Problem Description One day, sailormoon girls are so delighted that they intend to research about palindromic strings. Operation contains two steps: First step: girls will write a long string (only contains lower case) on the paper. For example, "abcde", but 'a' inside is not the real 'a', that means if we define the 'b' is the real 'a', then we can infer that 'c' is the real 'b', 'd' is the real 'c' ……, 'a' is the real 'z'. According to this, string "abcde" changes to "bcdef". Second st......
阅读全文
  • 02月
  • 20日
综合 ⁄ 共 366字 评论关闭
next_permutation()函数的使用。 提交的时候 G++会超时, C++能过。 #include <cstdio> #include <algorithm> using namespace std; int a[1040]; int main() { int n, k, i, t; scanf("%d", &t); while (t--) { scanf("%d%d", &n, &k); for (i = 0; i < n; i++) scanf("%d", &a[i]); i = 0; while (true) { if (i == k) break; if (!next_permutation(a, a + n)) { for (int j = 0; j < n; j++) a[j]......
阅读全文
  • 02月
  • 09日
综合 ⁄ 共 2513字 评论关闭
SIPp 学习笔记 一 (安装)                                                SIPp可以用来测试各种sip的设备,如终端电话或者proxy, 包括功能和性能上的(性能上只能在linux平台下才可以 具体的描述可以去参照SIPp的官方网站; http://sipp.sourceforge.net/doc3.0/reference.html 一,安装. 首先, 在安装之前我们必须弄清楚,SIPp程序所支持的OS平台和其工作的各种模式: 1, SIPp可以工作在两个不同的平台,Linux和windows. 还有一些特殊的os的安装不在我的学习范围之内, 如HP的os; 2, SIPp能够支持4中模式:   You have four opti......
阅读全文
  • 01月
  • 20日
综合 ⁄ 共 1443字 评论关闭
Square Coins Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3600    Accepted Submission(s): 2458 Problem Description People in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all square numbers up to 289 (=17^2), i.e., 1-credit coins, 4-credit coins, 9-credit coins, ..., and 289-credit coins, are available in Silverland. There are four combinations of co......
阅读全文