-
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
-
Gaot
如果定时器的精度影响到你的程序质量,可以下载此源码,多媒体定时器的精度可以达到1ms。定时期间,不会阻塞程序。(If the timer accuracy affects the quality of your program, you can download the source code, multimedia timer accuracy can achieve 1ms. From time to time during the procedure will not cause blockage.)
- 2008-01-26 11:01:44下载
- 积分:1
-
cPP
对想学C++的同学们很有帮助的,一本比较不错的书额(Want to learn C++ for the students is helpful, and a relatively good amount of books)
- 2011-09-14 10:33:38下载
- 积分:1
-
videoplayerdxs
VC++ 6.0源代码程序,功能是利用DirectShow播放视频文件(Use directshow to play video)
- 2013-12-03 17:16:32下载
- 积分:1
-
edgedectetion
图像的边缘检测程序,用vc++开发的,给大家参考了(Image edge detection procedure, using vc++ development, for your reference the)
- 2009-06-04 17:43:03下载
- 积分:1
-
xiflter_2.0
NDIS HOOK实例,做防火墙比中间层驱动更稳定(NDIS HOOK example, than do the middle layer firewall driven more stable)
- 2021-01-24 22:08:39下载
- 积分:1
-
maketshouyin
超市前台收银系统用 c++ 和达梦数据库,包含数据库文件和源代码。(Supermarket front cash register system with c++ and dream up database that contains the database files and source code.)
- 2012-12-03 20:35:52下载
- 积分:1
-
TCofIataPac
说明: ComPort Library是一套用来编写串口通讯程序的控件,它包含5个控件:TComPort, TComDataPac(ComPort Library is a set of controls for writing serial communication programs. It contains five controls,: TComPort, TComDataPac)
- 2019-01-03 18:58:12下载
- 积分:1
-
Counter_dll
基于研华PCI-1710HG数据采集卡基于动态链接库的计数器程序。用VC++6.0MFC实现。程序功能实现实时计数值显示及频率值显示。(Advantech PCI-1710HG-based data acquisition card is based on the dynamic link library counter program. With VC++6.0MFC achieved. Program features real-time count value display and frequency display.)
- 2020-09-10 10:58:00下载
- 积分:1
-
FileCheck
文件监控,yong VC++ xiele (file watch!!!)
- 2014-06-03 01:05:19下载
- 积分:1