--创建测试表create table student( stu_id int
,libraryCardNo varchar(10))create table borrowbook( b_id int ,libraryCardNo
varchar(10))GO--插入测试数据insert stude...
分类:
数据库技术 时间:
2014-03-23 12:29:07
收藏:
0 评论:
0 赞:
0 阅读:
542
第六章 常见类的使用 学习目标: 2 理解和掌握 Object 类 2 理解和掌握
String 类 2 理解和掌握正则表达式基础知识 2 理解和掌握 StringBuffer 类 2 理解和掌握 StringBuilder 类 2 掌握
Math 类的使用? 2 掌握日期相关类的使用? 2 掌握 ...
分类:
编程语言 时间:
2014-03-23 12:32:09
收藏:
0 评论:
0 赞:
0 阅读:
715
1.安装OCCI
如果oracle数据库默认没有安装OCCI,可以自己从官网上下载与自己数据库版本一致的API,其中包含四个软件包:
oracle-instantclient-sqlplus-10.2.0.5-1.i386.rpm
oracle-instantclient-devel-10.2.0....
分类:
数据库技术 时间:
2014-03-23 12:31:09
收藏:
0 评论:
0 赞:
0 阅读:
441
#include #include #define BASE_SIZE 5000struct
bracket_stack{ char bracket[BASE_SIZE]; int top;};void init_stack(struct
bracket_stack **p){ *p = (stru...
分类:
其他 时间:
2014-03-23 12:33:11
收藏:
0 评论:
0 赞:
0 阅读:
469
Givennpairs of parentheses, write a function to
generate all combinations of well-formed parentheses.For example, givenn= 3, a
solution set is:"((()))...
分类:
其他 时间:
2014-03-23 12:34:13
收藏:
0 评论:
0 赞:
0 阅读:
378
C# 在SQLite数据库中存储图像更多 0 C# SQLite 建表语句CREATE
TABLE [ImageStore]([ImageStore_Id] INTEGER NOT NULL PRIMARY KEY
AUTOINCREMENT,[ImageFile] NVARCHAR(20) NUL...
分类:
数据库技术 时间:
2014-03-23 12:35:12
收藏:
0 评论:
0 赞:
0 阅读:
941
#include void shellsort(int a[], int n, int
delt){ int i; for(i = delt; i+delt <= n; i ++) { int temp = a[i]; int j = i -
delt; while(temp < a[j]) { a...
分类:
其他 时间:
2014-03-23 12:37:18
收藏:
0 评论:
0 赞:
0 阅读:
330
一个长度为len的字符串,对其循环右移n位[期望]char str[] =
"abcdefg";右移3次后,变成"efgabcd"[思路]思路1.如果用每移动一次,就要把整个字符串整体移动一次的方法,显得太费劲了。我们可以用空间换时间,通过内存拷贝来实现。需要新申请一块相同大小的内存,把原字符串的后...
分类:
编程语言 时间:
2014-03-23 12:38:23
收藏:
0 评论:
0 赞:
0 阅读:
523
sudo sysctl net.ipv4.conf.default.rp_filter=0sudo
sysctl net.ipv4.conf.all.rp_filter=0sudo sysctl net.ipv4.ip_forward=1sudo sysctl
net.ipv6.conf.all.f...
分类:
其他 时间:
2014-03-23 12:39:27
收藏:
0 评论:
0 赞:
0 阅读:
539
这是三次样条插值计算的简单算法代码,记录一下 1 #include 2 #include 3
using namespace std; 4 float Hermite(int n, float xx) 5 { 6 float *x = new
float[n+1],*ar = new float[n...
分类:
其他 时间:
2014-03-23 12:40:32
收藏:
0 评论:
0 赞:
0 阅读:
359
准备做一下新段数的题目:线段树zoj1610poj2777poj2528hdu1754hdu1166hdu1698poj3468ural1019zoj2301poj3264poj1151poj1177poj3277hdu1394poj2828poj2886poj2352hdu1255poj3667p...
分类:
其他 时间:
2014-03-23 12:41:40
收藏:
0 评论:
0 赞:
0 阅读:
396
一:为什么需要New约束假设有这样一个需求,它需要在定义一个泛型类时同时实例化T对象。有网友说了:"这还不简单,我立刻给你写一个",刷刷刷,得到以下的例子。public
class GenericTester{ private T t; public GenericTester() { t = ne...
分类:
其他 时间:
2014-03-23 12:42:44
收藏:
0 评论:
0 赞:
0 阅读:
297
在Eclipse中运行项目 遇到如下错误:## A fatal error has been
detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION
(0xc0000005) at pc=0x000c0190, p...
分类:
编程语言 时间:
2014-03-23 12:43:43
收藏:
0 评论:
0 赞:
0 阅读:
500
写论文时页面通常分为两列,如果表格横向太长,如何产生跨列表格。\begin{table}[位置] 表格 \end{table}
用于单列表格\begin{table*}[位置] 表格 \end{table*} 产生的表格可以占据两列
分类:
其他 时间:
2014-03-23 12:45:55
收藏:
0 评论:
0 赞:
0 阅读:
575
字符串是软件开发中最为重要的对象之一。通常,字符串对象或其等价对象(如char数组),在内存中总是占据了最大的空间块。因此如何高效地处理字符串,必将是提高系统整体性能的关键所在。
1.String对象及特点 String对象是Java语言中重要的数据类型,但它并不是Java的基本数据类型。在C语言中...
分类:
编程语言 时间:
2014-03-23 12:44:51
收藏:
0 评论:
0 赞:
0 阅读:
334
点我看题目题意:中文不详述。思路
:上上上场比赛让一个BFS给虐了,上次比赛让一个三维的给废掉了。。。。。。。所以急于从水题刷起。。。。。。还因为数组开小了WA了5,6次#include
#include #include #include using namespace std;int m,n,s...
分类:
其他 时间:
2014-03-23 10:49:40
收藏:
0 评论:
0 赞:
0 阅读:
266
-----------android培训、java培训、java学习型技术博客、期待与您交流!------------用一个范例来解释Integer的拆箱
1 package com.blog; 2 3 public class boxing { 4 public static void main(...
分类:
其他 时间:
2014-03-23 15:04:16
收藏:
0 评论:
0 赞:
0 阅读:
493
OSGi框架为java定制了一套动态模块系统。它使你对代码结构、生命周期的管理,以及松耦合方式的协作,提供更好的控制手段。更棒的是,它有精心编制的完备的规范文档。然而不幸的是,这些规范是写给OSGi的实现者,而不是使用者。本书的第一部分,我们通过创建一个面向用户的伙伴向导解决这个问题。我们将深入它的...
分类:
其他 时间:
2014-03-23 15:07:04
收藏:
0 评论:
0 赞:
0 阅读:
450
The normal use of generics, exemplified by the
collections APIs, restricts you to a fixed number of type parameters per
container. You can get around ...
分类:
编程语言 时间:
2014-03-23 15:06:08
收藏:
0 评论:
0 赞:
0 阅读:
506
LCISTime Limit: 6000/2000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
3553Accepted Submission(s): 1577Problem Descri...
分类:
其他 时间:
2014-03-23 15:09:02
收藏:
0 评论:
0 赞:
0 阅读:
234