-
Builder
设计模式的VC例子,可以用于学习设计模式。我自己觉得很有用。这个是Build模式(design patterns VC example, can be used to study design patterns. I feel very useful. This is the Build Model)
- 2005-04-22 21:57:34下载
- 积分:1
-
简单演示多线程的创建和使用VC++源码
一个VC++ Win32程序执行单元——多线程 的创建和使用例子,测试时请在CMD控制台中运行Exe,之后看到的运行结果如图所示,代码部分,请参考以下:
HANDLE CreateThread(
LPSECURITY_ATTRIBUTES lpThreadAttributes, // 安全
DWORD dwStackSize, // 堆栈大小
LPTHREAD_START_ROUTINE lpStartAddress, // 起始地址(函数名)
LPVOID lpParameter, // 参数
DWORD dwCreationFlags, // 是否启动
LPDWORD lpThreadId // 新生成的线程ID
);
int main(int argc, char* argv[])
{
HANDLE hThreadProc;
DWORD dwThreadId;
hThreadProc=CreateThread(
NULL,
NULL,
ThreadProc,
NULL,
0, //使线程立即运行
&dwThreadId
);
printf("Now another thread has been created,ID=%d
",dwThreadId);
//等待新线程运行结果
::WaitForSingleObject(hThreadProc,INFINITE);
::CloseHandle(hThreadProc);
return 0;
}
- 2022-03-26 13:48:22下载
- 积分:1
-
C-TanHaoQiang
《C语言程序设计》谭浩强以及全国计算机等级考试2级C语言上机题库(" C Programming Language" on Hemopurification and National Computer Rank Test level 2 C language machine exam)
- 2015-02-12 15:15:23下载
- 积分:1
-
Depth-anatomy-of-C-language
c语言深度解刨,学习c语言必备,讲述程序员面试常见错误(c language planing depth solution, necessary to learn c language, programmers interview about common errors)
- 2016-03-15 16:52:33下载
- 积分:1
-
一个月挑战C++电子书
一个月挑战C++电子书,有大量的例子学习。(There are a lot of C++ examples to learn.)
- 2020-06-21 00:20:01下载
- 积分:1
-
Queue
关于队列的实现,按照算法导论书上得来,简单易用。(On the implementation of the queue, according to the book Introduction to Algorithms, come on, easy to use.)
- 2010-12-15 20:52:52下载
- 积分:1
-
VC++ 显式链接:关闭计算机
VC++ 显式链接:关闭计算机,制作一个竖长形的窗口,功能包括了关机、重启、注销、锁机等功能。
- 2023-05-28 20:55:03下载
- 积分:1
-
vc++USB读写数据完整上位机源码
vc++USB读写数据完整上位机源码,测试可用
- 2022-01-25 14:11:30下载
- 积分:1
-
surprising-munbers
C语言实现
一个自然数的七进制表达式是一个三位数,而这个自然数的九进制表示也是一个三位数,且这两个三位数的数码顺序正好相反,求这个三位数。(C language a natural number is a seven-digit hexadecimal expression, and this natural number is a nine-digit hexadecimal representation, and the two-digit digital opposite order, find the three digits.)
- 2013-05-25 22:44:49下载
- 积分:1
-
074099_EleAttemper
电梯调度模拟,有mfc界面展现5部电梯的相互调度,模拟进程间的协作( elevator
)
- 2021-04-22 15:48:48下载
- 积分:1