文件名称:read-txt
-
所属分类:
- 标签属性:
- 上传时间:2014-12-13
-
文件大小:1.98kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一、实现通讯录类(姓名、性别和电话号码),并为每个属性设置 set和get方法;
二、从通讯录的文本文件“record.txt”中读取数据放到通讯录类实例化的对象中,并合理组织存储结果方便查找。其文件样例如下,文件第一行为通讯录中人员的个数n,从第二行到第n+1行是n个通讯录; 每个通讯录占1行,每行依次为人员姓名、性别和电话号码,每个属性间以空格隔开。
-First, realize contacts class (name, gender, and phone number), and set the set and get methods for each attribute two, to read the data into address book contacts class to instantiate a text file " record.txt" in The object and store the results easy to find rational organization. Its sample files below, the first acts of the address book file personnel number n, the second line to the first line is the n n+1 contacts each address book accounts for 1 lines, each followed by a person' s name, gender and telephone number, separated by a space between each property.
二、从通讯录的文本文件“record.txt”中读取数据放到通讯录类实例化的对象中,并合理组织存储结果方便查找。其文件样例如下,文件第一行为通讯录中人员的个数n,从第二行到第n+1行是n个通讯录; 每个通讯录占1行,每行依次为人员姓名、性别和电话号码,每个属性间以空格隔开。
-First, realize contacts class (name, gender, and phone number), and set the set and get methods for each attribute two, to read the data into address book contacts class to instantiate a text file " record.txt" in The object and store the results easy to find rational organization. Its sample files below, the first acts of the address book file personnel number n, the second line to the first line is the n n+1 contacts each address book accounts for 1 lines, each followed by a person' s name, gender and telephone number, separated by a space between each property.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文本文档 (2).txt
新建文本文档.txt
读取某个学生的信息.txt
从文本读取的方法.txt
新建文本文档.txt
读取某个学生的信息.txt
从文本读取的方法.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.