2010年11月10日
摘要:
从网上找的代码,先收藏下。功能:实现HTML转WORD,WORD转PDF
阅读全文
posted @ 2010-11-10 20:47
清清飞扬
阅读(6867)
推荐(0)
2010年11月9日
摘要:
检测某个文件是否存在,给出的参数:文件名(必须包含路径和文件名),代码如下:注:未检测过传入的参数如果只是文件名,不知道是否还能成功检测!
阅读全文
posted @ 2010-11-09 17:47
清清飞扬
阅读(656)
推荐(0)
摘要:
_access, _waccessDetermine file-access permission.int _access( const char *path, int mode );int _waccess( const wchar_t *path, int mode );RoutineRequired HeaderOptional HeadersCompatibility_access<...
阅读全文
posted @ 2010-11-09 13:17
清清飞扬
阅读(16967)
推荐(0)
摘要:
From: http://hi.baidu.com/hexiong/blog/item/a6464954848d6c50574e006c.htmljava存储过程今后将在各大数据库厂商中越来越流行,功能也越来越强大。这里以Oracle为例,介绍一下java存储过程的具体用法。任何转载,请尊重版权。(作者:iihero on csdn)一、如何创建java存储过程?通常有三种方法来创建java存储过...
阅读全文
posted @ 2010-11-09 12:00
清清飞扬
阅读(703)
推荐(0)
摘要:
看itpub上一个帖子:http://www.itpub.net/viewthread.php?tid=981212&extra=&page=1想学习以下Oracle dual表。Oracle Asktom 的解释:http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1562813956388下面来源: http://wzhcn.spaces.live.com/blog/cns!FBA7EF989C66522E!515.entry1、DUAL表的用途Dual 是 Oracle中的一个实际存在的表,任何用户均可读
阅读全文
posted @ 2010-11-09 11:08
清清飞扬
阅读(3568)
推荐(1)
摘要:
Determines if a file exists. ---经检测,该函数可以检测文件或目录是否存在!RemarksThis function tests the validity of the file and path. It works only on the local file system or on a remote drive that has been mounted to ...
阅读全文
posted @ 2010-11-09 09:14
清清飞扬
阅读(25495)
推荐(1)
2010年11月8日
摘要:
From: http://www.cnblogs.com/yjm0105/archive/2009/07/16/180620.html1.使用CTime类 CString str;//获取系统时间CTime tm;tm=CTime::GetCurrentTime();str=tm.Format("现在时间是%Y年%m月%d日 %X");MessageBox(str,NULL,MB_OK);2: 得...
阅读全文
posted @ 2010-11-08 23:14
清清飞扬
阅读(443)
推荐(0)
摘要:
class Time{ private:char name[20];double begin;double end;public:Time(char* );Time(clock_t,char* );~Time();void start();void stop();void show();};//Time.cpp 成员函数定义头文件(类的实现文件)#include<iostream>#i...
阅读全文
posted @ 2010-11-08 23:12
清清飞扬
阅读(8043)
推荐(1)
摘要:
From: http://www.cnblogs.com/chenhs/archive/2008/08/19/1270763.htmlCTime类format的使用 使用CTime类可以很方便地取得当前系统时间并转换为各种格式 The format argument consists of one or more codes; as in printf, the formatting codes...
阅读全文
posted @ 2010-11-08 23:10
清清飞扬
阅读(22011)
推荐(0)
摘要:
From: http://www.cppblog.com/guodongshan/archive/2010/10/06/128818.aspx解决一个问题通常有多种方法, 我们总想找到最高效的,所以需要对比不同算法执行所用的时间。可惜的是,C++中提供的方法一般只能精确到毫秒级。提供一种更加精确的方法。编写一个函数,可以在C++中这样写:__declspec(naked)unsigned__int...
阅读全文
posted @ 2010-11-08 23:08
清清飞扬
阅读(784)
推荐(0)