#include
using namespace std;
class Date; //对Date类的提前引用声明
class Time
{
public:
Time(int,int,int);
void add_a_second(Date &); //增加1秒,1秒后可能会到了下一天,乃到下一月、下一年
void display(Date &); //显示时间,...
分类:
其他好文 时间:
2014-06-08 18:17:22
阅读次数:
216
c# 删除程序占用的文件,清理删除文件,彻底删除文件,解除文件占用
文件打开时是,以共享模式打开
FileStream inputStream = new FileStream(name, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
p.BackgroundImage = new Bitmap(inputStream);...
分类:
其他好文 时间:
2014-06-08 17:21:06
阅读次数:
206
一、JSP页面显示乱码
二、表单提交中文时出现乱码
三、数据库连接
大家在JSP的开发过程中,经常出现中文乱码的问题,可能一至困扰着您,我现在把我在JSP开发中遇到
的中文乱码的问题及解决办法写出来供大家参考。
一、JSP页面显示乱码
下面的显示页面(display.jsp)就出现乱码:
JSP的中文处理
<meta http-equiv="Content-Type" content="text/html; c...
分类:
Web程序 时间:
2014-06-08 15:47:29
阅读次数:
251
血条是常见功能,可以通过一个血条背景和一个不断改变得血条宽度,来实现少血。
在MainScence.lua中,先改代码:
function MainScene:ctor()
local bg = display.newSprite("bg01.jpg")
bg:setPosition(display.cx, display.cy)
self:addChild(bg...
分类:
其他好文 时间:
2014-06-08 15:34:24
阅读次数:
347
php Action 服务器端
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of UploadAction
*
* @author hxwj
*/
class ...
分类:
Web程序 时间:
2014-06-08 15:26:18
阅读次数:
292
股票价格涨跌趋势,常用蜡烛图技术中的K线图来表示,分为按日的日K线、按周的周K线、按月的月K线等。以日K线为例,每天股票价格从开盘到收盘走完一天,对应一根蜡烛小图,要表示四个价格:开盘价格Open(早上刚刚开始开盘买卖成交的第1笔价格)、收盘价格Close(下午收盘时最后一笔成交的价格)、中间的最高价High和最低价Low。
如果CloseOpen,表示为“R-Hollow”(即“空心红蜡烛...
分类:
其他好文 时间:
2014-06-08 15:19:29
阅读次数:
180
今天是2014-06-06,在进行数据库恢复的时候出现了一个久违的ora-600 [2662]错误,特整理如下:
问题描述:
system表空间误删,采用恢复数据文件的方式将数据库恢复到开始状态,数据库为非归档模式。在alter database open resetlog打开数据库的时候提示ora-600 【2662】错误。信息如下:
SQL> col member for a80
S...
分类:
其他好文 时间:
2014-06-08 15:09:15
阅读次数:
394
查看帮助命令
bixiaopeng@bixiaopeng ~$ adb shell screencap -v
screencap: invalid option -- v
usage: screencap [-hp] [-d display-id] [FILENAME]
-h: this message
-p: save the file as a png.
-d: speci...
分类:
移动开发 时间:
2014-06-08 05:06:26
阅读次数:
353
1. 安装ContactManagers.spk:
路径apps/ContactManager/ContactManagers.spk
2.
打开用例到IntelliJ:
Open -- 选中appium/sample-code/examples/java/junit/pom.xml打开
3.
环境配置:
如果依赖的jar包没有加载进来,可能需要配置maven...
分类:
移动开发 时间:
2014-06-08 04:07:42
阅读次数:
345
About fork() in linux:parent/child processes
created by fork() share the same file table (linux file descriptor or called
`open file descriptor`)Which...
分类:
系统相关 时间:
2014-06-07 21:47:58
阅读次数:
443