文件IO操作相关系统编程这里主要说两套IO操作接口,分别是:POSIX标准read|write接口,函数定义在#include<unistd.h>ISOC标准fread|fwrite接口,函数定义在#include<stdio.h>有书上说POSIX标准与ISOC标准的区别在于文件读写是否带缓冲区,我则不是很认同,因此POSI..
分类:
系统相关 时间:
2014-05-27 03:59:28
阅读次数:
481
oracle冷备份是一致性备份,备份的内容有数据文件,redo文件,temp文件,控制文件等,SQLBLANKLINESON是预防脚本中有空格,sqlplus误认为是结束,报SP2-0734:unknowncommandbeginning"wheret.bg..."-restoflineignored.错误.setfeedbackoffheadingoffverifyofftrimspooloffSQLB..
分类:
数据库 时间:
2014-05-27 03:43:10
阅读次数:
283
5 安装Oracle[root@oracle~]#cd/temp/[root@oracletemp]#lslinux.x64_11gR2_database_1of2.ziplost+foundyumlinux.x64_11gR2_database_2of2.zippdksh-5.2.14-37.el5_8.1.x86_64.rpm[root@oracletemp]#unziplinux.x64_11gR2_database_1of2.zip[root@oracletemp]#unziplinux..
分类:
数据库 时间:
2014-05-27 03:12:07
阅读次数:
459
为了方便测试, 我把官方提供的
C:\Users\Public\Documents\Embarcadero\Studio\14.0\Samples\data\FDDemo.sdb 复制了一份到
C:\Temp\FDDemo.sdb.{新建一个 VCL Forms Application, 然后添加如...
分类:
数据库 时间:
2014-05-23 09:15:03
阅读次数:
451
Saruman's Army
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3519
Accepted: 1787
Description
Saruman the White must lead his army along a straight path...
分类:
其他好文 时间:
2014-05-22 10:09:49
阅读次数:
271
p是输入目录代码如下importosdefgetDirList(p):#b=[];filepath=piffilepath=="":returnbfilepath=filepath.replace("/","\\")iffilepath[-1]!="\\":filepath=filepath+"\\"a=os.listdir(filepath)#print(a)forxina:path=filepath+xprint(path)ifos.path.isdir(path):c=getDirLi..
分类:
编程语言 时间:
2014-05-21 01:31:14
阅读次数:
417
{IMG_PATH}v9即wwwroot\statics\p_w_picpaths\v9{CSS_PATH}default_bule.css即wwwroot\statics\css\default_bule.cssm表示模块名wwwroot\phpcms\modules下的文件夹c表示控制器名phpcms/modules/模块/*.phpa表示事件名phpcms/modules/模块/*.php中方法名称
分类:
Web程序 时间:
2014-05-21 01:28:39
阅读次数:
365
编程题:指针数组实现,将多个字符串按字母顺序输出。#include<stdio.h>voidsort(char*str[],intn){char*temp;inti,j,k;for(i=0;i<n-1;i++){k=1;for(j=i+1;j<n;j++)if(strcmp(str[k],str[j])>0)k=j;if(k!=i){temp=str[i];str[i]=str[k];str[k]=temp;}}}voidmain..
分类:
其他好文 时间:
2014-05-20 18:58:57
阅读次数:
261
一.硬件资源内存:1G以上SWAP空间:至少1.5G,要求为内存的2倍temp空间:400Mlinux的临时空间是/tmpwindows的临时空间如下:c:\>echo%homedrive%%homepath%\localsettings\temp硬盘空间:linux/unix需要1.3~3.5Gwindows需要1~1.5G二、OFA最佳灵活体系结构(目录命名)1、linu..
分类:
数据库 时间:
2014-05-20 18:45:21
阅读次数:
488
http://qt-project.org/doc/qtcreator-3.0/creator-project-cmake.html方法1:使用qmake编辑工程文件xxxx.pro添加equals(QT_ARCH,"arm"){target.path=/tmp/$${TARGET}/binINSTALLS+=target}CONFIG(debug,debug|release){message(thisisdebugversion)}else{DEFINES+=QT_NO_DEBUG_..
分类:
系统相关 时间:
2014-05-20 18:15:36
阅读次数:
478