-
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
-
source
说明: 这是书上的代码,visual C++编的,基于ObjectARX2004的任意复杂窗口裁剪技术,供大家参考(This is the book code, visual C++ Series, based on arbitrary ObjectARX2004 complex window cutting technology, for your reference)
- 2008-11-09 15:51:52下载
- 积分:1
-
VC 钱箱控制程序示例
VC++6.0 钱箱控制程序示例,程序以一个超市销售终端为例子,演示钱箱控制的基本操作、程序实现等。程序中将使用到m_List、CButton、SetPortOpen、SetCommPort等来实现钱箱控制。在编写类似的销售软件时,这个程序可借鉴。
- 2022-06-21 11:22:49下载
- 积分:1
-
178-classic-C-language--source-code
178个经典c语言源代码,包括很多常用算法的,实例(178 classic C language source code )
- 2012-05-20 16:29:47下载
- 积分:1
-
C-plus-plus-From-The-Ground-Up
C++ 6 from the ground up by Herbert Schildt
- 2010-08-28 04:08:03下载
- 积分:1
-
VC++
- 2022-01-28 21:41:13下载
- 积分:1
-
column
列置换加密,MFC编译成功(Out replacement encryption, MFC compile success)
- 2008-12-28 09:36:29下载
- 积分:1
-
level-of-detail-terrain-walkthrough
说明: 基于四叉树的LOD地形漫游程序,比较简单,适合新手学习(LOD terrain roaming procedure is relatively simple, suitable for beginners to learn)
- 2011-02-18 20:08:51下载
- 积分:1
-
TwinCAT PLC 编程手册 2011
twincat 2.0 编程手册软件;助力学习twincat2.0 的最好帮手,从入门到精通。(TwinCAT 2 Programming Handbook software; help to learn the best helper of twincat2.0, from the beginning to the master.)
- 2017-12-01 08:53:37下载
- 积分:1
-
VC6.0 使用信号量Semaphore实现线程的同步
VC6.0 使用信号量Semaphore实现线程的同步,使用信号量实现线程同步,设置访问保护对象的最多线程数为2,确定当前已经启动运行的线程数目,可以创建线程。
CWinThread* pThread=AfxBeginThread(ThreadProc,&m_Edit);//开辟一个工作线程,
int thread=0;//全局变量记录当前运行线程的数目
CSemaphore mySemaphore(2,2);//创建CSemaphore类对象
UINT ThreadProc(LPVOID pParam)//工作线程入口函数
{
CEdit *pedit=(CEdit*)pParam;
CString str;
thread++;//线程数目加1
str.Format("%d",thread);
pedit->SetWindowText(str);//编辑框显示
CSingleLock singlelock(&mySemaphore);//创建CSingleLock类对象
singlelock.Lock();//计数器初始值减1
MessageBox(NULL,"信号量控制访问资源线程数","提示",MB_ICONWARNING);//弹出对话框
thread--;//线程数目减1
str.Format("%d",thread);
pedit->SetWindowText(str);//编辑框显示
return 0;
}
- 2022-02-20 19:37:49下载
- 积分:1