-
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
-
thedichotomyofequationroots
用二分法实现求方程根的,在c++环境下实现的。(Achieved with the dichotomy of equation roots, and in c++ environment achievable.)
- 2009-12-24 21:41:34下载
- 积分:1
-
ChangeSkin
界面换肤模块提供两种界面换肤方式。“方案一”文件夹中实现的是加载皮肤文件实现界面换肤,“方案二”文件夹中实现的是加载组件库实现界面换肤。(Skinnable interface module provides two interface skinning methods. "Option One" folder implementation is to achieve load skin file interface skin, "Option Two" folder implementation is to achieve load component library interface skin.)
- 2014-07-29 11:28:48下载
- 积分:1
-
routing_aodv
aodv源代码,RREP路由回复,RREQ路由请求,RRER路由错误的编写,以及aodv中没有字段中每个参数的描述,以及函数的实现,数据发送的处理和数据接收的处理(aodv,RREP,RRER protocol ,RREQ)
- 2012-01-10 19:09:51下载
- 积分:1
-
VB-danxiangkongjianjiaohui
用VB做的一个摄影测量的单向空间交会程序
相比VC虽然没有这么简洁,但是很有启发性(Using VB to do a photogrammetric procedure compared with one-way space rendezvous VC Although there is no such simple, but very instructive)
- 2009-11-23 21:47:25下载
- 积分:1
-
Cabinethandleprogress
该程序是处理CAB文件的程序例子,它所适用的运行环境是Win9x/NT/2000/XP/,是经过编译和运行后证明有效地。(CAB file of the program procedures for dealing with an example, it applies to the operating environment is Win9x/NT/2000/XP /, is compiled and run proved effective.)
- 2010-12-14 13:06:32下载
- 积分:1
-
97663954paike
VB排课系统代码
能够手动加自动排课(VB Course Scheduling System code manually add Automatic Timetable)
- 2013-04-13 18:46:42下载
- 积分:1
-
change-the-private-members
类的私有成员是面向编译器的。对内存而言,一切都是公开的。代码即是使用指针去改变类的私有成员,来说明这个问题。(Private members of the class-oriented compiler. Memory is concerned, everything is open. Code is to use a pointer to change the private members of the class, to illustrate the problem.)
- 2014-01-10 22:55:11下载
- 积分:1
-
MyNewDataBase
在VC下访问和创建Access数据库的例子,很清楚的程序(in VC visited and the creation of the Access database examples, it is clear that the procedures)
- 2007-04-04 17:20:33下载
- 积分:1
-
eMule-VeryCD-src-080828
eMule-VeryCD-src-080828 P2P C++ 源码学习(eMule-VeryCD-src-080828 P2P C++ Source Code 源码学习)
- 2012-09-04 16:24:31下载
- 积分:1