一、QThread 当要运行多线程,则需要继承该类,并重写对应的run()函数;当启动线程执行run函数的时候,则需要调用start函数;等待run函数执行完毕则是wait函数; 当在run函数中,用一个变量来标记是否一直循环执行的时候;最好该标记使用volatile 该关键字,例如:volatil ...
分类:
其他好文 时间:
2020-03-01 20:07:57
阅读次数:
80
Queue.h 1 #ifndef QUEUE_H_INCLUDED 2 #define QUEUE_H_INCLUDED 3 #include <stdbool.h> 4 5 typedef struct queue QUEUE; 6 7 QUEUE* createQueue(void); 8 Q ...
分类:
其他好文 时间:
2020-03-01 00:38:30
阅读次数:
48
-- -- classic, object model. -- -- Copyright (c) 2014, rxi -- -- This module is free software; you can redistribute it and/or modify it under -- the t ...
分类:
其他好文 时间:
2020-02-29 17:32:46
阅读次数:
70
这篇算是学习过程中的备忘录,之前没有好好敲过这门课的代码,现在开始把每节课敲的代码记录下来,方便期末复习和以后使用。 第一节课:线性表的基本操作 #include <cstdio>//C++的编译 #include <cstdlib> #include <iostream>//c++输入输出 usi ...
分类:
编程语言 时间:
2020-02-29 13:12:20
阅读次数:
67
1、病毒现象 安全设备报wmixml挖矿或者主机访问了wmixml矿池地址。 2、病毒处置 (1)、使用ProcessExplorer等工具找到挖矿的svchost.exe进程删除(2)、使用autoruns.exe检查开机启动,删掉病毒服务(3)、使用everything.exe查找appmg.d ...
分类:
其他好文 时间:
2020-02-28 22:43:35
阅读次数:
90
1.sourceTree 下载地址:https://www.sourcetreeapp.com/ 安装时弹出以下界面,如果有账号就登录Bitbuckat账号,没有账号就点击 Create one for free 去注册一个免费的账号,因为打开的注册页面是在国外,可能需要科 学 上 网才能访问。 输 ...
C语言 memset #include <string.h> void *memset(void *s, int c, size_t n); 功能:将s的内存区域的前n个字节以参数c填入参数: s:需要操作内存s的首地址 c:填充的字符,c虽然参数为int,但必须是unsigned char , 范 ...
分类:
编程语言 时间:
2020-02-28 20:26:10
阅读次数:
65
一、PathMatchingResourcePatternResolver 二、SimpleMetadataReaderFactory 三、实现(核心代码) private static final PathMatchingResourcePatternResolver resolver = new ...
分类:
编程语言 时间:
2020-02-28 15:43:43
阅读次数:
65
http://delphi.sqlitedeveloper.com/Delphi/delphi_observer.htm 用Delphi实现观察者模式(Observer模式) 作者:陈省 有一段时间我对IE编程非常感兴趣,于是就在Yahoo加入了一个IE编程的兴趣小组,只要有人在兴趣小组中提出或者回 ...
We have several questions regarding the trace functionality in parallel session. Would you please kindly have a look at them when you are free? J We s ...
分类:
其他好文 时间:
2020-02-27 13:29:33
阅读次数:
89