文件名称:line_editing_system
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.45kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计并实现一个简单的行编辑系统。该系统提供5条编辑子命令:
open 文件名:将指定文件读入内存;
quit:将正在编辑的文件写回文件,退出编辑系统;
list n1 – n2:显示第n1到第n2行的内容;
del 行号,列号,字符数:从指定位置开始删除指定的字符数;
ins 行号,列号,字符串:在指定位置插入字符串。-Design and implement a simple line editing system. The system provides five sub-editing commands: open file name: The specified file is read into memory quit: to write back the file being edited file, exit the editing system list n1- n2: n1 to n2 Display the contents of the line del row number, column number, the number of characters: delete the specified position from the specified number of characters ins line number, column number, the string: insert string in the specified location.
open 文件名:将指定文件读入内存;
quit:将正在编辑的文件写回文件,退出编辑系统;
list n1 – n2:显示第n1到第n2行的内容;
del 行号,列号,字符数:从指定位置开始删除指定的字符数;
ins 行号,列号,字符串:在指定位置插入字符串。-Design and implement a simple line editing system. The system provides five sub-editing commands: open file name: The specified file is read into memory quit: to write back the file being edited file, exit the editing system list n1- n2: n1 to n2 Display the contents of the line del row number, column number, the number of characters: delete the specified position from the specified number of characters ins line number, column number, the string: insert string in the specified location.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
line_editing_system.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.