-
很好的多线程例子。这个例子实现了线程池和工作消费模式
很好的多线程例子。这个例子实现了线程池和工作消费模式-JobQ.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
JobQ.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CJobQApp application class.
JobQ.cpp
This is the main application source file that contains the application
class CJobQApp.
JobQ.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
JobQ.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to stor
- 2022-02-24 15:16:57下载
- 积分:1
-
海康威视央视
/ / ---------------------------------------------------------------------------#包括#语用hdrstop#包括“frm_config。”#包括“主。”#包括“error_msg。”/ / ---------------------------------------------------------------------------# pragma包(smart_init)#语用资源”。DFM”发生一事件* 1;/ / ---------------------------------------------------------------------------__fastcall发生一事件发生一事件::(tcomponent *的所有者)平台(业主):{}/ / ---------------------------------------------------------------------------国际__fastcall发生一事件::getdvrconfig(){int结果;net_dvr_devicecfg deivcecfg;的DWORD bytesreturn;而(真正的){如果(!net_dvr_getdvrconfig(Form2 -> user_id,net_dvr_get_devicecfg,1,和deivcecfg,sizeof(net_dvr_devicecfg),与bytesreturn)){被(错误(net_dvr_getlasterror()));结果= 1;打破;}dw_size ->标题deivcecfg.dwsize;dw_name ->标题=(char *)deivcecfg.sdvrname;
- 2022-08-18 18:53:23下载
- 积分:1
-
VB6 包装模块来创建一个 GUID
这是一个 Visual Basic 6 项目,将创建一个 GUID。
它包含的函数"CreateGUIDStr()"。
此函数返回一个 GUID。
该函数将调用一些 Api,但这项工作是对用户隐藏的。
项目演示其使用,并从中可以复制一个文本框中显示 GUID。
每次单击"创建 GUID"按钮创建一个新的 GUID,并将其显示在文本框中。
- 2023-08-18 17:00:04下载
- 积分:1
-
杰克CFile质量更好的膨胀。
wince的CFile的扩展..比较好用-Jack CFile the expansion of better quality ..
- 2022-01-25 15:18:20下载
- 积分:1
-
基于OpenCV的彩色目标跟踪
基于开源的计算机视频库进行对彩色目标的跟踪定位。对于指定的颜色对象进行识别,并进行动作的跟踪,完成彩色目标的拾取定位操作。
- 2022-02-28 13:11:58下载
- 积分:1
-
Sample function to verbal represent money:
253$
Sample function to verbal represent money:
253$ -> two hundred fifty three dollars
One note: languige is RUSSIAN :--Sample function to verbal represent money:
253$-> two hundred fifty three dollars
One note: languige is RUSSIAN :-)))
- 2022-03-05 04:59:05下载
- 积分:1
-
VC++的文件操作函数,可以遍历指定目录下的所有或指定类型的文件....
VC++的文件操作函数,可以遍历指定目录下的所有或指定类型的文件.-VC++ The file manipulation functions, you specify a directory traversal of all or specified types of files.
- 2022-03-18 00:39:42下载
- 积分:1
-
C语言实现贪吃蛇
//: Snake.c
/* * * * * * * * * * * * * * * * * * * * * * *
// Project: RedSnake(贪吃蛇)
// Author: Problue
// Version: 1.0
// Date: 19:55 2012-10-29
* * * * * * * * * * * * * * * * * * * * * * */
#include
#include
#include
#include "pcc32.h"
// 定义地图的尺寸及坐标
#define MAP_WIDTH 32 // 地图宽度
#define MAP_HEIGHT 32 // 地图高度
#define OFFSET_X 1 // 地图左右的边距
#define OFFSET_Y 1 // 地图上下的边距
#define TOTAL_WIDTH (MAP_WIDTH + OFFSET_X * 2) // 窗口宽度
#define TOTAL_HEIGHT (MAP_HEIGHT + OFFSET_Y * 2) // 窗口高度
#define GotoMap(x, y) gotoTextPos((x) * 2, (y))
// 定义地图方格的状态,分别为: 空格、蛇头、蛇身、蛇尾、食物
#define BS_SPACE 0
#define BS_SHEAD 1
#define BS_SBODY 2
#define BS_STAIL 3
#define BS_FOOD 4
// 蛇默认长度
#define SNAKE_MIN_LEN 5
// 定义蛇运动方向: 上、下、左、右
#define DIR_UP 1
#define DIR_DOWN 2
#define DIR_LEFT 3
- 2022-05-15 19:59:34下载
- 积分:1
-
PL/0 source code on C.this program is very simple an can have alternative functi...
PL/0原代码 C语言版该程序简单,若原代码稍加修改就可以有不同的功能.-PL/0 source code on C.this program is very simple an can have alternative function if making some changes.
- 2023-01-02 14:40:04下载
- 积分:1
-
Computer Level II exams can be used C language, C language beginners can also us...
计算机二级C言语等级考试可用,C言语初学者也可以使用-Computer Level II exams can be used C language, C language beginners can also use the
- 2022-02-02 04:32:23下载
- 积分:1