资源简介
VC实现
功能:
在指定目录下的所有文件中,搜索 查找提定的多个字符串
可以创建指定个数的线程,最多30个,并支持设置各个线程的优先级

代码片段和文件信息
// CodeCounter.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CodeCounter.h“
#include “CodeCounterDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCodeCounterApp
BEGIN_MESSAGE_MAP(CCodeCounterApp CWinApp)
//{{AFX_MSG_MAP(CCodeCounterApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCodeCounterApp construction
CCodeCounterApp::CCodeCounterApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCodeCounterApp object
CCodeCounterApp theApp;
int nMarkNum;
int eachcount;
/////////////////////////////////////////////////////////////////////////////
// CCodeCounterApp initialization
BOOL CCodeCounterApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CCodeCounterDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4389 2005-10-26 08:23 多线程代码搜索器10\CodeCounter.dsp
文件 82944 2006-11-02 08:59 多线程代码搜索器10\CodeCounter.ncb
文件 545 2005-10-26 08:23 多线程代码搜索器10\CodeCounter.dsw
文件 1379 2005-10-26 08:18 多线程代码搜索器10\CodeCounter.h
文件 256 2006-11-02 08:54 多线程代码搜索器10\CodeCounter.plg
文件 2160 2005-10-26 08:18 多线程代码搜索器10\CodeCounter.cpp
文件 4173 2005-10-22 17:45 多线程代码搜索器10\RapidFinder.h
文件 175 2005-10-26 08:23 多线程代码搜索器10\resource.hm
文件 213 2005-10-26 08:18 多线程代码搜索器10\StdAfx.cpp
文件 1054 2002-09-16 20:03 多线程代码搜索器10\StdAfx.h
文件 6953 2006-10-31 10:51 多线程代码搜索器10\CodeCounter.vcproj
文件 911 2006-10-31 10:51 多线程代码搜索器10\CodeCounter.sln
..A..H. 10240 2006-11-01 10:31 多线程代码搜索器10\CodeCounter.suo
文件 2182 2006-11-01 12:57 多线程代码搜索器10\CodeCounter.clw
文件 582 2006-11-02 08:55 多线程代码搜索器10\SearchResult.ini
文件 17119 2006-11-01 17:21 多线程代码搜索器10\CodeCounterDlg.cpp
文件 2932 2006-11-01 12:53 多线程代码搜索器10\CodeCounterDlg.h
文件 1701 2006-11-01 12:56 多线程代码搜索器10\resource.h
文件 1078 2002-09-16 20:02 多线程代码搜索器10\res\CodeCounter.ico
..A.SH. 9728 2005-10-26 08:29 多线程代码搜索器10\res\Thumbs.db
文件 403 2005-10-26 08:25 多线程代码搜索器10\res\CodeCounter.rc2
目录 0 2005-10-25 19:12 多线程代码搜索器10\res
文件 7641 2006-11-01 12:56 多线程代码搜索器10\CodeCounter.rc
文件 55808 2006-11-02 08:58 多线程代码搜索器10\CodeCounter.opt
文件 37896 2006-11-01 12:56 多线程代码搜索器10\CodeCounter.aps
文件 11062 2006-11-01 15:55 多线程代码搜索器10\RapidFinder.cpp
目录 0 2005-10-25 19:12 多线程代码搜索器10
----------- --------- ---------- ----- ----
263524 27
............此处省略0个文件信息
- 上一篇:SAP HR中各个工资类型的描述
- 下一篇:Xilinx_Kintex-7 封装库
相关资源
- 中国1:400万基础地理数据
- AsyncTask文件控制暂停和继续,在状态
- bp神经网络源代码,可直接运行
- 最新的北京地铁shp文件75146
- 武汉市行政区划shp文件61656
- Rational Rose Common破解文件
- 随机森林R语言代码
- 计算机图形学 边填充算法实现代码
- Web Api 通过文件流 文件到本地
- 直流无刷电机方波驱动 stm32 例程代码
- 仿知乎界面小程序源代码
- 贪吃蛇源代码.fla
- 右键属性文件校验插件可同时生成十
- CCS中如何生成LIB文件-并在另外CCS项目
- TI CCS V5.4 安装步骤及破解文件
- 清翔电子MCS51开发板资料_新版 01_开发
- 周立功开发板ProASIC3实验-syn_FIFO代码
- 三星DDR800内存条PCB文件和原理图
- IMX385驱动代码.zip
- ASUS BIOS 加NVME协议文件: Nvme.ffs NV
- dotnet 写字板 实验 源代码 不好请要不
- 图像二维小波变换的实现源代码
- 八三编码器设计 VHDL代码 简单,包附
- adams vibration 练习原文件
- linux应用层的华容道游戏源代码
- 交通咨询模拟系统完整代码
- http请求状态代码
- 数值分析所有实验代码
- VC 获得文件属性 获取文件的创建时
- 网上拍卖系统完整源代码
评论
共有 条评论