-
BoostTest
说明: 编写过MFC程序的朋友都知道,通过资源编辑器编辑菜单项,设定菜单项ID,然后MFC内部通过该ID来映射菜单命令处理函数和菜单界面更新函数。我设想撇开MFC的资源编辑,在MFC程序中通过xml文件来进行界面配置,然后利用字符串来映射消息处理函数。借助boost库,我实现了这一设想。具体就是在xml文件指定一个字符串,然后通过这个字符串就能找到它的命令消息处理函数和界面更新命令消息处理函数。(MFC write-off procedures friends all know, through the resource editor to edit the menu item, set the menu item ID, and MFC-house by the ID to map menu and menu command handling function update function. I imagine MFC resource editor aside, the MFC program carried out by the interface configuration xml file, and then use the string to map the message processing function. Using boost libraries, I realized that vision. Specific xml file is to specify a string, then the string can find its command message processing functions and interface update command message processing function.)
- 2021-02-04 15:09:57下载
- 积分:1
-
B06040324_B2
模拟电信计费系统的设计与实现
要求:(1) 计费功能。根据存放在源数据文件中的通话记录和长途费率文件对每一条通话记录计算其通话费用,并将结果保存在费用文件中。其中:
通话费的计算方法如下:
通话费=长途电话费+本地电话费
长途电话费=费率(元/分钟)×通话时长(分钟)
(通话时长不满1分钟的按1分钟计算)
本地电话费为:3分钟以内0.5元,以后每3分钟递增0.2元。
(2) 话费查询。输入一个电话号码,从费用文件中统计该电话号码的所有本地话费、长途话费,并从用户文件中查找其用户名,最后在屏幕上显示:
用户名 电话号码 本地话费 长途话费 话费总计
(3) 话单查询。输入一个电话号码,查询并在屏幕显示该用户的所有通话记录,格式为:
用户名 主叫电话号码 被叫电话号码 通话时长
(Design and implementation of simulation of telecommunication billing system
Requirements: (1) the charging function. According to the calculation of the call charges stored in the source data file in the call records and the long rate documents for each call record, and save the results in cost file. Among them:
The following conversation method to calculate the fee:
Long distance telephone calls =+ local telephone fee
Long distance telephone fee = rate (yuan/minute)* call time (minutes)
(call time less than 1 minutes to 1 minutes)
Local call: 3 minutes 0.5 yuan, increasing 0.2 yuan every 3 minutes later.
(2) calls inquiries. Enter a phone number, all local calls, long-distance calls statistics the phone number from the cost in the file, and find the user name from user file, and finally displayed on the screen:
The user name phone number local calls long distance charges charges totaling
(3) if a single query. Enter a phone number, query and display all the call records of th)
- 2013-09-25 05:53:29下载
- 积分:1
-
qks
When I wrote this function my problem was to replace one color by an other on transparent bitmaps My
- 2018-09-29 15:06:30下载
- 积分:1
-
无线通信-预编码-MATLAB代码合集
说明: 多用户MIMO预编码之类的代码,帮助初学者进行编程,环境为MATLAB(Multi user MIMO precoding and other codes help beginners to program, and the environment is matlab)
- 2021-05-13 11:30:02下载
- 积分:1
-
IOTest
说明: 网络编程之异步IO之Select模型源码!!!!(WinSock Select code good good good good good!)
- 2019-04-02 16:48:55下载
- 积分:1
-
electre
多目标决策方法之一的ELECTRE的重要实现代码。 (ELECTRE MATLAB Code)
- 2012-03-15 15:25:35下载
- 积分:1
-
flashapi
asp.net与flash互交的例子源码,做asp.net api最实用的代码(Asp.net and flash interactive example source code, for asp.net API the most useful code
)
- 2013-09-03 11:40:48下载
- 积分:1
-
str_cpy.c
这是一个小程序,经过测试可以正常编译运行没有问题的!(This is a small program, its ok to compile and run. No problem is occurred )
- 2017-04-10 19:05:15下载
- 积分:1
-
InstantaneusReal-timeCycle-slipCorrectionofDualreq
加拿大人发表的关于周跳探测,实现了实时的双频周跳探测和修复(cycle-slipsfromCanada)
- 2010-08-18 21:34:59下载
- 积分:1
-
c++ 进程查看工具 能查看 所有进程句柄以及详细信息
c++ 进程查看工具 能查看 所有进程句柄以及详细信息
- 2013-09-18下载
- 积分:1