-
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
-
WINDOWS-VIA-C-CPP
Windows核心编程(第5版)
Windows Via C/C++
by Jeffrey Richter and Christophe Nasarre
(Windows core programming (5th Edition) Windows Via C/C++ by Jeffrey Richter and Christophe Nasarre)
- 2014-05-13 16:57:53下载
- 积分:1
-
winsocket-transpot
MFC类下的winsock多线程实现文件传输,在vc++6.0下通过调试。(MFC category under the winsock multithreading document transmission, the 6.0 vc through debugging.)
- 2007-03-21 16:45:22下载
- 积分:1
-
CD
说明: 基于VC环境下的光驱驱动程序,可实现对光驱的弹出和关闭操作。(VC environment based on CD-ROM driver can be realized on the drive pop-up and shut down operations.)
- 2009-01-05 19:42:46下载
- 积分:1
-
RegSample_Pdo
说明: 本程序是一个关于内存操作的驱动程序。希望对大家有所帮助。(this program is a memory operation on the driver. We want to help.)
- 2006-04-01 16:31:49下载
- 积分:1
-
High-speed_Charting_Control
绘制点、直线、曲线的程序,界面美观,并且对速度进行了优化,占用资源少。可移植到PPC上。内附详细的注释(Drawing points, straight lines, curves of the procedures, interface aesthetics, and speed is optimized, taking up less resources. Can be ported to the PPC. Containing detailed Notes)
- 2007-09-22 20:40:54下载
- 积分:1
-
B11Test
一种Ipod Shuffle Cable检测程序(One kind of Ipod Shuffle Cable testing procedures)
- 2011-10-28 08:46:13下载
- 积分:1
-
rqueue-aodv
说明: 多播协议源代码分析,此代码是在AODV协议上的改进算法。(Multicast protocol source code analysis, this code is in the improved algorithm of AODV protocol.)
- 2011-04-14 19:15:21下载
- 积分:1
-
12864
说明: 点阵式液晶显示片
型号:12864 驱动程序(Dot-matrix liquid crystal display film models: 12864 driver)
- 2009-08-22 14:38:41下载
- 积分:1
-
两个VC++ Modbus通信例子源代码
modbbus rtu通讯例子,内附有实现文档(Modbbus RTU communication example, with an implementation document)
- 2018-01-07 23:40:36下载
- 积分:1