-
实现了一个在微秒的例子
本实例实现了一中微秒级的精确定时,利用多媒体定时器的基本功能,可以通过两种方法实现精确定时。1)使用timeGetTime()函数,该函数定时精度为ms级,返回从Windows启动开始所经过的时间。2)使用timeSetEvent()函数.-Achieved one of the examples in the microsecond-level precision timing, use the basic functions of multimedia timer can be two ways to achieve precise timing. 1) Use timeGetTime () function, which ms timing accuracy for the class, to return from the Windows start after the beginning of time. 2) the use of timeSetEvent () function.
- 2022-03-06 14:13:58下载
- 积分:1
-
托盘小程序
此程序为托盘小程序 &nb
- 2022-05-30 20:35:56下载
- 积分:1
-
String sort, a simple string sorting, string sorting procedure on more
字符串排序,简单的字符串排序,对字符串排序的程序比较多-String sort, a simple string sorting, string sorting procedure on more
- 2023-01-21 03:40:03下载
- 积分:1
-
许可证选项文件,并可替换名为程序的用户。是否认为…
License Options file and may replace Named Users for a
Program, whether temporarily or not, no more than four (4)
times per year, prov
file never exceeds the number licensed per Program.
Portions of the Programs may be installed on individual
computers to accelerate startup times, as long as the-License Options file and may replace Named Users for a Program. whether temporarily or not. no more than four (4) times per year. 577 file never exceeds the number licensed per Program. Portions of the Programs may be instal led on individual computers to accelerate star tup times, as long as the
- 2022-12-16 11:35:03下载
- 积分:1
-
有用的密度算法
密度算法
将具有足够高密度的区域划分为簇,并可以发现任何形状的聚类
算法基本思想
1 指定合适的r 和M
2 计算所有的样本点,如果点p的r邻域里有超过M个点,则创建一个以p为核心点的新簇
3 反复寺找这些核心点直接密度可达(乊后可能是密度可达)的点,将其加入到相应的簇,对于核心点发生“密度相连”状况的簇,给予合并
4 当没有新的点可以被添加到仸何簇时,算法结束
- 2022-02-01 08:56:25下载
- 积分:1
-
银行帐户
1.(帐户继承层次结构)创建账号,银行可能会用它来代表客户的银行账户的继承层次结构。所有客户在这家银行可以存款(即信用卡)资金投入到自己的帐户,并收回(即借记卡),资金从自己的账户。更具体的类型的帐户也是存在的。储蓄账户,比如,赚取其所持有的金钱利益。支票账户,比如,收取每笔交易的费用(如信用卡或借记卡)。活期账户,在另一方面,具有透支(负平衡)工具来取款。创建一个包含继承层次结构的基类账户,从账户类继承的派生类SavingsAccount,的CheckingAccount和CurrentAccount。基地classAccount应包括double类型来表示帐户余额中的一个数据成员。这个类应该提供接收一个初始的平衡,并用它来初始化数据成员的构造函数。的构造应验证的初始平衡,以确保它大于或等于0.0。如果不是,则平衡应设置为0.0和构造应显示一条错误信息,指出初始余额为无效。这个类应该提供三个成员函数。成员函数的信贷应该添加量的当前余额。成员函数借记应该退出账户资金,并确保扣款金额不超过该账户的余额。如果是这样,余额应保持不变,功能应打印信息“借方金额超过账户余额。”成员函数为getBalance应该回到当前余额。派生类SavingsAccount要继承的帐户上的功能,而且还包括一个double类型的数据成员指示分配给Account.SavingsAccount的构造的利息率(百分比)应该接收的初始平衡,以及用于SavingsAccount的兴趣的初始值率。 SavingsAccount应该提供的公共成员functioncalculateInterest返回一个双表示了兴趣账户所赚取的金额。成员函数calculateInterest应该由账户余额乘以利率确定这一数额。 [注:SavingsAccount应该继承的成员函数信用卡和借记卡作为是没有重新定义他们。]派生类的CheckingAccount应该继承基类的帐户,并包括一个double类型的附加数据成员,表示每transaction.CheckingAccount的构造所收取的费用应接收的初始平衡,以及一个参数,用来指示一费数额。类的CheckingAccount应该重新定义成员函数,信用和debitso它们从每当任一事务被成功地执行的帐户余额中减去费用。的CheckingAc
- 2022-02-13 11:42:52下载
- 积分:1
-
Win API(Visual C++)项目和源程序文件,第十六章
Win API(Visual C++)项目和源程序文件,第十六章-Win API (Visual C) projects and the source file, the 16th Chapter
- 2022-01-21 04:24:36下载
- 积分:1
-
VC源代码,实现获取本机通讯簿(Outlook Express和Outlook2000)的内容,如:联系人名字、联系人邮件地址...
VC源代码,实现获取本机通讯簿(Outlook Express和Outlook2000)的内容,如:联系人名字、联系人邮件地址-VC source code, to achieve access to the machine address book (Outlook Express and Outlook2000) content, such as : contact names, contacts email addresses
- 2022-01-20 23:14:10下载
- 积分:1
-
用vc做的英语辞典,可以进行单词的查找,删除,添加,用ADO数据库进行的连接。本程序可以作为学习vc的结业程序,建议四天内做完。...
用vc做的英语辞典,可以进行单词的查找,删除,添加,用ADO数据库进行的连接。本程序可以作为学习vc的结业程序,建议四天内做完。-vc do with the English dictionary, the word can identify, delete, add, ADO database connectivity. The procedure can be used as learning vc exit procedures, the proposed four days to finish.
- 2022-08-20 19:23:18下载
- 积分:1
-
完成堆栈抽象数据类型的顺序、链式表示与实现。实现功能:数值转换,计算器(表达式求值),迷宫求解,判断某个字符串是否是回文...
完成堆栈抽象数据类型的顺序、链式表示与实现。实现功能:数值转换,计算器(表达式求值),迷宫求解,判断某个字符串是否是回文
-Completion of the stack abstract data type of the order, said that with the realization of the chain. The realization of functions: numerical conversion calculator (expression evaluation), to solve the maze to determine whether a string is a palindrome
- 2022-08-07 03:17:15下载
- 积分:1