-
watchDog可偵測程式是否關閉
可將執行中的程式,關閉,及重開。亦可以透過socket連線,來偵測是否程式已死當。其相關重要功能:重開機功能://重新開機void CWatchDogDlg::setSystemReboot(){msg = "準備關機重開!";::SendMessage(this->GetSafeHwnd(),MSG_STATUS_TOTAL,(WPARAM)&msg,0);CExitWindows m_ExitWindows;//m_ExitWindows.Restart(); m_ExitWindows.ForceReStart();}關閉程式:///關閉程式bool CWatchDogDlg::closeExeProcess(CString processName){processName.MakeLower();HANDLE hSnapShot;PROCESSENTRY32 pEntry;pEntry.dwSize =sizeof(pEntry);BOOL hRes;bool Found = FALSE;//Get the snapshot of the systemhSnapShot=CreateToolhelp32Snapshot (TH32CS_SNAPALL,NULL);//Get firs
- 2022-02-16 07:28:21下载
- 积分:1
-
随机抽样一致性算法,主要用于参数一致性的检验。
随机抽样一致性算法,主要用于参数一致性的检验。-RANSAC implemente
- 2022-06-16 09:15:29下载
- 积分:1
-
registry manipulation functions.
注册表操作函数.-registry manipulation functions.
- 2023-08-12 03:25:02下载
- 积分:1
-
升压
boost-log,一个牛人为boost库写的C++的日志库。boost作为一个庞大的C++基础库,一直缺少日志模块,改代码填补了这个空白,目前还在审核阶段-boost-log, a cow artificially boost library of C++ Writing the log database. a huge boost as the C++ foundation libraries, has been the lack of log module, change the code to fill the gaps in the current audit period is also
- 2022-03-18 04:27:59下载
- 积分:1
-
原子能级分布计算,采用统计的方法,典型的范例程序
原子能级分布计算,采用统计的方法,典型的范例程序-Atomic-level distributed computing, the use of statistical methods, a typical example of the procedure
- 2022-03-19 01:40:10下载
- 积分:1
-
利用c++实现类似java的反射编程的功能。使的c++也可以利用配置文件来动态配置程序...
利用c++实现类似java的反射编程的功能。使的c++也可以利用配置文件来动态配置程序-Using c++ to achieve a similar reflection java programming functions. So that the c++ configuration file can also be used to dynamically configure the program
- 2022-03-31 10:34:20下载
- 积分:1
-
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (1...
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two d
- 2022-04-22 17:20:42下载
- 积分:1
-
多媒体播放器,用VC++开发,具有一般播放器的基本功能,还附有菜单和现实歌词功能。...
多媒体播放器,用VC++开发,具有一般播放器的基本功能,还附有菜单和现实歌词功能。-Multimedia player, using VC++ developers with the basic functions of a general player, but also functions with the menu and realistic lyrics.
- 2023-06-02 09:25:03下载
- 积分:1
-
8数码问题的A星解法
8数码问题的A星解法-8 issue of A Star Solution
- 2022-02-04 09:54:37下载
- 积分:1
-
一个不错的学习程序 有兴趣的朋友可以看看的
一个不错的学习程序 有兴趣的朋友可以看看的-a good learning process are interested can look at the friends
- 2022-04-09 10:03:34下载
- 积分:1