文件名称:zifuhefaxingjianyan
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 590kb
- 下载次数:
- 0次
- 提 供 者:
- 合*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用面向对象编程中继承和多态的技术,去编写一个检查字符串是否合法的程序。供测试的字符串数据存储于文件data.txt中,要求程序要把含有错误字符串的行打印出来。
注:
测试文件共8组数据,每组数据依次为姓名、年龄和籍贯。姓名和籍贯用拼音串(英文字母)描述,年龄介于1~100(包括1和100)。
-The use of object-oriented programming inheritance and polymorphism of technology, to write a procedure for checking the legality of the string. For testing the string data is stored in the file data.txt, the ordering procedures necessary to the line containing the error string printed out. Note: The test file a total of eight sets of data, each data followed by the name, age and origin. Phonetic string with the name and origin (English letters) descr iption, between the ages of 1 to 100 (including 1 and 100).
注:
测试文件共8组数据,每组数据依次为姓名、年龄和籍贯。姓名和籍贯用拼音串(英文字母)描述,年龄介于1~100(包括1和100)。
-The use of object-oriented programming inheritance and polymorphism of technology, to write a procedure for checking the legality of the string. For testing the string data is stored in the file data.txt, the ordering procedures necessary to the line containing the error string printed out. Note: The test file a total of eight sets of data, each data followed by the name, age and origin. Phonetic string with the name and origin (English letters) descr iption, between the ages of 1 to 100 (including 1 and 100).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
字符合法性转换\Debug\vc60.pdb
..............\.....\ttt.exe
..............\.....\ttt.pdb
..............\.....\data.txt
..............\.....\vc60.idb
..............\.....\ttt.obj
..............\.....\ttt.ilk
..............\ttt.plg
..............\ttt.ncb
..............\data.txt
..............\ttt.cpp
..............\ttt.dsw
..............\ttt.h
..............\ttt.opt
..............\ttt.dsp
..............\Debug
字符合法性转换
..............\.....\ttt.exe
..............\.....\ttt.pdb
..............\.....\data.txt
..............\.....\vc60.idb
..............\.....\ttt.obj
..............\.....\ttt.ilk
..............\ttt.plg
..............\ttt.ncb
..............\data.txt
..............\ttt.cpp
..............\ttt.dsw
..............\ttt.h
..............\ttt.opt
..............\ttt.dsp
..............\Debug
字符合法性转换