论坛: 编程破解 标题: 一c++�}目求解 复制本贴地址    
作者: tolyen [tolyen]    论坛用户   登录
���}如下�s
You are a programmer working for RDCBank. You were asked by Mr Hasnul, your IT Director, to write a simple C++ program that can store information on the bank’s customers. For each customer, you need to store his/her name, identification card number, bank account number, account type (i.e. Savings, Current, and al-Wadiah) and the current balance in the account.

The program that you will build will be used by authorized bank employees to retrieve/display, edit and delete a customer’s information. Your program should also allow users to list the names of the customers for each account type.

In building the program, you were advised to use C++ file processing.
 
Hint: - You may have problems reading numbers (e.g. integers, doubles) from a file. You are advised to read a number as a character first, and then convert the character into the appropriate number type.
各位前��可否指�c一二�o�x�x。

地主 发表时间: 05-05-10 11:11

回复: jhkdiy [jhkdiy]   版主   登录
    基本的程序设计要求都可以看懂,题目是要求用C++编写一个能存储银行顾客信息的程序,要求能存储每一个顾客的名字、信用卡号、银行账号、账号类型和当前帐户的余额。
    程序应该提供显示、编辑和删除一个顾客的信息、也能允许用户列出每一种帐户类型的客户表列。

解法:个人认为可以建立一个结构体,用来存贮顾客的信息。然后可以简单地建立一个链表。然后实现查询、删除链表一个元素的函数。也就是基于链表的操作。

B1层 发表时间: 05-05-10 19:34

回复: tolyen [tolyen]   论坛用户   登录
�x�x。

B2层 发表时间: 05-05-11 11:06

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号