#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-14 00:18:31
阅读次数:
367
有些人反对使用 Cacls,请使用 Icacls。
显示或者修改文件的访问控制列表(ACL)
CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm]
[/R user [...]] [/P user:perm [...]] [/D user [...]]
file...
分类:
其他好文 时间:
2014-05-14 00:15:24
阅读次数:
3147
查询当前运行进程中是否有指定进程有多种方式,下面介绍一种通过进程名获取进程号,以此来确认该进程是否在运行。
如下实例,查询当前运行进程中是否有test进程在运行。
char buf[200]={0};
system("ps -A | awk '/test/{print $1}'>result");
FILE *fd;
fd=popen...
分类:
系统相关 时间:
2014-05-13 08:02:55
阅读次数:
409
create table mytest(name varchar(20),password varchar(30));
create or replace procedure sp_pro2 is
begin
insert into mytest values('fc','123');
end;
查看错误信息
show error
如何调用...
分类:
数据库 时间:
2014-05-13 07:41:24
阅读次数:
464
我要让我的用户向指定的目录上载文件, 把 包含在表格内,而上传的脚本是这样的:. 为什么它不工作? A. Y在调用SAVE之前,不能使用表格选择。正确的操作方法是:先将其上传到一个临时文件夹,然后复制并移动到指定目录,如下示:n = Upload.Save "c:\upload" For Each File in Upload.Files File.Copy Upload.Form("Path")...
分类:
其他好文 时间:
2014-05-13 06:40:56
阅读次数:
230
#!/bin/bash
if [ $# -ne 2 -a $# -ne 1 ] ;then
echo "usage: `basename $0 ` [n] input file "
echo
exit
fi
if [ $# -eq 1 ];then
I_TOP=10
I_FILE=$1
fi...
分类:
系统相关 时间:
2014-05-13 06:21:24
阅读次数:
454
if 循环 控制语句
if--then endif
if----then ----else endif
if-----then --elsif then ----else endif
--编写一个过程,可以 输入一个雇员名,如果该雇员的工资低于2000就给他增加10%
create or replace proc...
分类:
数据库 时间:
2014-05-13 00:23:11
阅读次数:
436
有时候用到Android模拟器来模拟SD卡相关操作,在Eclipse中可以直接查看SD卡目录;
首先,新建模拟器的时候要创建SD卡,存储的大小根据需要创建;
启动模拟器,在Eclipse中打开视图窗口:Window--Show View--File Explorer;
可以看到下面有mnt目录,mnt--sdcard 就是SD卡的目录,
也就是代码中 Environment...
分类:
移动开发 时间:
2014-05-12 22:38:13
阅读次数:
498
来源:孙鑫老师c++教程第7集在创建非模态对话框时void
CMyboleView::OnDialog(){// TODO: Add your command handler code here方法一TestDlg
*ptdlg=new TestDlg(this);ptdlg->Create(IDD...
分类:
其他好文 时间:
2014-05-12 21:15:11
阅读次数:
309
--Linux操作系统位数查看----------------------2014/05/11查看linux是多少位的几位方法:查看linux机器是32位还是64位的方法:方法一:file
/sbin/init 或者 file /bin/ls结果如下:/sbin/init: ELF 64-bit L...
分类:
系统相关 时间:
2014-05-12 20:03:41
阅读次数:
504