- 博客(9)
- 收藏
- 关注
原创 aaaaaaaaaaaaaaaaaaa
#include #include typedef struct tagWNDINFO { DWORD dwProcessId; HWND hWnd; } WNDINFO, *LPWNDINFO; BOOL CAL
2011-09-19 22:40:57
438
原创 算法
// Stack.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include using namespa
2011-08-27 17:40:17
300
原创 使用SHFileOperation拷贝文件夹
<br />#include "stdafx.h"<br />#include <windows.h><br />#include <stdio.h><br />/*********************************************************************<br />函 数 名:CopyDirectory<br />函数功能:拷贝指定目录的文件夹<br />参数说明:char *pcSourPath:待拷贝的文件夹路径<br /> char *pcDestP
2011-06-01 22:27:00
1343
原创 Acess中拷贝表语句
<br />select * into 基本情况 from 基本情况 in 'c:/student.mdb' <br />第一个“基本情况”是目标数据库中新建的表名<br />第二个“基本情况”是源数据库中被复制的表名<br />“c:/student.mdb”被复制的表所在路径
2011-05-26 23:36:00
447
原创 MDB
<br />如何合并多个表结构相同的MDB 作者:cg1 摘自:access911.net 编辑:cg1 更新日期:2006-10-12 浏览人次:1361 专题地址: http://access911.net/?kbid;72FABE1E10DCE8F3 简述: 阅读前需掌握: 难度等级: 10 问题: 如何合并多个表结构相同的MDB《表》在同一目录下,有很多相同结构相同的MDB,是从各个分支单位上报的数据,现要合并统计,如何做? 回答: 示例数据库下载: http://access911.net/dow
2011-05-26 00:01:00
943
原创 aaa
void ReadUnicodeFile3(){ FILE* fp; wchar_t utf[1000] = {0}; wchar_t *p = utf; char ansi[2000] = {0}; fp = _wfopen(L"C://Documents and Settings//Administrator//桌面//test.txt", L"rb"); while(!feof(fp)) fread(p++, 1, 2, fp); *--p = L'/0'
2011-05-16 07:43:00
256
原创 读特定格式Unicode文件
<br />#include "stdafx.h"<br />#include <stdio.h><br />#include <vector><br />using namespace std;<br /><br />typedef struct _AlarmInfo<br />{<br /> BYTE b1;<br /> BYTE b2;<br /> BYTE b3;<br /> long l1;<br /> long l2; <br /> BYTE b4;<br /> long l3;<br /> C
2011-05-15 21:24:00
313
原创 遍历
<br />CString m_cstrFileList = "";<br /> CFileFind tempFind;<br /> BOOL bFound = tempFind.FindFile(strFoldername + "//*.*"); // 判断是否成功找到文件<br /> <br /> CString strTmp; // 如果找到的是文件夹,存放文件夹路径<br /> while(bFound) // 遍历所有文件<br /> {<br /> bFound = t
2011-05-11 23:29:00
327
原创 导入
<br />CFileDialog fileDlg(TRUE, ".txt", NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "Excel Files (*.txt)|*.txt", NULL);<br /> fileDlg.DoModal();
2011-05-10 22:25:00
436
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人